Re: Custom Views for Users

2014-10-15 Thread Richard Bywater
Always the way! Glad I could help. Richard On 15/10/2014 5:38 PM, طلال Anthony رابعة anth...@rabaa.ca wrote: Yea... That's exactly what I was looking for. Right there in front of me and I totally missed it. ;-) Thanks! Anthony On Oct 14, 2014, at 8:02 PM, Richard Bywater

Jenkins pluging to delete same type of jobs

2014-10-15 Thread Meherdad Bomanbehram
Hi, Is there are plugin that will delete a job from the queue if we start a job of the same type. Basically if I were to start a incremental build job on a commit from the SCM on a post commit hook and it goes in the queue to wait till the current job is completed. Then if another developer

Configure logger for SVN connections

2014-10-15 Thread Jennifer Hofmeister
Hello! Jenkins has trouble connecting to our Subversion server. For troubleshooting, I want to set up one or more Subversion-related loggers, at least one that tracks Jenkins' attempts to connect to our Subversion server. Which packages would you recommend I set up to be logged? Thanks,

Re: Can we print Master name in slave machine

2014-10-15 Thread Panikera Raj
HI All, Thanks to one and all for responding on this. In slave logs it's printing as below. Started by upstream project Iphone7.4Auto http://192.168.2.28:8080/job/Iphone7.4Auto/ build number 1527 http://192.168.2.28:8080/job/Iphone7.4Auto/1527 originally caused by: Started by upstream project

RE: Can we print Master name in slave machine

2014-10-15 Thread Matthew.Webber
I’m quite confused about what it is exactly you are asking for. Are you asking for the name of the master machine, or the name of a job, or the name of an upstream job? When you say “I need to find out who is running”, what do you mean? Does you project need to find out its own name? Can you

Re: Can we print Master name in slave machine

2014-10-15 Thread Panikera Raj
Hi Matthew, Thanks for quick help, Ok can we print name of job, name of an upstream job? Regards, Panikera On Wed, Oct 15, 2014 at 2:24 PM, matthew.web...@diamond.ac.uk wrote: I’m quite confused about what it is exactly you are asking for. Are you asking for the name of the master

RE: Can we print Master name in slave machine

2014-10-15 Thread Matthew.Webber
Now I’m really confused. You said: In slave logs it's printing as below. Started by upstream project Iphone7.4Autohttp://192.168.2.28:8080/job/Iphone7.4Auto/ build number 1527http://192.168.2.28:8080/job/Iphone7.4Auto/1527 originally caused by: Started by upstream project

how to execute a shell script in build flow flow dsl section

2014-10-15 Thread niraj nandane
I have installed Build Flow Plugin and created a build flow project . The commands like build(project-name) are working fine. I want to execute a shell script which is at /root/niraj/muscript.sh ,which build the system. so i am doing like this shell( /root/niraj/muscript.sh) . But it is showing

Problem building child POM inheriting from parent with dependency version being interpolated on the child POM

2014-10-15 Thread Jacob Mourelos
I have a parent POM where I define a maven profile containing in its dependency management section a dependency whose version is defined as a maven property core.version. However this property is not defined in the parent POM itself, but it is supposed to be decalared in child POMs. There is a

RE: Can we print Master name in slave machine

2014-10-15 Thread corneil.duples...@gmail.com
A different question would be, why do you have multiple masters and why is it difficult to distinguish the slave activity? I would use different users profiles for the masters and will be able to distinguish activity that way. On 15 Oct 2014 11:31 AM, matthew.web...@diamond.ac.uk wrote: Now

Re: Cloud slaves not being started by Jenkins

2014-10-15 Thread teilo
we found the latest jenkins and docker plugin work better together. Older versions would not always fire up a slave when they where supposed to - or fired up the wrong slave type! if you can upgrade to the next soon to be stable LTS and give it a go you may find it works better. On Tuesday,

Re: Publish JUnit test result report

2014-10-15 Thread teilo
Hi, have you checked the time sync between the master and slave? you will get this when Jenkins found test results but they are older then when the build started (that is they did not come from this build but are remenants of a previous build) Regards /James On Monday, 13 October 2014

ask for files before build

2014-10-15 Thread niraj nandane
My scenario is as follows.. I checkout the code in scm step. Then before going to build step i want a file opener popup which will read a file on my harddisk and copy into jobs workspace.This will allow me to check the build before checking in the changes in scm repository. I know there is

Re: how to execute a shell script in build flow flow dsl section

2014-10-15 Thread niraj nandane
Yeah you are right. I have tried that but problem unnessary it is increasing count of total project. On Wed, Oct 15, 2014 at 5:27 PM, Slide slide.o@gmail.com wrote: I don't think the build flow supports running a shell script directly, you would need to build() a job that executes the

