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/03/28 15:05:58 UTC

[trafficserver-ci] branch main updated: more permissions changes

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 977ed9c  more permissions changes
     new f045ad9  Merge pull request #92 from traeak/cache-tests-workspace
977ed9c is described below

commit 977ed9c14ff34866ceff054b29c8004b568e582e
Author: Brian Olsen <bn...@gmail.com>
AuthorDate: Mon Mar 28 15:00:13 2022 +0000

    more permissions changes
---
 jenkins/branch/cache-tests.pipeline | 7 +++++--
 1 file changed, 5 insertions(+), 2 deletions(-)

diff --git a/jenkins/branch/cache-tests.pipeline b/jenkins/branch/cache-tests.pipeline
index 2e06687..671acf3 100644
--- a/jenkins/branch/cache-tests.pipeline
+++ b/jenkins/branch/cache-tests.pipeline
@@ -12,8 +12,7 @@ pipeline {
 				docker {
 					registryUrl 'https://controller.trafficserver.org/'
 					image 'controller.trafficserver.org/ats/cache-tests'
-					//args '--user root --init --cap-add=SYS_PTRACE --network=host -v ${HOME}/ccache:/tmp/ccache:rw'
-					args '--init --cap-add=SYS_PTRACE --network=host -v ${HOME}/ccache:/tmp/ccache:rw'
+					args '--user root --init --cap-add=SYS_PTRACE --network=host -v ${HOME}/ccache:/tmp/ccache:rw'
 					label 'branch'
 				}
 			}
@@ -85,6 +84,9 @@ pipeline {
 			}
 			post {
 				always {
+					sh '''
+					chown -R 1200:1200 ${WORKSPACE}/src
+					'''
 					cleanWs()
 				}
 			}
@@ -104,6 +106,7 @@ pipeline {
 			}
 			post {
 				always {
+					
 					cleanWs()
 				}
 			}