You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@trafficserver.apache.org by ez...@apache.org on 2022/06/30 18:38:21 UTC

[trafficserver-ci] branch main updated: Update toplevel.pipeline

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

eze pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/trafficserver-ci.git


The following commit(s) were added to refs/heads/main by this push:
     new f06e7f5  Update toplevel.pipeline
f06e7f5 is described below

commit f06e7f50efef328c45ded80b0c9842f07da103c4
Author: Evan Zelkowitz <ez...@apache.org>
AuthorDate: Thu Jun 30 12:38:17 2022 -0600

    Update toplevel.pipeline
    
    Add OSX build to GH builds
---
 jenkins/github/toplevel.pipeline | 17 +++++++++++++++++
 1 file changed, 17 insertions(+)

diff --git a/jenkins/github/toplevel.pipeline b/jenkins/github/toplevel.pipeline
index 5d4952d..c0660f3 100644
--- a/jenkins/github/toplevel.pipeline
+++ b/jenkins/github/toplevel.pipeline
@@ -152,6 +152,23 @@ pipeline {
                         }
                     }
                 }
+                
+                stage('OSX Build') {
+                    when {
+                        anyOf {
+                            environment name: 'GITHUB_PR_COMMENT_BODY_MATCH', value: ''
+                            expression { GITHUB_PR_COMMENT_BODY_MATCH ==~ /.*osx.*/ }
+                        }
+                    }                    
+                    steps {
+                        script {
+                            result = buildJob('OSX', 'Github_Builds/osx')
+                            if (result == 'FAILURE') {
+                                error('OSX build failed')
+                            }
+                        }
+                    }
+                }
 
                 //stage('FreeBSD Build') {
                 //    when {