summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRiku Voipio <riku.voipio@linaro.org>2015-02-02 20:50:16 +0200
committerRiku Voipio <riku.voipio@linaro.org>2015-02-02 20:50:16 +0200
commit875500a5b42045cef7a649dcfc2ada30da4752ac (patch)
treebcc4ccdbcb020dd855f47d57147c143fc14c49a5
parent2f69f211bc2919575e4e8530a0c4e18c3e727938 (diff)
downloadlibvirt-ci-875500a5b42045cef7a649dcfc2ada30da4752ac.tar.gz
pass source via command line
since sudo eats the env variable
-rwxr-xr-xjenkinsbuild.sh6
1 files changed, 3 insertions, 3 deletions
diff --git a/jenkinsbuild.sh b/jenkinsbuild.sh
index 4d38133..7ad78d6 100755
--- a/jenkinsbuild.sh
+++ b/jenkinsbuild.sh
@@ -110,7 +110,7 @@ echo "pkg_version: :${pkg_version}:"
currentdate=`date -R`
cat > ${code_checkout_dir}/debian/changelog.new << EOF
-${package_name} (${pkg_version}-${BUILD_NUMBER}linaro${build_dist}1) ${build_dist}; urgency=low
+${package_name} (${pkg_version}+${BUILD_NUMBER}linaro${build_dist}1) ${build_dist}; urgency=low
* CI - ${package_name} build from upstream sources:
- repository: ${GIT_URL}
@@ -135,10 +135,10 @@ mv --force ${code_checkout_dir}/debian/changelog.new ${code_checkout_dir}/debian
(cd ${code_checkout_dir}; dpkg-buildpackage -S -nc -i.git)
dsc=`echo *.dsc`
-export source="file:/$dsc"
+export source="file:`pwd`/$dsc"
builder_repo=http://git.linaro.org/git/ci/ubuntu-packaging-tools.git
rm -rf ubuntu-packaging-tools
git clone ${builder_repo}
-sudo ubuntu-packaging-tools/dockerbuild
+sudo ubuntu-packaging-tools/dockerbuild ${source}