Restore deleted chown option.
Change-Id: Iec8c3adb731c42a58724fea802781e68145dcd6e
diff --git a/jobs.yaml b/jobs.yaml
index f062ad1..4f4a7bb 100644
--- a/jobs.yaml
+++ b/jobs.yaml
@@ -56,7 +56,7 @@
triggers:
- timed: "@midnight"
builders:
- - shell: stdbuf -oL -eL mispipe "sudo ~mininet/mininet/util/vm/build.py -v --branch {branch} --test sanity {flavor}" "tr '\r' ' '"
+ - shell: stdbuf -oL -eL mispipe "sudo ~mininet/mininet/util/vm/build.py -v --branch {branch} --test sanity {flavor} --chown `whoami`" "tr '\r' ' '"
- shell: zip `basename -s .ovf */*.ovf`.zip */*.vmdk */*.ovf
- shell: sudo chown -R jenkins `dirname */build.log`
publishers:
@@ -80,7 +80,7 @@
description: "$dir defaults to last build when using Build Now."
builders:
- shell: "echo $dir"
- - shell: stdbuf -oL -eL mispipe "sudo ~mininet/mininet/util/vm/build.py -v --test core --test examplesfull --test walkthrough --image $dir/*/*.vmdk --memory 2048 --timeout 3600" "tr '\r' ' '"
+ - shell: stdbuf -oL -eL mispipe "sudo ~mininet/mininet/util/vm/build.py -v --test core --test examplesfull --test walkthrough --image $dir/*/*.vmdk --memory 2048 --timeout 3600 --chown `whoami`" "tr '\r' ' '"
publishers:
- logparser:
parse-rules: "/home/mininet/vm-build/mininet-test.rules"