This is an automated email from the ASF dual-hosted git repository.
mck pushed a commit to branch trunk
in repository https://gitbox.apache.org/repos/asf/cassandra-builds.git
The following commit(s) were added to refs/heads/trunk by this push:
new 694fdc4 Replace the deprecated postBuildScript with
matrixPostBuildScript (in 'BOTH' mode)
694fdc4 is described below
commit 694fdc4b7f6129ac6c7c3e29aed4950b96357811
Author: Mick Semb Wever <[email protected]>
AuthorDate: Sun May 29 19:39:35 2022 +0200
Replace the deprecated postBuildScript with matrixPostBuildScript (in
'BOTH' mode)
patch by Mick Semb Wever; reviewed by Berenguer Blasi
---
jenkins-dsl/cassandra_job_dsl_seed.groovy | 24 ++++++++++++++++--------
1 file changed, 16 insertions(+), 8 deletions(-)
diff --git a/jenkins-dsl/cassandra_job_dsl_seed.groovy
b/jenkins-dsl/cassandra_job_dsl_seed.groovy
index eb3a599..079f438 100644
--- a/jenkins-dsl/cassandra_job_dsl_seed.groovy
+++ b/jenkins-dsl/cassandra_job_dsl_seed.groovy
@@ -409,10 +409,11 @@ cassandraBranches.each {
}
failOnError(false)
}
- postBuildScript {
+ matrixPostBuildScript {
buildSteps {
markBuildUnstable(false)
postBuildStep {
+ executeOn('BOTH')
stopOnFailure(false)
results(['SUCCESS','UNSTABLE','FAILURE','NOT_BUILT','ABORTED'])
buildSteps {
@@ -514,10 +515,11 @@ cassandraBranches.each {
}
failOnError(false)
}
- postBuildScript {
+ matrixPostBuildScript {
buildSteps {
markBuildUnstable(false)
postBuildStep {
+ executeOn('BOTH')
stopOnFailure(false)
results(['SUCCESS','UNSTABLE','FAILURE','NOT_BUILT','ABORTED'])
buildSteps {
@@ -617,10 +619,11 @@ cassandraBranches.each {
publishTestStabilityData()
}
}
- postBuildScript {
+ matrixPostBuildScript {
buildSteps {
markBuildUnstable(false)
postBuildStep {
+ executeOn('BOTH')
stopOnFailure(false)
results(['SUCCESS','UNSTABLE','FAILURE','NOT_BUILT','ABORTED'])
buildSteps {
@@ -691,10 +694,11 @@ cassandraBranches.each {
xz console.log
""")
}
- postBuildScript {
+ matrixPostBuildScript {
buildSteps {
markBuildUnstable(false)
postBuildStep {
+ executeOn('BOTH')
stopOnFailure(false)
results(['SUCCESS','UNSTABLE','FAILURE','NOT_BUILT','ABORTED'])
buildSteps {
@@ -857,11 +861,12 @@ matrixJob('Cassandra-devbranch-artifacts') {
}
failOnError(false)
}
- postBuildScript {
+ matrixPostBuildScript {
buildSteps {
markBuildUnstable(false)
postBuildStep {
stopOnFailure(false)
+ executeOn('BOTH')
results(['SUCCESS','UNSTABLE','FAILURE','NOT_BUILT','ABORTED'])
buildSteps {
shell {
@@ -987,10 +992,11 @@ testTargets.each {
archiveJunit('build/test/**/TEST-*.xml') {
allowEmptyResults()
}
- postBuildScript {
+ matrixPostBuildScript {
buildSteps {
markBuildUnstable(false)
postBuildStep {
+ executeOn('BOTH')
stopOnFailure(false)
results(['SUCCESS','UNSTABLE','FAILURE','NOT_BUILT','ABORTED'])
buildSteps {
@@ -1132,10 +1138,11 @@ archs.each {
fingerprint()
}
archiveJunit('nosetests.xml')
- postBuildScript {
+ matrixPostBuildScript {
buildSteps {
markBuildUnstable(false)
postBuildStep {
+ executeOn('BOTH')
stopOnFailure(false)
results(['SUCCESS','UNSTABLE','FAILURE','NOT_BUILT','ABORTED'])
buildSteps {
@@ -1254,10 +1261,11 @@ matrixJob('Cassandra-devbranch-cqlsh-tests') {
fingerprint()
}
archiveJunit('**/cqlshlib.xml')
- postBuildScript {
+ matrixPostBuildScript {
buildSteps {
markBuildUnstable(false)
postBuildStep {
+ executeOn('BOTH')
stopOnFailure(false)
results(['SUCCESS','UNSTABLE','FAILURE','NOT_BUILT','ABORTED'])
buildSteps {
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]