diff --git a/.jenkins/Jenkinsfile b/.jenkins/Jenkinsfile index ab0280db0b..3b75ee2781 100644 --- a/.jenkins/Jenkinsfile +++ b/.jenkins/Jenkinsfile @@ -20,9 +20,11 @@ // Jenkins infrastructure related settings should be kept in // https://github.com/apache/cassandra-builds/blob/master/jenkins-dsl/cassandra_job_dsl_seed.groovy // +// Validate/lint this file using the following command +// `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 { @@ -85,21 +87,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') } } }