[Qa-jenkins-scm] [jenkins.debian.net] 08/14: debian-installer doesn't produce udebs, so don't try to copy them
Holger Levsen
holger at layer-acht.org
Thu Nov 3 09:32:26 UTC 2016
This is an automated email from the git hooks/post-receive script.
holger pushed a commit to branch master
in repository jenkins.debian.net.
commit 8ffa34c41a302d028feb7f89db572a8911921aad
Author: Philip Hands <phil at hands.com>
Date: Sun Oct 30 12:02:33 2016 +0100
debian-installer doesn't produce udebs, so don't try to copy them
Signed-off-by: Holger Levsen <holger at layer-acht.org>
---
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 e076a70..f30403a 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
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/qa/jenkins.debian.net.git
More information about the Qa-jenkins-scm
mailing list