Thanks a lot Victor for your answer. In any case, this is what we would like to avoid. At a certain point, when the chain of scripts is too long, we will certainly forget to include the -e option. This is not a robust approach. I was wondering in Jenkins is able to do it as toolkit, other tools are able to do it (as electric commander). You should not care about the error tracking; the tool should be able to do it for you
Cheers Patricia El viernes, 13 de noviembre de 2015, 17:17:24 (UTC+1), Victor Martinez escribió: > > Hi, > > If I understood correctly you could add the below shebang in each script > file > > #!/bin/bash -xe > > Then in case of any errors of those children scripts will be trapped > accordingly. you might need to review whether you use any traps > > > I hope it helps > > Cheers > > -- You received this message because you are subscribed to the Google Groups "Jenkins Users" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-users/b163fd03-62d2-4f2c-be8b-89b967dbed45%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
