You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@couchdb.apache.org by ko...@apache.org on 2022/01/15 19:51:12 UTC
[couchdb] branch jenkins-bump-erlang-and-debian-versions updated: Use beforeAgent to avoid blocking on non-existent agent
This is an automated email from the ASF dual-hosted git repository.
kocolosk pushed a commit to branch jenkins-bump-erlang-and-debian-versions
in repository https://gitbox.apache.org/repos/asf/couchdb.git
The following commit(s) were added to refs/heads/jenkins-bump-erlang-and-debian-versions by this push:
new d8ec48a Use beforeAgent to avoid blocking on non-existent agent
d8ec48a is described below
commit d8ec48aede4c6b3fe44c2b38a2c594ff660e63ae
Author: Adam Kocoloski <ko...@apache.org>
AuthorDate: Sat Jan 15 14:50:59 2022 -0500
Use beforeAgent to avoid blocking on non-existent agent
---
build-aux/Jenkinsfile.full | 10 ++++++----
1 file changed, 6 insertions(+), 4 deletions(-)
diff --git a/build-aux/Jenkinsfile.full b/build-aux/Jenkinsfile.full
index 92a7ab1..7a56312 100644
--- a/build-aux/Jenkinsfile.full
+++ b/build-aux/Jenkinsfile.full
@@ -195,9 +195,10 @@ pipeline {
stages {
stage('Non-containerized Platform') {
when {
+ beforeAgent true
anyOf {
- expression { env.platform == 'macos' }
- expression { env.platform == 'freebsd' }
+ environment name: 'platform', value: 'macos'
+ environment name: 'platform', value: 'freebsd'
}
}
@@ -242,10 +243,11 @@ pipeline {
stage('Containerized Platform') {
when {
+ beforeAgent true
not {
anyOf {
- expression { env.platform == 'macos' }
- expression { env.platform == 'freebsd' }
+ environment name: 'platform', value: 'macos'
+ environment name: 'platform', value: 'freebsd'
}
}
}