You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cxf.apache.org by de...@apache.org on 2020/07/30 19:14:01 UTC
[cxf] branch master updated: Jenkins: combine build & test for now
This is an automated email from the ASF dual-hosted git repository.
deki pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/cxf.git
The following commit(s) were added to refs/heads/master by this push:
new fbc83c5 Jenkins: combine build & test for now
fbc83c5 is described below
commit fbc83c5b702e24fc074c4a98e8aaee371e055996
Author: Dennis Kieselhorst <de...@apache.org>
AuthorDate: Thu Jul 30 21:11:15 2020 +0200
Jenkins: combine build & test for now
---
Jenkinsfile | 20 +++++---------------
1 file changed, 5 insertions(+), 15 deletions(-)
diff --git a/Jenkinsfile b/Jenkinsfile
index ea8c312..3197193 100644
--- a/Jenkinsfile
+++ b/Jenkinsfile
@@ -39,14 +39,9 @@ pipeline {
MAVEN_OPTS = "-Xmx1024m"
}
stages {
- stage('Build JDK 11') {
+ stage('Build & Test JDK 11') {
steps {
- sh 'mvn -B clean install -Dmaven.test.skip.exec=true'
- }
- }
- stage('Test JDK 11') {
- steps {
- sh 'mvn -B test'
+ sh 'mvn -B clean install'
// step([$class: 'JiraIssueUpdater', issueSelector: [$class: 'DefaultIssueSelector'], scm: scm])
}
post {
@@ -75,14 +70,9 @@ pipeline {
MAVEN_OPTS = "-Xmx1024m"
}
stages {
- stage('Build JDK 8') {
- steps {
- sh 'mvn -B clean install -Dmaven.test.skip.exec=true '
- }
- }
- stage('Test JDK 8') {
+ stage('Build & Test JDK 8') {
steps {
- sh 'mvn -B test'
+ sh 'mvn -B clean install'
// step([$class: 'JiraIssueUpdater', issueSelector: [$class: 'DefaultIssueSelector'], scm: scm])
}
post {
@@ -109,7 +99,7 @@ pipeline {
}
steps {
withCredentials([file(credentialsId: 'lukaszlenart-repository-access-token', variable: 'CUSTOM_SETTINGS')]) {
- sh 'mvn -s \${CUSTOM_SETTINGS} deploy -skipAssembly'
+ sh 'mvn -U -B -e clean install -Pdeploy,everything,nochecks -Dmaven.test.skip.exec=true -V -DobrRepository=NONE'
}
}
}