Skip to content

Commit

Permalink
enable oshdb examples trigger
Browse files Browse the repository at this point in the history
  • Loading branch information
joker234 committed Oct 31, 2023
1 parent 507bc7d commit adb1b52
Showing 1 changed file with 8 additions and 4 deletions.
12 changes: 8 additions & 4 deletions Jenkinsfile
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,9 @@ pipeline {
steps {
// START CUSTOM oshdb
deploy_snapshot('clean compile javadoc:jar source:jar deploy -P sign,git,withDep')
script {
SNAPSHOT_DEPLOY = true
}
// END CUSTOM oshdb
}
post {
Expand All @@ -71,6 +74,9 @@ pipeline {
steps {
// START CUSTOM oshdb
deploy_release('clean compile javadoc:jar source:jar deploy -P sign,git,withDep')
script {
RELEASE_DEPLOY = true
}
// END CUSTOM oshdb

deploy_release_central('clean compile javadoc:jar source:jar deploy -P sign,git,deploy-central')
Expand Down Expand Up @@ -110,11 +116,9 @@ pipeline {
steps {
script {
if (RELEASE_DEPLOY == true) {
echo "Warning: Currently not implemented"
// build job: 'oshdb-examples/oshdb-stable', quietPeriod: 360, wait: false
build job: 'oshdb examples/oshdb-stable', quietPeriod: 360, wait: false
} else {
echo "Warning: Currently not implemented"
// build job: 'oshdb-examples/oshdb-snapshot', quietPeriod: 360, wait: false
build job: 'oshdb examples/oshdb-snapshot', quietPeriod: 360, wait: false
}
}
}
Expand Down

0 comments on commit adb1b52

Please sign in to comment.