# .. now handle the result
if ret:
logger.error('''git-buildpackage failed with exitcode {code}
-
- In case you need to analyze errors within chroot, do the following:
- * login to {hostname}
- * become {jenkins_user}
- * cd into {jenkins_workspace}
- * execute
- export {gbp_env} FORCE_SHELL=TRUE
-
- {command}
-
+##
+##
+## In case you need to analyze errors within chroot, do the following:
+## * login to {hostname}
+## * become {jenkins_user}
+## * cd into {jenkins_workspace}
+## * then execute:
+
+export {gbp_env} FORCE_SHELL=TRUE
+{command}
+
+##
+##
'''.format(
code=ret,
hostname=socket.gethostname(),