summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTrevor Bramwell <tbramwell@linuxfoundation.org>2020-10-07 12:51:27 -0700
committerTrevor Bramwell <tbramwell@linuxfoundation.org>2020-10-07 12:51:27 -0700
commit0837527fbcc32862bbdd22fc1b02f7848da3021f (patch)
tree4ffac37e31ddc54dbdac006f9c5ca1fd66f54862
parent89c4897f10665d341bf305b3d4cd31fbaa2dbe52 (diff)
Use a local cache for JJB jobs
This should prevent the error: Traceback (most recent call last): File "/tmp/tmp.5aGg6za4Iw/bin/jenkins-jobs", line 8, in <module> sys.exit(main()) File "/tmp/tmp.5aGg6za4Iw/lib/python3.5/site-packages/jenkins_jobs/cli/entry.py", line 165, in main jjb.execute() File "/tmp/tmp.5aGg6za4Iw/lib/python3.5/site-packages/jenkins_jobs/cli/entry.py", line 146, in execute ext.obj.execute(self.options, self.jjb_config) File "/tmp/tmp.5aGg6za4Iw/lib/python3.5/site-packages/jenkins_jobs/cli/subcommand/test.py", line 55, in execute options, jjb_config) File "/tmp/tmp.5aGg6za4Iw/lib/python3.5/site-packages/jenkins_jobs/cli/subcommand/update.py", line 97, in _generate_xmljobs builder = JenkinsManager(jjb_config) File "/tmp/tmp.5aGg6za4Iw/lib/python3.5/site-packages/jenkins_jobs/builder.py", line 60, in __init__ flush=jjb_config.builder['flush_cache']) File "/tmp/tmp.5aGg6za4Iw/lib/python3.5/site-packages/jenkins_jobs/cache.py", line 54, in __init__ "Unable to lock cache for '%s'" % jenkins_url) Change-Id: Ia027d64aec0caf582893009e709f938531bea15d Signed-off-by: Trevor Bramwell <tbramwell@linuxfoundation.org>
-rw-r--r--jjb/releng/releng-jobs.yaml (renamed from jjb/releng/releng-rtd-jobs.yaml)1
1 files changed, 1 insertions, 0 deletions
diff --git a/jjb/releng/releng-rtd-jobs.yaml b/jjb/releng/releng-jobs.yaml
index f7c960335..4a39333d4 100644
--- a/jjb/releng/releng-rtd-jobs.yaml
+++ b/jjb/releng/releng-jobs.yaml
@@ -4,6 +4,7 @@
project: 'releng'
project-name: 'releng'
jjb-version: '2.5.0'
+ jjb-cache: "$WORKSPACE/.cache/jenkins_jobs"
build-timeout: 60