diff options
author | Philip Hands <phil@hands.com> | 2016-10-30 12:02:33 +0100 |
---|---|---|
committer | Holger Levsen <holger@layer-acht.org> | 2016-11-03 10:28:15 +0100 |
commit | 8ffa34c41a302d028feb7f89db572a8911921aad (patch) | |
tree | 56a28bffd4898cd82e62b4d23f8f6c512d8d79ac /bin | |
parent | d575d5df6fdbd8b3cc7a7c212adc9b6272a3ba1b (diff) | |
download | jenkins.debian.net-8ffa34c41a302d028feb7f89db572a8911921aad.tar.xz |
debian-installer doesn't produce udebs, so don't try to copy them
Signed-off-by: Holger Levsen <holger@layer-acht.org>
Diffstat (limited to 'bin')
-rwxr-xr-x | bin/d-i_build.sh | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/bin/d-i_build.sh b/bin/d-i_build.sh index e076a70d..f30403a0 100755 --- a/bin/d-i_build.sh +++ b/bin/d-i_build.sh @@ -55,8 +55,10 @@ preserve_artifacts() { # Check is we're in a pu/* branch, and if so save the udebs # if udeb_dir=$(replace_origin_pu "/srv/udebs/" $GIT_BRANCH) ; then - mkdir -p $udeb_dir - cp ${RESULT_DIR}/*.udeb $udeb_dir + if [ "$JOB_NAME" != "d-i_pu-triggered_debian-installer" ] ; then + mkdir -p $udeb_dir + cp ${RESULT_DIR}/*.udeb $udeb_dir + fi # this is put into env.txt below, so that the variable(s) can be injected into the jenkins environment ENV_TO_INJECT="OUR_BRANCH=$GIT_BRANCH" fi |