Commit d6d1adc8 authored by helmo's avatar helmo

Issue #2859549: purge jenkins code from debian/rules

parent 000ba209
......@@ -20,32 +20,4 @@ override_dh_install:
override_dh_installinit:
dh_installinit --name=hosting-queued
DOMAIN?=$(shell hostname -f)
KEY?="-kjenkins@$(DOMAIN)"
# this builds a debian package based on what the current branches are
# this usually tests the latest release
jenkins-build-official:
git-buildpackage -b --git-upstream-branch=origin/upstream --git-debian-branch=origin/debian --git-ignore-branch -kjenkins@ci.aegirproject.org
# the version from the changelog, add the git hash
version=$(shell sed -ne 's/^[^(]*(\([^)]*\)).*/\1/;1p' debian/changelog)
commit=$(shell git log -n 1 --oneline | sed 's/ .*$$//')
# the version we're building with jenkins
jenkins_version=${version}+${BUILD_NUMBER}.${commit}
# debug for the above
show-version:
@echo ${version}
# this builds a debian package but first updates the branches to follow the latest 2.x branch
# this assumes you are on a "debian" branch (of course)
jenkins-build-auto:
dch -D unstable -v ${jenkins_version} "automatic jenkins build ${BUILD_TAG} for commit ${commit}"
git commit -m"dummy commit for jenkins ${BUILD_TAG} autobuild" debian/changelog
git-buildpackage -b ${KEY}
# helper to debug the above
show-jenkins-build-auto:
@echo would build version ${jenkins_version} with key ${KEY}
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment