aboutsummaryrefslogtreecommitdiffstats
path: root/Jenkinsfile
diff options
context:
space:
mode:
authorMartin Stockhammer <martin_s@apache.org>2018-05-05 20:47:47 +0200
committerMartin Stockhammer <martin_s@apache.org>2018-05-05 20:47:47 +0200
commit40bb3fd7bea2828e63205e57c35bd5d90a32746e (patch)
tree99d35faa2704976ddcce15e74e988855508aa11e /Jenkinsfile
parentdc7468895fd8cf61cab7346dfd625ba7f008a519 (diff)
downloadarchiva-40bb3fd7bea2828e63205e57c35bd5d90a32746e.tar.gz
archiva-40bb3fd7bea2828e63205e57c35bd5d90a32746e.zip
Fixing report handling and trigger from master build
Diffstat (limited to 'Jenkinsfile')
-rw-r--r--Jenkinsfile9
1 files changed, 8 insertions, 1 deletions
diff --git a/Jenkinsfile b/Jenkinsfile
index 29cf71f45..e3ffc011b 100644
--- a/Jenkinsfile
+++ b/Jenkinsfile
@@ -31,6 +31,7 @@ LABEL = 'ubuntu'
buildJdk = 'JDK 1.8 (latest)'
buildMvn = 'Maven 3.5.2'
deploySettings = 'DefaultMavenSettingsProvider.1331204114925'
+INTEGRATION_PIPELINE = "Archiva-IntegrationTests-Gitbox"
pipeline {
agent {
@@ -54,7 +55,7 @@ pipeline {
}
}
- stage('Build') {
+ stage('BuildAndDeploy') {
steps {
timeout(120) {
withMaven(maven: buildMvn, jdk: buildJdk,
@@ -105,6 +106,12 @@ pipeline {
}
}
+
+ stage('IntegrationTest') {
+ steps {
+ build(job:"${INTEGRATION_PIPELINE}/archiva/${env.BRANCH_NAME}", propagate:false, quietPeriod:10)
+ }
+ }
post {
unstable {
notifyBuild("Unstable Build (${currentBuild.currentResult})")