summaryrefslogtreecommitdiff
path: root/jenkinstool
diff options
context:
space:
mode:
authorLars Wirzenius <liw@liw.fi>2012-08-21 09:25:14 +0100
committerLars Wirzenius <liw@liw.fi>2012-08-21 09:25:14 +0100
commit3649459015cf3ad30c16eeebd43da43eac0ad408 (patch)
tree3b590dbb4b86b661b47b0eae6befcf07f4db1514 /jenkinstool
parent3695dfa3b348417cbd5e3249c7a3997de869dd11 (diff)
downloadjenkinstool-3649459015cf3ad30c16eeebd43da43eac0ad408.tar.gz
Upgrade build environment before build job
The build job runs build time tests, which may require up-to-date dependencies.
Diffstat (limited to 'jenkinstool')
-rwxr-xr-xjenkinstool2
1 files changed, 1 insertions, 1 deletions
diff --git a/jenkinstool b/jenkinstool
index 5ece299..1a16f17 100755
--- a/jenkinstool
+++ b/jenkinstool
@@ -257,6 +257,7 @@ fi
jobs.append(self.vcs_watch_job(localhost, project))
for host in config['hosts']:
+ jobs.append(self.apt_upgrade_job(host, project))
jobs.append(self.build_job(host, project))
jobs.append(self.tarball_job(localhost, project))
@@ -273,7 +274,6 @@ fi
for host in config['hosts']:
build_all = host['debian-dist'] not in build_all_dists
build_all_dists.add(host['debian-dist'])
- jobs.append(self.apt_upgrade_job(host, project))
jobs.append(self.deb_job(host, project, build_all))
jobs.append(self.process_incoming_job(
config, localhost, project, 'deb_%s' % host['name']))