You are viewing a plain text version of this content. The canonical link for it is here.
Posted to scm@geronimo.apache.org by jo...@apache.org on 2018/01/06 15:12:06 UTC

geronimo-safeguard git commit: Upgrading to Geronimo Config 1.1 for testing. Enabling pipeline to run both OWB and Weld.

Repository: geronimo-safeguard
Updated Branches:
  refs/heads/master 72ab688fb -> 48b1989ab


Upgrading to Geronimo Config 1.1 for testing.  Enabling pipeline to run both OWB and Weld.


Project: http://git-wip-us.apache.org/repos/asf/geronimo-safeguard/repo
Commit: http://git-wip-us.apache.org/repos/asf/geronimo-safeguard/commit/48b1989a
Tree: http://git-wip-us.apache.org/repos/asf/geronimo-safeguard/tree/48b1989a
Diff: http://git-wip-us.apache.org/repos/asf/geronimo-safeguard/diff/48b1989a

Branch: refs/heads/master
Commit: 48b1989abe472ca3a3b144a11a78939a9700ca2c
Parents: 72ab688
Author: John D. Ament <jo...@apache.org>
Authored: Sat Jan 6 10:11:56 2018 -0500
Committer: John D. Ament <jo...@apache.org>
Committed: Sat Jan 6 10:12:03 2018 -0500

----------------------------------------------------------------------
 Jenkinsfile | 48 ++++++++++++++++++++++++++++++++++++++++++++++++
 pom.xml     |  5 +++--
 2 files changed, 51 insertions(+), 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/geronimo-safeguard/blob/48b1989a/Jenkinsfile
----------------------------------------------------------------------
diff --git a/Jenkinsfile b/Jenkinsfile
new file mode 100644
index 0000000..a3f9e9d
--- /dev/null
+++ b/Jenkinsfile
@@ -0,0 +1,48 @@
+pipeline {
+    agent 'ubuntu'
+
+    stages {
+        stage('Build') {
+            steps {
+                sh 'mvn -B -DskipTests clean package -POWB2'
+            }
+        }
+        stage('Test'){
+            steps {
+                sh 'mvn -B verify -POWB2'
+                junit 'reports/**/*.xml'
+            }
+        }
+        stage('Test - Weld') {
+            steps {
+                sh 'mvn -B verify -PWeld3'
+                junit 'reports/**/*.xml'
+            }
+        }
+        stage('Deploy') {
+            when {
+              expression {
+                currentBuild.result == null || currentBuild.result == 'SUCCESS'
+              }
+            }
+            steps {
+                sh 'mvn -B source:jar deploy'
+            }
+        }
+    }
+    post {
+        always {
+            deleteDir()
+        }
+        unstable {
+            mail to: 'scm@geronimo.apache.org',
+                         subject: "Unstable Pipeline: ${currentBuild.fullDisplayName}",
+                         body: "Build failure: ${env.BUILD_URL}"
+        }
+        failure {
+            mail to: 'scm@geronimo.apache.org',
+                         subject: "Failed Pipeline: ${currentBuild.fullDisplayName}",
+                         body: "Build failure: ${env.BUILD_URL}"
+        }
+    }
+}
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/geronimo-safeguard/blob/48b1989a/pom.xml
----------------------------------------------------------------------
diff --git a/pom.xml b/pom.xml
index 89be167..9801d66 100644
--- a/pom.xml
+++ b/pom.xml
@@ -59,8 +59,9 @@
         <arquillian-weld-embedded.version>2.0.0.Final</arquillian-weld-embedded.version>
         <cdi2-api.version>2.0</cdi2-api.version>
         <weld.version>3.0.1.Final</weld.version>
-        <geronimo-config-impl.version>1.1-SNAPSHOT</geronimo-config-impl.version>
+        <geronimo-config-impl.version>1.1</geronimo-config-impl.version>
         <microprofile-config-api.version>1.2</microprofile-config-api.version>
+        <failsafe.version>1.0.4</failsafe.version>
     </properties>
 
     <dependencyManagement>
@@ -73,7 +74,7 @@
             <dependency>
                 <groupId>net.jodah</groupId>
                 <artifactId>failsafe</artifactId>
-                <version>1.0.4</version>
+                <version>${failsafe.version}</version>
             </dependency>
             <dependency>
                 <groupId>org.apache.geronimo.specs</groupId>