]> Frank Brehm's Git Trees - profitbricks/jenkins-build-scripts.git/commitdiff
debian_build.py: Remove debugging instructions (sbuild has no interactive shell)
authorBenjamin Drung <benjamin.drung@profitbricks.com>
Thu, 24 Jul 2014 01:21:34 +0000 (03:21 +0200)
committerBenjamin Drung <benjamin.drung@profitbricks.com>
Thu, 24 Jul 2014 01:21:34 +0000 (03:21 +0200)
debian_build.py

index 4025f723e1fbf8fab152254809a18272958cb151..66e686a1838d49885bbf1cef94dbcf67d450deae 100755 (executable)
@@ -646,32 +646,6 @@ if __name__ == '__main__':
     logger.info('Reset repository to HEAD~1 to revert develop changelog entry.')
     logger.debug(gitrepo.git.reset('--soft', 'HEAD~1'))
 
-    # .. show instructions of how to get interactive build
-    logger.info('''
-###
-###  In case you need to analyze the results within chroot, do the following:
-###    * login to {hostname}
-###    * become user {jenkins_user}
-###    * then execute:
-###
-
-cd {jenkins_workspace}
-export {builder_env} FORCE_SHELL=TRUE
-{command}
-
-###
-### Beware when using 'merge' trigger: The above command specifies the target
-### branch already while you want to run on original branch '{orig_branch}'.
-###
-'''.format(hostname=socket.gethostname(),
-           jenkins_user=ENV['USER'],
-           jenkins_workspace=builder.dsc_dir,
-           builder_env=' '.join(['{k}="{v}"'.format(k=key, v=builder.env[key],)
-                                 for key in builder.env.keys()]),
-           command=' '.join(escape_arg(arg) for arg in builder.command),
-           orig_branch=ENV['GIT_BRANCH'],
-           ))
-
     # .. and finally handle the result
     if ret:
         build_failed = True