Compare commits

...

2 Commits

Author SHA1 Message Date
parazyd 1e60140a6c
Correct zshcmd for each of the sdks. 2018-10-08 14:20:49 +02:00
parazyd 3ab620a588
Remove the blenddir after completing the job. 2018-10-08 14:18:41 +02:00
2 changed files with 8 additions and 7 deletions

View File

@ -25,13 +25,13 @@ def add_job(jobname):
if sdk == 'arm':
board = info[1].split('_')[2]
zshcmd = 'load devuan %s %s' % (board, blendfile)
zshcmd = 'load devuan %s %s && build_image_dist' % (board, blendfile)
elif sdk == 'live':
zshcmd = 'load devuan %s %s' % (arch, blendfile)
zshcmd = 'load devuan %s %s && build_iso_dist ' % (arch, blendfile)
elif sdk == 'vm':
zshcmd = 'load devuan %s' % (blendfile)
zshcmd = 'load devuan %s && build_vagrant_dist' % (blendfile)
command = "zsh -f -c 'source sdk && %s && build_image_dist'" % zshcmd
command = "zsh -f -c 'source sdk && %s'" % zshcmd
command = html.escape(command)
replacements = [('DESC', desc),

View File

@ -34,9 +34,10 @@
<builders>
<hudson.tasks.Shell>
<command>
scp -r sdk:{{{BLENDDIR}}} {{{BLENDDIR}}}
git submodule update --init --recursive --checkout
{{{COMMAND}}}
scp -r sdk:{{{BLENDDIR}}} {{{BLENDDIR}}} || exit 1
git submodule update --init --recursive --checkout || exit 1
{{{COMMAND}}} || exit 1
rm -rf {{{BLENDDIR}}}
</command>
</hudson.tasks.Shell>
</builders>