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 51667e2  add cleanWs, try to run as non root again
     new dc0a63c  Merge pull request #91 from traeak/cache-tests-cleanup
51667e2 is described below

commit 51667e2432ecfbda053b5f70239fdeb5e1ecceb8
Author: Brian Olsen <[email protected]>
AuthorDate: Mon Mar 28 14:29:37 2022 +0000

    add cleanWs, try to run as non root again
---
 jenkins/branch/cache-tests.pipeline | 9 +++++++--
 1 file changed, 7 insertions(+), 2 deletions(-)

diff --git a/jenkins/branch/cache-tests.pipeline 
b/jenkins/branch/cache-tests.pipeline
index a13b76c..2e06687 100644
--- a/jenkins/branch/cache-tests.pipeline
+++ b/jenkins/branch/cache-tests.pipeline
@@ -11,9 +11,9 @@ pipeline {
                        agent {
                                docker {
                                        registryUrl 
'https://controller.trafficserver.org/'
-                                       //image 
'controller.trafficserver.org/ats/debian:11'
                                        image 
'controller.trafficserver.org/ats/cache-tests'
-                                       args '--user root --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'
+                                       args '--init --cap-add=SYS_PTRACE 
--network=host -v ${HOME}/ccache:/tmp/ccache:rw'
                                        label 'branch'
                                }
                        }
@@ -83,6 +83,11 @@ pipeline {
                                        stash includes: '*.json', name: 
"results"
                                }
                        }
+                       post {
+                               always {
+                                       cleanWs()
+                               }
+                       }
                }
 
                stage('Publish') {

Reply via email to