summaryrefslogtreecommitdiffstats
path: root/jjb/samplevnf
diff options
context:
space:
mode:
authorTrevor Bramwell <tbramwell@linuxfoundation.org>2021-05-12 15:15:45 -0700
committerTrevor Bramwell <tbramwell@linuxfoundation.org>2021-05-12 15:15:45 -0700
commit02a3ac5d0e1c3ebbea898b6749515dbeffc582ea (patch)
tree98844ae8c3491ab3967af0daa58ba090cd376bf3 /jjb/samplevnf
parent454c86e007b731d3d5577e7a91076be651ac1b8f (diff)
Add Workspace Permission Fix Wrapper for SampleVNF
This adds a pre-scm-checkout script to ensure all workspace files are owned by Jenkins before trying to wipe them away. The 'ssh-agent-wrapper' is included as it is the default wrapper for all jobs. Change-Id: I31356680e70a3adf6f1518838185740cfe7a60a6 Signed-off-by: Trevor Bramwell <tbramwell@linuxfoundation.org>
Diffstat (limited to 'jjb/samplevnf')
-rw-r--r--jjb/samplevnf/samplevnf.yaml8
1 files changed, 8 insertions, 0 deletions
diff --git a/jjb/samplevnf/samplevnf.yaml b/jjb/samplevnf/samplevnf.yaml
index 285680532..954901745 100644
--- a/jjb/samplevnf/samplevnf.yaml
+++ b/jjb/samplevnf/samplevnf.yaml
@@ -25,6 +25,10 @@
disabled: '{obj:disabled}'
+ wrappers:
+ - ssh-agent-wrapper
+ - fix-workspace-permissions
+
parameters:
- project-parameter:
project: '{project}'
@@ -62,6 +66,10 @@
disabled: '{obj:disabled}'
+ wrappers:
+ - ssh-agent-wrapper
+ - fix-workspace-permissions
+
parameters:
- project-parameter:
project: '{project}'