Re: Runing Groovy scripts on Jenkins on Master

2017-06-26 Thread Oparlescu Vlad
Thank you :) On Wednesday, June 21, 2017 at 7:35:30 PM UTC+3, jer...@bodycad.com wrote: > > if you are into a pipeline, you can swap node by using > node("master") > { > ... > } > > > -- You received this message because you are subscribed to the Google Groups "Jenkins Users" group. To unsubscr

Re: [EXTERNAL] - Runing Groovy scripts on Jenkins on Master

2017-06-26 Thread Oparlescu Vlad
Thank you :) On Wednesday, June 21, 2017 at 3:25:12 PM UTC+3, Dirk Heinrichs wrote: > > Am 21.06.2017 um 13:59 schrieb Oparlescu Vlad: > > It seems that due to the fact that I use system groovy script build > option, the build still runs on a slave ? > Is there a mistake or a

Runing Groovy scripts on Jenkins on Master

2017-06-21 Thread Oparlescu Vlad
Hello Jenkins users, I created a groovy script where I generate some values that I'm reading from the builds. It seems that due to the fact that I use system groovy script build option, the build still runs on a slave ? Is there a mistake or a setting that must be made on the master ? Building

Send e-mails from groovy scripts

2017-06-20 Thread Oparlescu Vlad
Dear Jenkins users,Is there a way to send an e-mail from Jenkins Master using a Groovy script ? I have an error which I don't know how to solve it: FATAL: javax.mail.MessagingException: Unknown SMTP host: my.mail.host; nested exception is: java.net.UnknownHostException: my.mail.ho

Reuse at PostBuild Windows Batch Command Variables

2017-06-12 Thread Oparlescu Vlad
Dear Jenkins users, Is there any Jenkins class that can provide a method /field to retrieve the Jenkins Windows Batch Variables. I would need to retrieve the values of variables set at build Step and use them later in a PostBuild plugin. I would like to reuse the following values:

Re: Build Environment

2016-07-21 Thread Oparlescu Vlad
model.Job.class)) { if(item instanceof hudson.model.ExternalJob) continue for(wrapper in* item.getBuildWrappersList()*) if (wrapper instanceof org.jvnet.hudson.plugins.exclusion.IdAllocator) println item.name } On Wednesday, July 20, 2016 at 10:31:29 AM UTC+3, Oparlescu Vlad wrote: &

Build Environment

2016-07-20 Thread Oparlescu Vlad
Hello to everyone, Is there any method that I can retrieve the Build Environment settings in a groovy script ? For example *I want to find out for every job that I have if "manage exclusion" is ticked ot not* :

Re: Display the jobs that have upstream or downstream jobs

2016-07-04 Thread Oparlescu Vlad
Or is this Plug-in only working for the jobs that will be created from now on ? Does it works also for the existing ones?? On Monday, July 4, 2016 at 2:13:03 PM UTC+3, Oparlescu Vlad wrote: > > Hello guys, > > does the plug-in Build Flow Plugin > <https://wiki.jenkins-ci.o

Display the jobs that have upstream or downstream jobs

2016-07-04 Thread Oparlescu Vlad
Hello guys, does the plug-in Build Flow Plugin will resolve my problem to display the jobs with uppstream and downstream jobs? I'm asking this because I have to deploy first some other plug-ins before *Build Flow *(it seems that

Re: Jenkins plug-in

2016-07-04 Thread Oparlescu Vlad
ot always detected). > > Björn > > Am Freitag, 1. Juli 2016 09:05:18 UTC+2 schrieb Oparlescu Vlad: >> >> Hello everyone, >> >> I'm new to Jenkins and I want to print only the jobs that are using a >> specific plug-in.Is there any way to do

Jenkins plug-in

2016-07-01 Thread Oparlescu Vlad
Hello everyone, I'm new to Jenkins and I want to print only the jobs that are using a specific plug-in.Is there any way to do this Please advice a workaround if it's any ! Thank you -- You received this message because you are subscribed to the Google Groups "Jenkins Users" group. To unsubscr