From 8ffa34c41a302d028feb7f89db572a8911921aad Mon Sep 17 00:00:00 2001 From: Philip Hands Date: Sun, 30 Oct 2016 12:02:33 +0100 Subject: debian-installer doesn't produce udebs, so don't try to copy them Signed-off-by: Holger Levsen --- bin/d-i_build.sh | 6 ++++-- 1 file 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 -- cgit v1.2.3-70-g09d2