From: Benjamin Drung Date: Thu, 24 Jul 2014 01:21:34 +0000 (+0200) Subject: debian_build.py: Remove debugging instructions (sbuild has no interactive shell) X-Git-Url: https://git.uhu-banane.org/?a=commitdiff_plain;h=9bb7939ac3cf980e2247e9b9606540f0291f0df1;p=profitbricks%2Fjenkins-build-scripts.git debian_build.py: Remove debugging instructions (sbuild has no interactive shell) --- diff --git a/debian_build.py b/debian_build.py index 4025f72..66e686a 100755 --- a/debian_build.py +++ b/debian_build.py @@ -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