Re: ask for files before build

2014-10-15 Thread Mark Waite
There isn't a way to prompt for a file to be copied during the build, but maybe you could consider the File parameter from a parameterized build so that the person who starts the job can upload the file as part of starting the job.

Re: how to execute a shell script in build flow flow dsl section

2014-10-15 Thread Les Mikesell
On Wed, Oct 15, 2014 at 7:46 AM, niraj nandane niraj.nand...@gmail.com wrote: Yeah you are right. I have tried that but problem unnessary it is increasing count of total project. I think the choices are to use build-flow with separate jobs for every step the dsl doesn't do directly, or use

Re: ask for files before build

2014-10-15 Thread niraj nandane
Thanks Mark, this can help me but if there could any plugin as my requirement would be great On Wed, Oct 15, 2014 at 6:23 PM, Mark Waite mark.earl.wa...@gmail.com wrote: There isn't a way to prompt for a file to be copied during the build, but maybe you could consider the File parameter from a

Re: how to execute a shell script in build flow flow dsl section

2014-10-15 Thread niraj nandane
Yeah you are right Les but i am new in field of jenkins.Dont know about groovy at all On Wed, Oct 15, 2014 at 6:23 PM, Les Mikesell lesmikes...@gmail.com wrote: On Wed, Oct 15, 2014 at 7:46 AM, niraj nandane niraj.nand...@gmail.com wrote: Yeah you are right. I have tried that but problem

RE: ask for files before build

2014-10-15 Thread Matthew.Webber
You can't prompt for a file in a build step, since at that point there is no user to ask! The jobs is already running. If you want to prompt a user, then the only point it makes sense to do that is when the job is started - Mark's suggestion tells you how to do that. Perhaps you can explain

Pylint, Pep8 and violations

2014-10-15 Thread Sathishkumar Duraisamy
Hi All, I am new to Jenkins and I configuring it for python software with Pytest and pylint (*In windows7 system*). I followed http://www.alexconrad.org/2011/10/jenkins-and-python.html as reference. Virtualenv builder's command pip install pytest pip install pytest-cov pip install

Re: ask for files before build

2014-10-15 Thread corneil.duples...@gmail.com
It looks to me like you want to verify build before checkin. Aren't you able to run the build locally? Jenkins in conjunction with git can reject pull-requests if the build fails. https://wiki.jenkins-ci.org/display/JENKINS/GitHub+pull+request+builder+plugin Some other CI tools have support for

Re: how to execute a shell script in build flow flow dsl section

2014-10-15 Thread Les Mikesell
On Wed, Oct 15, 2014 at 8:04 AM, niraj nandane niraj.nand...@gmail.com wrote: Yeah you are right Les but i am new in field of jenkins.Dont know about groovy at all But you must be doing something relatively complicated to need build-flow at all. Maybe you should start with what you can't do

RE: ask for files before build

2014-10-15 Thread niraj nandane
Yes i want to check changes before checkin On Oct 15, 2014 6:41 PM, matthew.web...@diamond.ac.uk wrote: You can't prompt for a file in a build step, since at that point there is no user to ask! The jobs is already running. If you want to prompt a user, then the only point it makes sense to

Re: ask for files before build

2014-10-15 Thread Les Mikesell
On Wed, Oct 15, 2014 at 1:36 PM, niraj nandane niraj.nand...@gmail.com wrote: Yes i want to check changes before checkin Can't you just do a build on your local machine where you are doing the work? Why does jenkins need to be involved at this point? Or alternatively, why not commit to a

Configure Plugins via Jenkins CLI

2014-10-15 Thread Stuart Milton
Hi Guys, I've been working with Jenkins for a while now, but am now trying to create a script to install Jenkins/Sonar etc to slowly work towards an automated CI Server Build. Anyway, I've added plugins via the CLI (sonar,Email-ext,sbt), wondered if its possible to configure these via a

Re: force mass job save

2014-10-15 Thread jieryn
I don't have the same findings as you. I @daily have an infra_save_items job with an Execute system Groovy script of: for (item in hudson.model.Hudson.instance.items) { println(Saving + item); item.save(); } Not only does this work, but it does it quite quick; it also preserves any sort of

Re: ask for files before build

2014-10-15 Thread niraj nandane
Hi Patricia, We are also looking the same solution. Can you please let us know how you have achieved below task: 1. How you are making sandbox=true builds ,which plugins you are using to achieve this? 2.a user can also pick a smaller subset of these tests how you have achieve this? If possible