Re: Jenkins Multibranch Pipeline and checkout of subversion

2017-10-09 Thread Gilad Baruchian
Did you find any solution for that? I have this problem as well -- 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 jenkinsci-users+unsubscr...@googlegroups.com. T

Re: Jenkins Multibranch Pipeline and checkout of subversion

2017-10-09 Thread Gilad Baruchian
Did you find any solution for that? I have this problem as well On Wednesday, February 8, 2017 at 3:16:43 PM UTC+2, Kristian X wrote: > > Hey, > > I think there is something odd with Multibranch plugin or I have done > something wrong. I have a repository: > > > http://svnserver/some/svn/repo

Multibranch checkout for jenkinsfile

2017-10-09 Thread Gilad Baruchian
Hi, I have a Jenkinsfile located in \build folder, and it checks out code to the slave node and builds. My multi branch project finds the branch correctly, but it checks out the entire svn branch on the master just to read the jenkinsfile instead of checking out just the jenkinsfile itself of ju

Jenkins multibranch checkout

2017-10-08 Thread Gilad Baruchian
Hi, I noticed that when the multi branch job finds a branch to build it automatically checks out or updates the branch before it even starts executing it's Jenkinsfile. This is bad for me because I want to run some commands before the checkout, and only then run the checkout myself in the pipel

Jenkins variables

2016-06-07 Thread Gilad Baruchian
As I understand, the way to define variables in a jenkins job is to user environment variables injection (variables I define in the job and when i execute a build jenkins set them as windows environment variables). Can it be a problem if i run 2 jobs at the same time that have the same variable

Re: Help with Choice Parameter

2016-04-11 Thread Gilad Baruchian
Anyone has an idea about this? -- 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 jenkinsci-users+unsubscr...@googlegroups.com. To view this discussion on the web

Help with Choice Parameter

2016-04-10 Thread Gilad Baruchian
My goal - a job that can be used to build code from a URL that the user chooses from a list of URLs. 1. I added a "Choice Parameter" called Branch, with a list of SVN URLs. 2. In the "Source Code Management" stage I use that parameter to checkout the code. My question - How do I make sure that

Re: NullPointer

2015-08-31 Thread Gilad Baruchian
here is the jelly : -- 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 jenkinsci-users+unsubscr...@googlegroups.com. To view this

NullPointer

2015-08-31 Thread Gilad Baruchian
I created this class package notifier; import hudson.Extension; import hudson.Launcher; import hudson.model.AbstractBuild; import hudson.model.AbstractProject; import hudson.model.BuildListener; import hudson.tasks.*; import net.sf.json.JSONObject; import org.kohsuke.stapler.DataBoundConstructor

Cannot run groovy on node

2015-07-14 Thread Gilad Baruchian
I tried to configure auto install like this : and i configured the job to use "groovy-2-4-3", didn't work - did not try to install and did not find groovy. i installed groovy myself on the node, add

Re: Groovy scripts

2015-06-07 Thread Gilad Baruchian
I would love to use the API, the problem is that i don't have the jars for that and i couldn't find them anywhere. On Thursday, May 21, 2015 at 10:12:04 AM UTC+3, niraj nandane wrote: > > You can start with using jenkins api first. > > On Monday, May 18, 2015 at 2:24

Re: Post build command line

2015-06-07 Thread Gilad Baruchian
rginga, I am already using what you suggested and I don't wan't it. I don't want conditions i just want to run a .bat file in post build. On Thursday, June 4, 2015 at 5:09:05 PM UTC+3, Gilad Baruchian wrote: > > Hi, I want to run a ".bat" file in post build. >

Stage before "Source Code Management"

2015-06-07 Thread Gilad Baruchian
I need my build to run only if some conditions are met. For that I need to insert a check procedure before running the built in "Source Code Management" that updates the svn repository. Is there a way to do that? -- You received this message because you are subscribed to the Google Groups "Jenk

Post build command line

2015-06-04 Thread Gilad Baruchian
Hi, I want to run a ".bat" file in post build. What is the easiest way to do it? -- 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 jenkinsci-users+unsubscr...@goo

Groovy scripts

2015-05-18 Thread Gilad Baruchian
I have groovy scripts that work in my jenkins instance. I would like to be able to also run them from IntelliJ, but it seems like i need the jenkins jars for the imports to work (for example import hudson.model.*). 1. How can I get all the Jars I need to run jenkins groovy code? 2. Do you know o

Re: [workflow-plugin] Get environment variables defined in Jenkins configuration

2015-05-18 Thread Gilad Baruchian
Which groovy plugin you use for your groovy code? -- 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 jenkinsci-users+unsubscr...@googlegroups.com. To view this dis