This is an automated email from the ASF dual-hosted git repository. mck pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/cassandra-builds.git
The following commit(s) were added to refs/heads/master by this push: new f8ccefe In Jenkins builds verify the devbranch parameters at the beginning of the build, and add the cassandra-test-report.txt as an artifact to make it easy to grab. f8ccefe is described below commit f8ccefea31a52a5d39862f452398aa34923d3162 Author: mck <m...@apache.org> AuthorDate: Wed May 20 08:36:22 2020 +0200 In Jenkins builds verify the devbranch parameters at the beginning of the build, and add the cassandra-test-report.txt as an artifact to make it easy to grab. --- jenkins-dsl/cassandra_pipeline.groovy | 17 ++++++++++++++--- 1 file changed, 14 insertions(+), 3 deletions(-) diff --git a/jenkins-dsl/cassandra_pipeline.groovy b/jenkins-dsl/cassandra_pipeline.groovy index c3102fb..15de1ce 100644 --- a/jenkins-dsl/cassandra_pipeline.groovy +++ b/jenkins-dsl/cassandra_pipeline.groovy @@ -3,9 +3,14 @@ pipeline { agent { label 'cassandra' } stages { stage('Init') { - steps { - cleanWs() - } + steps { + cleanWs() + sh "git clone -b ${BRANCH} https://github.com/${REPO}/cassandra.git" + sh "test -f cassandra/.jenkins/Jenkinsfile" + sh "git clone -b ${DTEST_BRANCH} ${DTEST_REPO}" + sh "test -f cassandra-dtest/requirements.txt" + sh "docker pull ${DOCKER_IMAGE}" + } } stage('Build') { steps { @@ -229,10 +234,16 @@ pipeline { } stage('Summary') { steps { + sh "rm -fR cassandra-builds" sh "git clone https://gitbox.apache.org/repos/asf/cassandra-builds.git" sh "./cassandra-builds/build-scripts/cassandra-test-report.sh" junit '**/build/test/**/TEST*.xml,**/cqlshlib.xml,**/nosetests.xml' } + post { + always { + archiveArtifacts artifacts: 'cassandra-test-report.txt', fingerprint: true + } + } } } } --------------------------------------------------------------------- To unsubscribe, e-mail: commits-unsubscr...@cassandra.apache.org For additional commands, e-mail: commits-h...@cassandra.apache.org