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 d36c434  Update ubuntu.pipeline
d36c434 is described below

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

    Update ubuntu.pipeline
---
 jenkins/github/ubuntu.pipeline | 12 +++++-------
 1 file changed, 5 insertions(+), 7 deletions(-)

diff --git a/jenkins/github/ubuntu.pipeline b/jenkins/github/ubuntu.pipeline
index 8823bbc..74f6fd8 100644
--- a/jenkins/github/ubuntu.pipeline
+++ b/jenkins/github/ubuntu.pipeline
@@ -14,11 +14,7 @@ pipeline {
                     checkout([$class: 'GitSCM',
                         branches: [[name: sha1]],
                         extensions: [],
-                        
//+refs/pull/${GITHUB_PR_NUMBER}/merge:refs/remotes/origin-pull/pull/${GITHUB_PR_NUMBER}/merge
                         userRemoteConfigs: [[url: github_url, refspec: 
'+refs/pull/*:refs/remotes/origin/pr/*']]])
-                        //userRemoteConfigs: [[url: 
'https://github.com/ezelkow1/trafficserver', refspec: 
'+refs/pull/*:refs/remotes/origin/pr/*']]])
-                        //userRemoteConfigs: [[url: 
'https://github.com/ezelkow1/trafficserver', refspec: 
'+refs/pull/${sha1}/merge:refs/remotes/origin/pull/${sha1}/merge']]])
-                    sh 'head -1 README'
                 }
                 echo 'Finished Cloning'
             }
@@ -27,10 +23,12 @@ pipeline {
             steps {
                 echo 'Starting build'
                 dir('src') {
-                    sh('head -1 README')
                     sh('autoreconf -fiv')
-                    sh('./configure --enable-experimental-plugins')
-                    sh('make -j3')
+                    sh('CC="clang" CXX="clang++" ./configure 
--enable-experimental-plugins --enable-example-plugins --prefix=/tmp/ats/ 
--with-user=jenkins --enable-werror')
+                    sh('make -j4 V=1 Q=')
+                    sh('make -j 2 check VERBOSE=Y V=1')
+                    sh('make install')
+                    sh('/tmp/ats/bin/traffic_server -K -k -R 1')
                 }
             }
         }

Reply via email to