Upgrading to Geronimo Config 1.1 for testing. Enabling pipeline to run both OWB and Weld.
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
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>