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 f4207cd  Update rat.pipeline
f4207cd is described below

commit f4207cd2046183cb85eca81bf45ce606f1d4287d
Author: Evan Zelkowitz <[email protected]>
AuthorDate: Mon Apr 12 09:38:40 2021 -0600

    Update rat.pipeline
---
 jenkins/github/rat.pipeline | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/jenkins/github/rat.pipeline b/jenkins/github/rat.pipeline
index 9f3ed5a..d1342df 100644
--- a/jenkins/github/rat.pipeline
+++ b/jenkins/github/rat.pipeline
@@ -17,7 +17,6 @@ pipeline {
                         branches: [[name: sha1]],
                         extensions: [],
                         userRemoteConfigs: [[url: github_url, refspec: 
'+refs/pull/*:refs/remotes/origin/pr/*']]])
-                    sh 'head -1 README'
                 }
                 echo 'Finished Cloning'
             }
@@ -26,7 +25,6 @@ pipeline {
             steps {
                 echo 'Starting build'
                 dir('src') {
-                    // STILL NEED TO MAKE CLANG_FORMAT IMG, Include Pip for 
pep8
                     sh('head -1 README')
                     sh('autoreconf -if && ./configure')
                     sh('rm -f lib/ts/stamp-h1')
@@ -36,6 +34,7 @@ pipeline {
 
                     // Mark as failed if there are any unknown licesnes
                     sh('grep \'0 Unknown Licenses\' RAT.txt > /dev/null || 
exit -1')
+                    sh('exit 0')
                 }
             }
         }

Reply via email to