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 2021/04/12 15:33:20 UTC

[trafficserver-ci] branch main updated: Update centos.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 9ed9c2b  Update centos.pipeline
9ed9c2b is described below

commit 9ed9c2b9da063b2d52503f849aff9da9c0a3baf0
Author: Evan Zelkowitz <ez...@apache.org>
AuthorDate: Mon Apr 12 09:33:14 2021 -0600

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

diff --git a/jenkins/github/centos.pipeline b/jenkins/github/centos.pipeline
index 92dfab0..a769cc3 100644
--- a/jenkins/github/centos.pipeline
+++ b/jenkins/github/centos.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,11 +23,13 @@ pipeline {
             steps {
                 echo 'Starting build'
                 dir('src') {
-                    sh('head -1 README')
                     sh('source /opt/rh/gcc-toolset-9/enable')
                     sh('autoreconf -fiv')
-                    sh('./configure --enable-experimental-plugins')
-                    sh('make -j3')
+                    sh('./configure --enable-experimental-plugins --enable-example-plugins --prefix=/tmp/ats/ --with-user=jenkins --enable-werror --enable-debug --enable-luajit')
+                    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')
                 }
             }
         }