Re: how to execute a bash script in a jenkins declarative pipeline

2020-09-24 Thread jesus fernandez
but what you suggested worked! probaly I need to improve my batch scripting knowledge as it is none at the moment. THANKS A LOT! El jueves, 24 de septiembre de 2020 a las 16:19:09 UTC+2, jesus fernandez escribió: > I also tried with call but I get this error: > ``` > *16:18:43* C:\Users\User\.

Re: how to execute a bash script in a jenkins declarative pipeline

2020-09-24 Thread jesus fernandez
I also tried with call but I get this error: ``` *16:18:43* C:\Users\User\.jenkins\workspace\pipeline_test>call C:/Users/User/.jenkins/workspace/Age_2_DE/Steam Build Scripts/scripts/build_dev.bat *16:18:43* 'C:/Users/User/.jenkins/workspace/Age_2_DE/Steam' is not recognized as an internal or e

RE: how to execute a bash script in a jenkins declarative pipeline

2020-09-24 Thread Jérôme Godbout
Hi, make sure to escape the path if it has spaces: bat('start “C:/Users/User/.jenkins/workspace/Project/Steam Build Scripts/scripts/build_dev.bat”'); Why do you need the start? Is the command return before completion or something? From: jenkinsci-users@googlegroups.com On Behalf Of jesus fern