Thanks Baptiste, sounds like the solution. I will try that.
Clifford Am Samstag, 28. März 2015 13:53:15 UTC+1 schrieb Baptiste Mathus: > > You can use try/catch/finally constructs. > > Cheers > > 2015-03-26 17:49 GMT+01:00 Clifford Sanders <[email protected] > <javascript:>>: > >> Hi, >> >> I'm currently migrating a Maven job to a Workflow job. >> >> There are UI tests so one of the first steps is to start Xvfb before >> executing the Maven command and stopping it afterwards. >> >> sh "sudo /sbin/service xvfbd start" >> sh "mvn clean verify -Dmaven.test.failure.ignore=true" >> sh "sudo /sbin/service xvfbd stop" >> >> This works as long there are no errors (e.g. compile, syntax). >> >> Is there a way to force execution of the last step? >> >> Thanks >> >> Clifford >> >> -- >> 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] <javascript:>. >> To view this discussion on the web visit >> https://groups.google.com/d/msgid/jenkinsci-users/a400949d-8e53-4ad9-bae3-698ac11c7ea7%40googlegroups.com >> >> <https://groups.google.com/d/msgid/jenkinsci-users/a400949d-8e53-4ad9-bae3-698ac11c7ea7%40googlegroups.com?utm_medium=email&utm_source=footer> >> . >> For more options, visit https://groups.google.com/d/optout. >> > > > > -- > Baptiste <Batmat> MATHUS - http://batmat.net > Sauvez un arbre, > Mangez un castor ! > -- 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/b90bee8f-d716-476f-8249-2144def8e453%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
