commit 17d8c403bcbd68df769c85d4f08878cd41dad35d
parent 3b6e5a6dd3b8548e75ac1c59f738a52b0c5d036c
Author: parazyd <parazyd@dyne.org>
Date: Mon, 24 Jul 2017 18:05:43 +0200
handle if xml template fill fails or using an incorect name
Diffstat:
1 file changed, 3 insertions(+), 0 deletions(-)
diff --git a/buildadd.py b/buildadd.py
@@ -89,6 +89,9 @@ def main():
print('- Modifying job')
if not dryrun:
jenk.reconfig_job(jobname, pxml)
+ else:
+ print('* Internal error. Check your XML files and the exe name')
+ sys.exit(1)
if __name__ == '__main__':