]> Frank Brehm's Git Trees - profitbricks/jenkins-build-scripts.git/commitdiff
output .changes file of succesful builds
authorHolger Levsen <holger@layer-acht.org>
Thu, 1 Sep 2011 15:34:15 +0000 (17:34 +0200)
committerHolger Levsen <holger@layer-acht.org>
Thu, 1 Sep 2011 15:34:15 +0000 (17:34 +0200)
build.py

index 94d1ae0344ded57f7091f6af787184126cb6dde7..9559146e3533cf72018fcba7114c0c9510a3f1a2 100755 (executable)
--- a/build.py
+++ b/build.py
@@ -411,6 +411,11 @@ if __name__ == '__main__':
         create_dput_cfg()
         changes_file =  '%s_%s_amd64.changes' % (pkg_name, version)
         dput_package_upload(os.path.join(GIT_TARGET_WORKSPACE, 'build-area/result/', changes_file))
+
+        fh = open(changes_file, 'r')
+        logger.info('%s' % (fh.read()))
+        fh.close()
+
         #logger.debug(os.listdir('./'))
         #logger.debug(os.listdir('../'))