From: Mathias Klette Date: Wed, 22 May 2013 16:00:27 +0000 (+0200) Subject: do not tag 'integration'-builds! X-Git-Url: https://git.uhu-banane.de/?a=commitdiff_plain;h=c8fb9f93031785aa42a35d39670f4e59f40d1557;p=profitbricks%2Fjenkins-build-scripts.git do not tag 'integration'-builds! I missed the point in the requirement: tags should only be created upon a complete successfull build. this means, that also all tests must complete successfully in order to create a new tag. as jenkins is taking care of evaluating test results we can't create the tag in debian_build beforehand. we'll use git publisher plugin now, to only tag 'stable_$BUILD_NUMBER' if build succeeds! --- diff --git a/debian_build.py b/debian_build.py index bd4aa57..8391838 100755 --- a/debian_build.py +++ b/debian_build.py @@ -220,12 +220,6 @@ if __name__ == '__main__': 'post_upload_command': 'ssh reprepro@alexandria.pb.local /srv/dev-repository/bin/pb_processincoming', }) - # branch integration of vdc-bundles requires "stable"-tags for continues integration, - # merges to develop will be done from such tags manually - if ENV['GIT_BRANCH'] == 'integration': - new_tag = 'stable_' + ENV['BUILD_NUMBER'] - do_tagging = True - if ENV['DISTRIBUTION'] == 'squeeze': dput_obj.contents.update({ 'incoming': '/srv/dev-repository/incoming/',