You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@community.apache.org by se...@apache.org on 2023/04/24 14:54:40 UTC
[comdev-site] branch main updated: Don't try to stage main
This is an automated email from the ASF dual-hosted git repository.
sebb pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/comdev-site.git
The following commit(s) were added to refs/heads/main by this push:
new 4c9e63f Don't try to stage main
4c9e63f is described below
commit 4c9e63f8a251afd89659b1811d0dc53c29e9b3c5
Author: sebbASF <se...@users.noreply.github.com>
AuthorDate: Mon Apr 24 15:54:36 2023 +0100
Don't try to stage main
---
Jenkinsfile | 9 +++++++--
1 file changed, 7 insertions(+), 2 deletions(-)
diff --git a/Jenkinsfile b/Jenkinsfile
index b534c1c..9f52128 100644
--- a/Jenkinsfile
+++ b/Jenkinsfile
@@ -117,8 +117,13 @@ pipeline {
// Exclude branches ending in '-staging'
// This agrees with the definition of STAGING_BRANCH
when {
- not {
- branch '**/*-staging'
+ allOf {
+ not {
+ branch '**/*-staging'
+ }
+ not {
+ branch 'main'
+ }
}
}
steps {