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/22 11:51:43 UTC

[comdev-site] 01/02: Docco

This is an automated email from the ASF dual-hosted git repository.

sebb pushed a commit to branch exclude-staging
in repository https://gitbox.apache.org/repos/asf/comdev-site.git

commit 5e9471b72307ff9af528a1629ed39c9eb9276a16
Author: Sebb <se...@apache.org>
AuthorDate: Sat Apr 22 12:25:24 2023 +0100

    Docco
---
 Jenkinsfile | 4 +---
 1 file changed, 1 insertion(+), 3 deletions(-)

diff --git a/Jenkinsfile b/Jenkinsfile
index 9a7cd9a..582128d 100644
--- a/Jenkinsfile
+++ b/Jenkinsfile
@@ -31,9 +31,6 @@ pipeline {
         PAGEFIND_HASH = '3e450176562b65359f855c04894ec2c07ffd30a8d08ef4d5812f8d3469d7a58f'
     }
 
-    // TODO should add a pipeline trigger that ignores branches having -staging in their
-    // name, not sure how to do that
-
     stages {
         stage('Prepare') {
             steps {
@@ -117,6 +114,7 @@ pipeline {
             when {
                 allOf {
                     // ignore branches named preview/*-staging to avoid infinite loop..
+                    // WARNING: do not allow '-' in preview source branch names or the loop will return...
                     expression { env.BRANCH_NAME ==~ /preview\/[a-zA-Z0-9_]+$/ }
                 }
             }