[Qa-jenkins-scm] [jenkins.debian.net] 01/01: torbrowser tests: use git-buildpackage, to automatically create the orig.gz when building from git

Holger Levsen holger at moszumanska.debian.org
Wed Jan 6 16:49:37 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 1f835ed97d83177ae935fa95952b7d42191402c4
Author: Holger Levsen <holger at layer-acht.org>
Date:   Wed Jan 6 17:49:23 2016 +0100

    torbrowser tests: use git-buildpackage, to automatically create the orig.gz when building from git
---
 bin/test_torbrowser-launcher.sh  | 2 +-
 job-cfg/torbrowser-launcher.yaml | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/bin/test_torbrowser-launcher.sh b/bin/test_torbrowser-launcher.sh
index e72ee65..58c1879 100755
--- a/bin/test_torbrowser-launcher.sh
+++ b/bin/test_torbrowser-launcher.sh
@@ -112,7 +112,7 @@ upgrade_to_package_build_from_git() {
 	# GIT_URL is set by jenkins
 	echo "$(date -u ) - building Debian package based on branch $BRANCH from $GIT_URL."
 	# build package
-	schroot --run-session -c $SESSION --directory $TMPDIR/git -- debuild -uc -us
+	schroot --run-session -c $SESSION --directory $TMPDIR/git -- git-buildpackage --git-ignore-branch --git-upstream-branch=master --git-upstream-tree=branch -uc -us
 	# install it
 	local DEB=$(cd $TMPDIR ; ls torbrowser-launcher_*deb)
 	local CHANGES=$(cd $TMPDIR ; ls torbrowser-launcher_*changes)
diff --git a/job-cfg/torbrowser-launcher.yaml b/job-cfg/torbrowser-launcher.yaml
index c278802..de1255c 100644
--- a/job-cfg/torbrowser-launcher.yaml
+++ b/job-cfg/torbrowser-launcher.yaml
@@ -161,7 +161,7 @@
                               my_postfix:  ' python python-gtk2 python-psutil python-twisted python-lzma gnupg wmctrl tor' }
             my_description: 'Setup {dist}/amd64 schroot for testing torbrowser-launcher.'
             my_timed: '42 {my_hour} * * {my_weekday}'
-            my_shell: '/srv/jenkins/bin/schroot-create.sh torbrowser-launcher torbrowser-launcher-{dist} {dist}{my_prefix} ca-certificates awesome dbus xterm x11-utils x11-xserver-utils feh libnotify-bin figlet build-essential fakeroot devscripts python-all debhelper dh-apparmor lsb-release iceweasel{my_postfix}'
+            my_shell: '/srv/jenkins/bin/schroot-create.sh torbrowser-launcher torbrowser-launcher-{dist} {dist}{my_prefix} ca-certificates awesome dbus xterm x11-utils x11-xserver-utils feh libnotify-bin figlet build-essential fakeroot devscripts git-buildpackage python-all debhelper dh-apparmor lsb-release iceweasel{my_postfix}'
         - '{name}_test_on_{dist}_amd64{opt_name}':
             opt_name: ''
             opt_arg: ''

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