[Qa-jenkins-scm] [jenkins.debian.net] 01/01: reproducible Debian: export $JOB so it gets included into test history

Holger Levsen holger at layer-acht.org
Fri Apr 14 20:00:34 UTC 2017


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 fd444bffc0b437463f8486d8faffb73aaff81c63
Author: Holger Levsen <holger at layer-acht.org>
Date:   Fri Apr 14 22:00:03 2017 +0200

    reproducible Debian: export $JOB so it gets included into test history
    
    Signed-off-by: Holger Levsen <holger at layer-acht.org>
---
 bin/reproducible_build_service.sh | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/bin/reproducible_build_service.sh b/bin/reproducible_build_service.sh
index 55a4ca9..1871044 100755
--- a/bin/reproducible_build_service.sh
+++ b/bin/reproducible_build_service.sh
@@ -18,12 +18,14 @@ set -x
 # sleep 1-23 secs to randomize start times
 /bin/sleep $(echo "scale=1 ; $(shuf -i 1-230 -n 1)/10" | bc )
 
-BUILD_URL=https://jenkins.debian.net/userContent/build_service/$1
 BUILD_BASE=/var/lib/jenkins/userContent/reproducible/debian/build_service/$1
 OLD_ID=$((ls -1rt $BUILD_BASE||echo 0)|tail -1)
 let BUILD_ID=OLD_ID+1
 mkdir -p $BUILD_BASE/$BUILD_ID
 
+export BUILD_URL=https://jenkins.debian.net/userContent/build_service/$1
+export JOB=$1/$BUILD_ID
+
 case $1 in
 	arm64_builder1)		NODE1=codethink-sled12-arm64	NODE2=codethink-sled15-arm64 ;;
 	*)			echo "Sleeping 60min" 

-- 
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