projects
/
services
/
jenkins-scripts.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1960bbe
)
Fix creating temp workspace since packaging dir is a relative path
author
Lingchaox Xin
<lingchaox.xin@intel.com>
Wed, 13 Nov 2013 07:00:02 +0000
(15:00 +0800)
committer
Lingchaox Xin
<lingchaox.xin@intel.com>
Wed, 13 Nov 2013 07:00:18 +0000
(15:00 +0800)
Change-Id: I362547d80ea7537fd5cd0c2b8a2dbf7fb3c86de0
job_policycheck.py
patch
|
blob
|
history
diff --git
a/job_policycheck.py
b/job_policycheck.py
index
f8f90d1
..
4e511c8
100755
(executable)
--- a/
job_policycheck.py
+++ b/
job_policycheck.py
@@
-63,7
+63,7
@@
def specfile_chooser(prjdir, packagingdir, obs_pkg, specs, prj):
def export(prjdir, packagingdir, mygit, events, mygerrit):
"""Check a git repo whether it can be executed `gbs export` correctly"""
mygit.checkout('FETCH_HEAD')
- tempd = tempfile.mkdtemp(dir=
packagingdir
)
+ tempd = tempfile.mkdtemp(dir=
os.path.join(prjdir, packagingdir)
)
cmd = 'gbs export --packaging-dir %s -o %s' % (packagingdir, tempd)
with utils.Workdir(prjdir):