Skip to content

Commit

Permalink
Update the already-tested Jenkinsfile
Browse files Browse the repository at this point in the history
  • Loading branch information
merks committed Jun 7, 2023
1 parent 7190a75 commit 93e8806
Showing 1 changed file with 5 additions and 6 deletions.
11 changes: 5 additions & 6 deletions Jenkinsfile
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
pipeline {
options {
timeout(time: 100, unit: 'MINUTES')
timeout(time: 120, unit: 'MINUTES')
buildDiscarder(logRotator(numToKeepStr:'10'))
disableConcurrentBuilds(abortPrevious: true)
}
Expand All @@ -15,7 +15,7 @@ pipeline {
}

environment {
CHECKOUT = 'true'
CHECKOUT = 'false'
CLONE_URL = 'https://github.com/eclipse-birt/birt'
CLONE_BRANCH = 'master'
}
Expand All @@ -32,7 +32,7 @@ pipeline {

booleanParam(
name: 'PROMOTE',
defaultValue: false,
defaultValue: true,
description: 'Whether to promote the build to the download server.'
)
}
Expand Down Expand Up @@ -105,8 +105,7 @@ pipeline {

post {
always {
archiveArtifacts artifacts: '**/target/repository/**/*,**/target/*.zip,**/target/work/data/.metadata/.log'
junit '**/target/surefire-reports/TEST-*.xml'
junit testResults: '**/target/surefire-reports/TEST-*.xml', allowEmptyResults: true
}
}
}
Expand All @@ -127,7 +126,7 @@ def void mvn() {
-Dbuild.type=$BUILD_TYPE \
-Dgit.commit=$GIT_COMMIT \
-Dorg.eclipse.storage.user=genie.birt \
-Dorg.eclipse.justj.p2.manager.relative=updates-tmp
-Dorg.eclipse.justj.p2.manager.relative=updates
'''
}
}

0 comments on commit 93e8806

Please sign in to comment.