[Qa-jenkins-scm] [jenkins.debian.net] 01/02: reproducible Debian: fix latest link and URL
Holger Levsen
holger at layer-acht.org
Wed Apr 19 11:30:46 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 82fa1742550c1eb59e2c8d9afb593081fd151065
Author: Holger Levsen <holger at layer-acht.org>
Date: Wed Apr 19 13:25:22 2017 +0200
reproducible Debian: fix latest link and URL
Signed-off-by: Holger Levsen <holger at layer-acht.org>
---
bin/reproducible_build_service.sh | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/bin/reproducible_build_service.sh b/bin/reproducible_build_service.sh
index 018d9e9..1c515d2 100755
--- a/bin/reproducible_build_service.sh
+++ b/bin/reproducible_build_service.sh
@@ -22,9 +22,9 @@ BUILD_BASE=/var/lib/jenkins/userContent/reproducible/debian/build_service/$1
OLD_ID=$(ls -1rt $BUILD_BASE|grep -v latest|sort -n|tail -1)
let BUILD_ID=OLD_ID+1
mkdir -p $BUILD_BASE/$BUILD_ID
-(cd $BUILD_BASE ; ln -sf $BUILD_ID latest)
+ln -sf $BUILD_ID $BUILD_BASE/latest
-export BUILD_URL=https://jenkins.debian.net/userContent/build_service/$1
+export BUILD_URL=https://jenkins.debian.net/userContent/build_service/$1/
export BUILD_ID=$BUILD_ID
export JOB_NAME="reproducible_builder_$1"
--
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