]> Frank Brehm's Git Trees - profitbricks/jenkins-build-scripts.git/commitdiff
do not tag 'integration'-builds!
authorMathias Klette <mathias.klette@profitbricks.com>
Wed, 22 May 2013 16:00:27 +0000 (18:00 +0200)
committerMathias Klette <mathias.klette@profitbricks.com>
Wed, 22 May 2013 16:00:27 +0000 (18:00 +0200)
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!

debian_build.py

index bd4aa5764086e7a86d50f53244b7beaf71bd4f71..839183871364ed0380b0112083f324f0272b4b45 100755 (executable)
@@ -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/',