Jenkins 'Cassandra' label applied to the declarative pipeline

patch by Mick Semb Wever; reviewed by David Capwell for CASSANDRA-15668
This commit is contained in:
Mick Semb Wever 2020-03-27 13:26:42 +01:00
parent 1f72cc6197
commit 3940a9ec29
No known key found for this signature in database
GPG Key ID: E91335D77E3E87CB
1 changed files with 4 additions and 4 deletions

View File

@ -24,7 +24,7 @@
// `curl -X POST -F "jenkinsfile=<.jenkins/Jenkinsfile" https://builds.apache.org/pipeline-model-converter/validate`
pipeline {
agent any
agent { label 'cassandra' }
stages {
stage('Init') {
steps {
@ -41,21 +41,21 @@ pipeline {
stage('JVM DTests') {
steps {
warnError('Tests unstable') {
build job: "${env.JOB_NAME}-test-jvm-dtest-forking"
build job: "${env.JOB_NAME}-jvm-dtest"
}
}
post {
success {
warnError('missing test xml files') {
script {
copyTestResults('test-jvm-dtest-forking')
copyTestResults('jvm-dtest')
}
}
}
unstable {
warnError('missing test xml files') {
script {
copyTestResults('test-jvm-dtest-forking')
copyTestResults('jvm-dtest')
}
}
}