Re: Jenkins build status always shows success

2020-01-11 Thread Jan Monterrubio
Does it mark unsuccessful if you have: exit 1 As the last line of your script? Can you each out the result of your angular command? It might be pronting errors but exiting with a status of 0 which is considered successful. On Sat, Jan 11, 2020 at 04:59 Vijay Gongle wrote: > Correct. It’s an A

Re: Scheduling the job to wait for license to be available

2020-01-11 Thread Sharoon Mohideen
Thank you very much Mark. I will try with this plugin. 2020年1月11日(土) 21:24 Mark Waite : > I think you want the lockable resources plugin. > https://plugins.jenkins.io/lockable-resources > > On Sat, Jan 11, 2020 at 5:19 AM Sharoon Mohideen < > sharoon.mohid...@gmail.com> wrote: > >> Hi, >> >> I ha

Re: Scheduling the job to wait for license to be available

2020-01-11 Thread Mark Waite
I think you want the lockable resources plugin. https://plugins.jenkins.io/lockable-resources On Sat, Jan 11, 2020 at 5:19 AM Sharoon Mohideen wrote: > Hi, > > I have only a single license of the tool which is running in one of the > agent. > Suppose, I commit to the shared repository which trig

Re: Is it possible to log ENV for all pipelines?

2020-01-11 Thread João Pinto
Look into shared pipeline libraries ( https://jenkins.io/doc/book/pipeline/shared-libraries/) for having a common step defined for several pipelines. João On Wed, 2020-01-08 at 15:42 -0800, Daniel Schmidt wrote: > Hi folks, > > Many of our Declarative Pipeline jobs start off by printing > enviro

Scheduling the job to wait for license to be available

2020-01-11 Thread Sharoon Mohideen
Hi, I have only a single license of the tool which is running in one of the agent. Suppose, I commit to the shared repository which triggers the sequence of stages by Jenkins declarative pipeline, with one of the stage use the above said tool (with one license). Another team member subsequently (

Re: Jenkins build status always shows success

2020-01-11 Thread Vijay Gongle
Correct. It’s an Angular project and running bash shell script of Jenkins build. Thanks, Vijay Sent from my iPhone > On Jan 10, 2020, at 11:28 PM, RAJENDRA PRASAD > wrote: > >  > Could you please elaborate on what kind of project you are running? > Running from Bash Shell of Jenkins build st