Re: Declarative pipeline "when" tag is pushed

2017-12-20 Thread Steven Foster
I think you can get that with this: when { expression { env.TAG_NAME != null } } You get the env.TAG_NAME from the branch api when it's a tag build. A shortcut would be helpful, I suggested it here https://issues.jenkins-ci.org/browse/JENKINS-48523 On Wednesday, December 20,

Re: Problem with build step - Windows Batch Command

2017-12-20 Thread vikash singh
> > I am facing the same problem. > > Can you tell me how did you resolve it.? How can i change the workspace to run windows batch command.? > >> >> -- You received this message because you are subscribed to the Google Groups "Jenkins Users" group. To unsubscribe from this group and stop

Re: Build periodically not working in Jenkins v2.92

2017-12-20 Thread Daniel Beck
> On 20. Dec 2017, at 02:14, arunlakhanpal wrote: > > Does this point to anything? Those don't look like anything is wrong. That's from the server that doesn't start jobs on schedule? -- You received this message because you are subscribed to the Google Groups

Build and publish hybrid application mobile

2017-12-20 Thread Francesco Sisca
Hello everyone. For my company i build a hybrid app (angular2 and ionic2) and deploy it both Android and iOS. Actually i do it manually with this command ionic cordova platform add ios ionic cordova platform add android ionic cordova build ios --prod ionic cordova build android --prod and

Re: Build periodically not working in Jenkins v2.92

2017-12-20 Thread arunlakhanpal
Thanks for the insight Daniel. I did look into the thread dump but did not find anything that tells me much. Sharing the extract I got from my jenkins server thread dump, which might/might not be useful. JmDNS().State.Timer "JmDNS().State.Timer" Id=469 Group=main TIMED_WAITING on

Re: Disable withMaven publishers default configuration

2017-12-20 Thread ncosta
Hi Cyrille Thanks for your clarification. I now have the TEST and PROD using the same logger (org.jenkinsci.plugins.pipeline.maven.WithMavenStepExecution >> ALL). Disabling the publishers on Global Tools Configuration screen, the publishers are shown as "Skip ... disabled by configuration" in