You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@mina.apache.org by el...@apache.org on 2024/09/11 11:03:46 UTC
(mina) branch bugfix/DIRMINA-1173 updated (0fc698a63 -> cf866788d)
This is an automated email from the ASF dual-hosted git repository.
elecharny pushed a change to branch bugfix/DIRMINA-1173
in repository https://gitbox.apache.org/repos/asf/mina.git
from 0fc698a63 Added a JenkinsFile
new 994a00b6a Deleted badly named Jenkinsfile
new cf866788d Renamed the Jenkinsfile
The 2 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails. The revisions
listed as "add" were already present in the repository and have only
been added to this reference.
Summary of changes:
JenkinsFile => Jenkinsfile | 0
1 file changed, 0 insertions(+), 0 deletions(-)
rename JenkinsFile => Jenkinsfile (100%)
(mina) 01/02: Deleted badly named Jenkinsfile
Posted by el...@apache.org.
This is an automated email from the ASF dual-hosted git repository.
elecharny pushed a commit to branch bugfix/DIRMINA-1173
in repository https://gitbox.apache.org/repos/asf/mina.git
commit 994a00b6a11038f76ab8cb81d8605eb5a70b494e
Author: emmanuel lecharny <el...@apache.org>
AuthorDate: Wed Sep 11 13:03:05 2024 +0200
Deleted badly named Jenkinsfile
---
JenkinsFile | 131 ------------------------------------------------------------
1 file changed, 131 deletions(-)
diff --git a/JenkinsFile b/JenkinsFile
deleted file mode 100644
index 5c54d6363..000000000
--- a/JenkinsFile
+++ /dev/null
@@ -1,131 +0,0 @@
-/*
- * Licensed to the Apache Software Foundation (ASF) under one
- * or more contributor license agreements. See the NOTICE file
- * distributed with this work for additional information
- * regarding copyright ownership. The ASF licenses this file
- * to you under the Apache License, Version 2.0 (the
- * "License"); you may not use this file except in compliance
- * with the License. You may obtain a copy of the License at
- *
- * https://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing,
- * software distributed under the License is distributed on an
- * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
- * KIND, either express or implied. See the License for the
- * specific language governing permissions and limitations
- * under the License.
- */
-pipeline {
- agent none
- options {
- buildDiscarder(logRotator(numToKeepStr: '10'))
- timeout(time: 8, unit: 'HOURS')
- }
- tools {
- maven 'maven_3_latest'
- jdk params.jdkVersion
- }
- options {
- // Configure an overall timeout for the build of ten hours.
- timeout(time: 20, unit: 'HOURS')
- // When we have test-fails e.g. we don't need to run the remaining steps
- buildDiscarder(logRotator(numToKeepStr: '5', artifactNumToKeepStr: '5'))
- disableConcurrentBuilds()
- }
- parameters {
- choice(name: 'nodeLabel', choices: ['ubuntu', 'arm', 'Windows'])
- choice(name: 'jdkVersion', choices: ['jdk_8_latest', 'jdk_11_latest', 'jdk_17_latest', 'jdk_21_latest', 'jdk_22_latest', 'jdk_8_latest_windows', 'jdk_11_latest_windows', 'jdk_17_latest_windows', 'jdk_21_latest_windows', 'jdk_22_latest_windows'])
- booleanParam(name: 'deployEnabled', defaultValue: false)
- booleanParam(name: 'sonarEnabled', defaultValue: false)
- booleanParam(name: 'testsEnabled', defaultValue: true)
- }
-
- triggers {
- cron('@weekly')
- pollSCM('@daily')
- }
- stages {
- stage('Initialization') {
- steps {
- echo "running on ${env.NODE_NAME}"
- echo 'Building branch ' + env.BRANCH_NAME
- echo 'Using PATH ' + env.PATH
- }
- }
-
- stage('Cleanup') {
- steps {
- echo 'Cleaning up the workspace'
- deleteDir()
- }
- }
-
- stage('Checkout') {
- steps {
- echo 'Checking out branch ' + env.BRANCH_NAME
- checkout scm
- }
- }
-
- stage('Build JDK 22') {
- tools {
- jdk "jdk_22_latest"
- }
- steps {
- echo 'Building JDK 22'
- sh 'java -version'
- sh 'mvn -version'
- sh 'mvn clean install -Pserial'
- }
- }
-
- stage('Build JDK 21') {
- tools {
- jdk "jdk_21_latest"
- }
- steps {
- echo 'Building JDK 21'
- sh 'java -version'
- sh 'mvn -version'
- sh 'mvn clean install -Pserial'
- }
- }
-
- stage('Build JDK 17') {
- tools {
- jdk "jdk_17"
- }
- steps {
- echo 'Building JDK 17'
- sh 'java -version'
- sh 'mvn -version'
- sh 'mvn clean install -Pserial'
- }
- }
-
- stage('Build JDK 11') {
- tools {
- jdk "jdk_11"
- }
- steps {
- echo 'Building JDK 11'
- sh 'java -version'
- sh 'mvn -version'
- sh 'mvn clean install -Pserial'
- }
- }
-
- stage('Build JDK 8') {
- tools {
- jdk "jdk_8"
- }
- steps {
- echo 'Building JDK 8'
- sh 'java -version'
- sh 'mvn -version'
- sh 'mvn clean install -Pserial'
- }
- }
- }
-}
(mina) 02/02: Renamed the Jenkinsfile
Posted by el...@apache.org.
This is an automated email from the ASF dual-hosted git repository.
elecharny pushed a commit to branch bugfix/DIRMINA-1173
in repository https://gitbox.apache.org/repos/asf/mina.git
commit cf866788d69802d5b545b1db6b3e73a47378baf1
Author: emmanuel lecharny <el...@apache.org>
AuthorDate: Wed Sep 11 13:03:37 2024 +0200
Renamed the Jenkinsfile
---
Jenkinsfile | 131 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
1 file changed, 131 insertions(+)
diff --git a/Jenkinsfile b/Jenkinsfile
new file mode 100644
index 000000000..5c54d6363
--- /dev/null
+++ b/Jenkinsfile
@@ -0,0 +1,131 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements. See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership. The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License. You may obtain a copy of the License at
+ *
+ * https://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing,
+ * software distributed under the License is distributed on an
+ * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ * KIND, either express or implied. See the License for the
+ * specific language governing permissions and limitations
+ * under the License.
+ */
+pipeline {
+ agent none
+ options {
+ buildDiscarder(logRotator(numToKeepStr: '10'))
+ timeout(time: 8, unit: 'HOURS')
+ }
+ tools {
+ maven 'maven_3_latest'
+ jdk params.jdkVersion
+ }
+ options {
+ // Configure an overall timeout for the build of ten hours.
+ timeout(time: 20, unit: 'HOURS')
+ // When we have test-fails e.g. we don't need to run the remaining steps
+ buildDiscarder(logRotator(numToKeepStr: '5', artifactNumToKeepStr: '5'))
+ disableConcurrentBuilds()
+ }
+ parameters {
+ choice(name: 'nodeLabel', choices: ['ubuntu', 'arm', 'Windows'])
+ choice(name: 'jdkVersion', choices: ['jdk_8_latest', 'jdk_11_latest', 'jdk_17_latest', 'jdk_21_latest', 'jdk_22_latest', 'jdk_8_latest_windows', 'jdk_11_latest_windows', 'jdk_17_latest_windows', 'jdk_21_latest_windows', 'jdk_22_latest_windows'])
+ booleanParam(name: 'deployEnabled', defaultValue: false)
+ booleanParam(name: 'sonarEnabled', defaultValue: false)
+ booleanParam(name: 'testsEnabled', defaultValue: true)
+ }
+
+ triggers {
+ cron('@weekly')
+ pollSCM('@daily')
+ }
+ stages {
+ stage('Initialization') {
+ steps {
+ echo "running on ${env.NODE_NAME}"
+ echo 'Building branch ' + env.BRANCH_NAME
+ echo 'Using PATH ' + env.PATH
+ }
+ }
+
+ stage('Cleanup') {
+ steps {
+ echo 'Cleaning up the workspace'
+ deleteDir()
+ }
+ }
+
+ stage('Checkout') {
+ steps {
+ echo 'Checking out branch ' + env.BRANCH_NAME
+ checkout scm
+ }
+ }
+
+ stage('Build JDK 22') {
+ tools {
+ jdk "jdk_22_latest"
+ }
+ steps {
+ echo 'Building JDK 22'
+ sh 'java -version'
+ sh 'mvn -version'
+ sh 'mvn clean install -Pserial'
+ }
+ }
+
+ stage('Build JDK 21') {
+ tools {
+ jdk "jdk_21_latest"
+ }
+ steps {
+ echo 'Building JDK 21'
+ sh 'java -version'
+ sh 'mvn -version'
+ sh 'mvn clean install -Pserial'
+ }
+ }
+
+ stage('Build JDK 17') {
+ tools {
+ jdk "jdk_17"
+ }
+ steps {
+ echo 'Building JDK 17'
+ sh 'java -version'
+ sh 'mvn -version'
+ sh 'mvn clean install -Pserial'
+ }
+ }
+
+ stage('Build JDK 11') {
+ tools {
+ jdk "jdk_11"
+ }
+ steps {
+ echo 'Building JDK 11'
+ sh 'java -version'
+ sh 'mvn -version'
+ sh 'mvn clean install -Pserial'
+ }
+ }
+
+ stage('Build JDK 8') {
+ tools {
+ jdk "jdk_8"
+ }
+ steps {
+ echo 'Building JDK 8'
+ sh 'java -version'
+ sh 'mvn -version'
+ sh 'mvn clean install -Pserial'
+ }
+ }
+ }
+}