summaryrefslogtreecommitdiffstats
path: root/job-cfg
diff options
context:
space:
mode:
authorHolger Levsen <holger@layer-acht.org>2014-04-27 21:04:36 +0200
committerHolger Levsen <holger@layer-acht.org>2014-04-27 21:04:36 +0200
commitd39fe92a7c8b67aeb10c724090269f1b5237c76e (patch)
treec4412d7f8a909d408978bc2e51c8cc1d62010d77 /job-cfg
parentd1c2ca4e71d3a72867dc1ac3bba579beead624a5 (diff)
downloadjenkins.debian.net-d39fe92a7c8b67aeb10c724090269f1b5237c76e.tar.xz
fixup job shells too (see previous commit) and thus switch to --directory...
Diffstat (limited to 'job-cfg')
-rw-r--r--job-cfg/schroot.yaml6
1 files changed, 3 insertions, 3 deletions
diff --git a/job-cfg/schroot.yaml b/job-cfg/schroot.yaml
index 557dd575..6d92d1f6 100644
--- a/job-cfg/schroot.yaml
+++ b/job-cfg/schroot.yaml
@@ -56,9 +56,9 @@
description: 'Upgrade {my_schroot} schroot.<br>{do_not_edit}'
block-downstream: yes
builders:
- - shell: 'schroot -u root -c source:jenkins-{my_schroot} -- apt-get update'
- - shell: 'schroot -u root -c source:jenkins-{my_schroot} -- apt-get -y -u dist-upgrade'
- - shell: 'schroot -u root -c source:jenkins-{my_schroot} -- apt-get --purge autoremove'
+ - shell: 'schroot --directory /root -u root -c source:jenkins-{my_schroot} -- apt-get update'
+ - shell: 'schroot --directory /root -u root -c source:jenkins-{my_schroot} -- apt-get -y -u dist-upgrade'
+ - shell: 'schroot --directory /root -u root -c source:jenkins-{my_schroot} -- apt-get --purge autoremove'
- job-template:
defaults: schroot-create