You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@trafficserver.apache.org by bn...@apache.org on 2022/09/06 16:22:41 UTC

[trafficserver-ci] branch main updated: remove performing HEAD on README

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

bnolsen 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 1d833e9  remove performing HEAD on README
     new 797500e  Merge pull request #113 from traeak/remove_readme
1d833e9 is described below

commit 1d833e939353e0d703c84e614c07a8cc9fa36d72
Author: Brian Olsen <bn...@gmail.com>
AuthorDate: Tue Sep 6 16:22:09 2022 +0000

    remove performing HEAD on README
---
 jenkins/branch/docs.pipeline    | 4 +---
 jenkins/branch/freebsd.pipeline | 7 +++----
 jenkins/branch/osx.pipeline     | 7 +++----
 3 files changed, 7 insertions(+), 11 deletions(-)

diff --git a/jenkins/branch/docs.pipeline b/jenkins/branch/docs.pipeline
index 14e7478..5d42207 100644
--- a/jenkins/branch/docs.pipeline
+++ b/jenkins/branch/docs.pipeline
@@ -54,10 +54,8 @@ pipeline {
 
 				echo 'Starting build'
 				dir('src') {
-					// For Jenkins debugging. We comit to the top of README in our debug PRs.
 					sh '''
-                                        set -x
-					head README
+					set -x
 					source ../ci/jenkins/bin/environment.sh
 					bash -x ../ci/jenkins/bin/docs.sh
 					'''
diff --git a/jenkins/branch/freebsd.pipeline b/jenkins/branch/freebsd.pipeline
index f2f943c..d45f84b 100644
--- a/jenkins/branch/freebsd.pipeline
+++ b/jenkins/branch/freebsd.pipeline
@@ -4,10 +4,10 @@ pipeline {
 		stage('Clone') {
 			steps {
 				dir('src') {
-				  script {
+					script {
 						String branch = env.SHA1
 						if (! branch) {
-					  	branch = '*/' + env.GITHUB_BRANCH
+							branch = '*/' + env.GITHUB_BRANCH
 						}
 
 						checkout([$class: 'GitSCM',
@@ -15,7 +15,7 @@ pipeline {
 							userRemoteConfigs: [[url: env.GITHUB_URL]],
 							extensions: [[$class: 'CloneOption', timeout: 10]],
 						])
-				  }
+					}
 				}
 				echo 'Finished Clone'
 			}
@@ -25,7 +25,6 @@ pipeline {
 				echo 'Starting build'
 				dir('src') {
 					sh '''
-						head -1 README
 						autoreconf -fiv
 						./configure --enable-experimental-plugins
 						gmake -j3
diff --git a/jenkins/branch/osx.pipeline b/jenkins/branch/osx.pipeline
index 11b269a..81ee19f 100644
--- a/jenkins/branch/osx.pipeline
+++ b/jenkins/branch/osx.pipeline
@@ -4,10 +4,10 @@ pipeline {
 		stage('Clone') {
 			steps {
 				dir('src') {
-				  script {
+					script {
 						String branch = env.SHA1
 						if (! branch) {
-					  	branch = '*/' + env.GITHUB_BRANCH
+							branch = '*/' + env.GITHUB_BRANCH
 						}
 
 						checkout([$class: 'GitSCM',
@@ -24,8 +24,7 @@ pipeline {
 			steps {
 				echo 'Starting build'
 				dir('src') {
-				  sh '''
-						head -1 README
+					sh '''
 						autoreconf -fiv
 						CC="clang" \
 							CXX="clang++" \