RE: New build flow seems to break many things
That sounds like an issue in the email-ext. I get mails from the normal jenkins mailer. /James From: jenkinsci-users@googlegroups.com [mailto:jenkinsci-users@googlegroups.com] On Behalf Of Tim Jackson Sent: 30 April 2014 23:05 To: jenkinsci-users@googlegroups.com Subject: Re: New build flow seems to break many things I agree that .11 is a huge step backwards for me. As far as I can tell, the build flow plugin no longer triggers the failure event of the email-ext plugin. So I am no longer getting failure mails for the overall job. Setting up a new job to handle the failure mail is redundant and can fail itself, thus changing the results. I am more apt to just dump the build flow plugin and find a more suitable method. It is very disappointing to have functionality removed. A lot of us have based large amounts of work on what it did. - Tim On Friday, April 18, 2014 10:13:26 AM UTC-6, Greg Dickie wrote: Hi, We updated to the latest build flow without workspaces and all of the change reporting seems to have broken. In addition builds are no longer finding the latest git commit on branches. This is quite a setback for us. What was the rational for those changes and is there an alternative mechanism in the new plugin to get this functionality back? Thanks, Greg -- 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.commailto:jenkinsci-users+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout. -- 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. For more options, visit https://groups.google.com/d/optout.
Re: BUILD FLOW parallel closure simple example
Stuart I still get the same result using your suggestion...below is exactly what I did and my results: I created a build flow job called *TestJobDSL* containing the following script in the Define build flow using flow DSL section of Build Triggers: // construct and collect closures for LATER execution buildClosures = [] for (int i=1; i50; i++) { def curClosure = { def j = i build(TestParameterized, Parameter: j) } buildClosures.add(curClosure) } // execute the closures in buildClosures in parallel parallel(buildClosures) *TestParameterized *was created as free-style job with one parameter. In the build section, I have a Windows Execute Batch Command s containing the following: echo %Parameter% When I run *TestJobDSL* this is what I see in the console: Started by user XX [EnvInject] - Loading node environment variables. Building on master in workspace C:\Users\XX\.jenkins\jobs\TestJobDSL\workspace parallel { Schedule job TestParameterized http://localhost:8082/job/TestParameterized/ Schedule job TestParameterized http://localhost:8082/job/TestParameterized/ *... (truncated for brevity)* Schedule job TestParameterized http://localhost:8082/job/TestParameterized/ Schedule job TestParameterized http://localhost:8082/job/TestParameterized/ Build TestParameterized #6 http://localhost:8082/job/TestParameterized/6/ started Schedule job TestParameterized http://localhost:8082/job/TestParameterized/ Schedule job TestParameterized http://localhost:8082/job/TestParameterized/ Build TestParameterized #6 http://localhost:8082/job/TestParameterized/6/ started Schedule job TestParameterized http://localhost:8082/job/TestParameterized/ Build TestParameterized #6 http://localhost:8082/job/TestParameterized/6/ started Schedule job TestParameterized http://localhost:8082/job/TestParameterized/ Build TestParameterized #6 http://localhost:8082/job/TestParameterized/6/ started Build TestParameterized #6 http://localhost:8082/job/TestParameterized/6/ started Build TestParameterized #6 http://localhost:8082/job/TestParameterized/6/ started Build TestParameterized #6 http://localhost:8082/job/TestParameterized/6/ started Schedule job TestParameterized http://localhost:8082/job/TestParameterized/ Build TestParameterized #6 http://localhost:8082/job/TestParameterized/6/ started Schedule job TestParameterized http://localhost:8082/job/TestParameterized/*... (truncated for brevity)* Schedule job TestParameterize http://localhost:8082/job/TestParameterized/*d* ... truncated for brevity Schedule job TestParameterized http://localhost:8082/job/TestParameterized/ Build TestParameterized #6 http://localhost:8082/job/TestParameterized/6/ started Build TestParameterized #6 http://localhost:8082/job/TestParameterized/6/ started Schedule job TestParameterized http://localhost:8082/job/TestParameterized/ Schedule job TestParameterized http://localhost:8082/job/TestParameterized/ Build TestParameterized #6 http://localhost:8082/job/TestParameterized/6/ started Build TestParameterized #6 http://localhost:8082/job/TestParameterized/6/ started Schedule job TestParameterized http://localhost:8082/job/TestParameterized/ Schedule job TestParameterized http://localhost:8082/job/TestParameterized/ *... (truncated for brevity)* Schedule job TestParameterized http://localhost:8082/job/TestParameterized/ Schedule job TestParameterized http://localhost:8082/job/TestParameterized/ Schedule job TestParameterized http://localhost:8082/job/TestParameterized/ Build TestParameterized #6 http://localhost:8082/job/TestParameterized/6/ started Build TestParameterized #6 http://localhost:8082/job/TestParameterized/6/ started Build TestParameterized #6 http://localhost:8082/job/TestParameterized/6/ started TestParameterized #6 http://localhost:8082/job/TestParameterized/6/ completed TestParameterized #6 http://localhost:8082/job/TestParameterized/6/ completed TestParameterized #6 http://localhost:8082/job/TestParameterized/6/ completed TestParameterized #6 http://localhost:8082/job/TestParameterized/6/ completed TestParameterized #6 http://localhost:8082/job/TestParameterized/6/ completed *... (truncated for brevity)* TestParameterized #6 http://localhost:8082/job/TestParameterized/6/ completed TestParameterized #6 http://localhost:8082/job/TestParameterized/6/ completed TestParameterized #6 http://localhost:8082/job/TestParameterized/6/ completed TestParameterized #6 http://localhost:8082/job/TestParameterized/6/ completed Build TestParameterized #7 http://localhost:8082/job/TestParameterized/7/ started Build TestParameterized #7 http://localhost:8082/job/TestParameterized/7/ started *... (truncated for brevity)* Build TestParameterized #7 http://localhost:8082/job/TestParameterized/7/ started Build TestParameterized #7
Bugzilla
Hi folks i installed bugzilla Plugin but i did find Bugzilla tab in configuration .were we find bugzilla tab -- 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. For more options, visit https://groups.google.com/d/optout.
Re: Mercurial + multi-configuration job = extra branches, lots of pain
So I ended up circumventing my problem by getting rid of the multi-configuration plug-in. I just pull once at the top, build everything in sequence, including both platforms, and commit at the end. Haven't had a problem since. Seems that the Hg plugin and multi-config just haven't been thoroughly tested together. On Monday, April 21, 2014 4:24:33 PM UTC-4, bluntcoder wrote: Hi everyone, I'm looking for some insight on the best way to set-up a multi-configuration job in Jenkins using Mercurial. I have a project which has two platforms: mobile and web. First off, Jenkins decides arbitrarily which one to build first. Note that I have Run each configuration sequentially otherwise everything really goes haywire. So whatever build it decides to build, (let's say mobile) - works flawlessly. The end step of my build I have it committing to my repository in the cloud and waiting a significant amount of time (30 seconds) before the web build starts. When the second platform starts building, more often than not - I get inconsistencies in my change logs, and frequent merge hell and multiple branches happening. So my questions are: 1. Is any best practices when trying to avoid having Jenkins create branches when committing fresh builds? Unfortunately I require the build to be part of main branch, (I won't bother explaining why, it's complicated) Currently my setup works like so; - Standard clean update by mercurial via default branch - - hg purge - hg update --clean (for paranoia) - Build my project (which takes about 60-90 seconds) - - hg pull -u - del *.orig /s - hg addremove - hg status - hg commit -A -m Successful build of %deployment% #%BUILD_NUMBER% on %BUILD_ID% - hg push - wait 30 seconds before finishing job That extra pull -u after the build is for merging any additional changes that may have been submitted while the build was running. That's it. So when my second variable of my %deployment% axis starts, things go to hell - especially if a previous build failed. The Jenkins change log reports minimal changes (maybe 1 one changeset) while the third pull -u then re-downloads what should have been downloaded from the previous build. (Both platforms commit and push to the same branch). Often the platform creates a new head - and I just can't make any sense of why this is happening. Unless Jenkins always does a pull and an update right at the beginning regardless of doing builds sequentially or not. That would definitely contribute to this mess. Jenkins can't be this screwed up. It has to be me. I have to be doing something fundamentally wrong by not understanding how multiple configuration builds work - or at the very least, I don't know the secret sauce which ensures my build repo will always be clean and ready to work regardless the state of the previous build. Can anyone provide any insight? If I can't figure this out I'll resort to individual normal jobs and build them with the parametrized trigger plug-in. Thanks! bluntcoder -- 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. For more options, visit https://groups.google.com/d/optout.
Running a jenkins windows batch command non-headless mode
Hi there. Hopefully this is an easy answer. I have an automated test I'm trying to run that requires initialization of the graphics driver, and thus I need a window to pop up in Windows. Is there anyway within a Jenkins project to make a command run it in interactive, on the desktop mode instead of it being headless? I have already switched the Jenkins user to use it's own independent system account, windows login and all, but that still hasn't done the trick. Thanks! -- 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. For more options, visit https://groups.google.com/d/optout.
Re: Running a jenkins windows batch command non-headless mode
People I know who've done this have run the Windows test machine as a JNLP slave. Eric On 5/1/2014 8:14 AM, bluntcoder wrote: Hi there. Hopefully this is an easy answer. I have an automated test I'm trying to run that requires initialization of the graphics driver, and thus I need a window to pop up in Windows. Is there anyway within a Jenkins project to make a command run it in interactive, on the desktop mode instead of it being headless? I have already switched the Jenkins user to use it's own independent system account, windows login and all, but that still hasn't done the trick. Thanks! -- 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 mailto:jenkinsci-users+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout. -- 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. For more options, visit https://groups.google.com/d/optout.
Re: Java Version 7, Update 45 warning every time I try starting the slave
Try this: Open Java in your control panel Go to the Security tab Click edit site list Click Add Enter in the root url of your jenkins server Not 100% sure if that will work for you, but I believe we had to do that with a couple of our build machines running java 7. You might get the prompt initially still, but I think there is an option to trust on the prompt. - Original Message - From: gho_v gho0...@gmail.com To: jenkinsci-users@googlegroups.com Sent: Wednesday, April 30, 2014 8:52:38 PM Subject: Re: Java Version 7, Update 45 warning every time I try starting the slave Hi, I have the same problem, I upgraded Jenkins to the latest version (1.561), I setup the window slave using 'Launch slave agents via Java Web Start'. Everytime I restart window (installed with Java 1.7 update 45), I got the security warning pop up to ask me 'Do you want to run this application?' and I need to click 'Run' to continue. Is there any way to bypass/disable this pop up? I have jobs that will restart window and I don't want to manually go into the window node to click 'Run' to continue running the jenkins jobs. Thanks. -- 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 . For more options, visit https://groups.google.com/d/optout . -- 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. For more options, visit https://groups.google.com/d/optout.
Re: Running a jenkins windows batch command non-headless mode
Yeah you should be able to install the slave as a service Go into services, right click on the slave service and go to properties Go to the Log On tab and check the box that says Allow service to interact with desktop - Original Message - From: Eric Pyle eric.p...@cd-adapco.com To: jenkinsci-users@googlegroups.com Sent: Thursday, May 1, 2014 7:18:13 AM Subject: Re: Running a jenkins windows batch command non-headless mode People I know who've done this have run the Windows test machine as a JNLP slave. Eric On 5/1/2014 8:14 AM, bluntcoder wrote: Hi there. Hopefully this is an easy answer. I have an automated test I'm trying to run that requires initialization of the graphics driver, and thus I need a window to pop up in Windows. Is there anyway within a Jenkins project to make a command run it in interactive, on the desktop mode instead of it being headless? I have already switched the Jenkins user to use it's own independent system account, windows login and all, but that still hasn't done the trick. Thanks! -- 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 . For more options, visit https://groups.google.com/d/optout . -- 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 . For more options, visit https://groups.google.com/d/optout . -- 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. For more options, visit https://groups.google.com/d/optout.
Re: Running a jenkins windows batch command non-headless mode
This is my main Jenkins box though. How will this affect all my other jobs? On May 1, 2014 8:31 AM, k.thiel...@comcast.net wrote: Yeah you should be able to install the slave as a service Go into services, right click on the slave service and go to properties Go to the Log On tab and check the box that says Allow service to interact with desktop -- *From: *Eric Pyle eric.p...@cd-adapco.com *To: *jenkinsci-users@googlegroups.com *Sent: *Thursday, May 1, 2014 7:18:13 AM *Subject: *Re: Running a jenkins windows batch command non-headless mode People I know who've done this have run the Windows test machine as a JNLP slave. Eric On 5/1/2014 8:14 AM, bluntcoder wrote: Hi there. Hopefully this is an easy answer. I have an automated test I'm trying to run that requires initialization of the graphics driver, and thus I need a window to pop up in Windows. Is there anyway within a Jenkins project to make a command run it in interactive, on the desktop mode instead of it being headless? I have already switched the Jenkins user to use it's own independent system account, windows login and all, but that still hasn't done the trick. Thanks! -- 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. For more options, visit https://groups.google.com/d/optout. -- 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. For more options, visit https://groups.google.com/d/optout. -- You received this message because you are subscribed to a topic in the Google Groups Jenkins Users group. To unsubscribe from this topic, visit https://groups.google.com/d/topic/jenkinsci-users/LplqhAFcLrc/unsubscribe. To unsubscribe from this group and all its topics, send an email to jenkinsci-users+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout. -- 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. For more options, visit https://groups.google.com/d/optout.
Re: Running a jenkins windows batch command non-headless mode
It really shouldnt affect the other jobs, however, to be safe you could set up a slave service on the main jenkins box so that it has the main jenkins service and a slave service. Set up that particular job to run on that slave rather than the master. - Original Message - From: Mark Mikulec miku...@gmail.com To: jenkinsci-users@googlegroups.com Sent: Thursday, May 1, 2014 7:58:02 AM Subject: Re: Running a jenkins windows batch command non-headless mode This is my main Jenkins box though. How will this affect all my other jobs? On May 1, 2014 8:31 AM, k.thiel...@comcast.net wrote: Yeah you should be able to install the slave as a service Go into services, right click on the slave service and go to properties Go to the Log On tab and check the box that says Allow service to interact with desktop From: Eric Pyle eric.p...@cd-adapco.com To: jenkinsci-users@googlegroups.com Sent: Thursday, May 1, 2014 7:18:13 AM Subject: Re: Running a jenkins windows batch command non-headless mode People I know who've done this have run the Windows test machine as a JNLP slave. Eric On 5/1/2014 8:14 AM, bluntcoder wrote: blockquote Hi there. Hopefully this is an easy answer. I have an automated test I'm trying to run that requires initialization of the graphics driver, and thus I need a window to pop up in Windows. Is there anyway within a Jenkins project to make a command run it in interactive, on the desktop mode instead of it being headless? I have already switched the Jenkins user to use it's own independent system account, windows login and all, but that still hasn't done the trick. Thanks! -- 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 . For more options, visit https://groups.google.com/d/optout . -- 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 . For more options, visit https://groups.google.com/d/optout . -- You received this message because you are subscribed to a topic in the Google Groups Jenkins Users group. To unsubscribe from this topic, visit https://groups.google.com/d/topic/jenkinsci-users/LplqhAFcLrc/unsubscribe . To unsubscribe from this group and all its topics, send an email to jenkinsci-users+unsubscr...@googlegroups.com . For more options, visit https://groups.google.com/d/optout . /blockquote -- 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 . For more options, visit https://groups.google.com/d/optout . -- 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. For more options, visit https://groups.google.com/d/optout.
Restoring Access to my jenkins-ci.org account
Hey Guys, looks like my username simschla has been migrated from java.net to jenkins-ci.org - but I don't remember the password (or it does not work) and resetting the password results in no e-mail landing in my inbox. Can anybody help me get access to my account? Cheers, Simon -- 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. For more options, visit https://groups.google.com/d/optout.
Re: New build flow seems to break many things
Hi Nicolas, I would like to understand the reason for that design. Maybe I'm using it incorrectly but it was doing what we needed. Why wouldn't you want SCM polling, artifacts, etc.? Is the intention that we create build steps to handle that stuff or is build flow not the right way to go for this? Thanks, Grg On Thursday, May 1, 2014 1:42:11 AM UTC-4, Nicolas De loof wrote: yes, build-flow is desgined for orchestration, not as a regular job with SCM workspace and all that being said, as I can't find spare time to invest on this plugin, feel free to take leadership on it and make it evolve your way 2014-05-01 0:13 GMT+02:00 Les Mikesell lesmi...@gmail.com javascript:: On Wed, Apr 30, 2014 at 5:05 PM, Tim Jackson lost...@gmail.comjavascript: wrote: I agree that .11 is a huge step backwards for me. As far as I can tell, the build flow plugin no longer triggers the failure event of the email-ext plugin. So I am no longer getting failure mails for the overall job. Setting up a new job to handle the failure mail is redundant and can fail itself, thus changing the results. I am more apt to just dump the build flow plugin and find a more suitable method. It is very disappointing to have functionality removed. A lot of us have based large amounts of work on what it did. I think the only way to make it do anything is to set up one job that just polls the SCM and triggers the build-flow job, then pass all your build parameters around to a final job executed by the flow that uses the copy artifacts plugin to gather up the results of whatever the other elements did. Seems like a lot of clutter and a confusing process to have to start one job but end up with the results in another. -- Les Mikesell lesmi...@gmail.com javascript: -- 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-use...@googlegroups.com javascript:. For more options, visit https://groups.google.com/d/optout. -- 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. For more options, visit https://groups.google.com/d/optout.
Re: Running a jenkins windows batch command non-headless mode
Since I'm using already a custom Jenkins local account, I do not have that option. Which is why I'm confused that it doesn't work. Maybe its because its a service? On May 1, 2014 8:31 AM, k.thiel...@comcast.net wrote: Yeah you should be able to install the slave as a service Go into services, right click on the slave service and go to properties Go to the Log On tab and check the box that says Allow service to interact with desktop -- *From: *Eric Pyle eric.p...@cd-adapco.com *To: *jenkinsci-users@googlegroups.com *Sent: *Thursday, May 1, 2014 7:18:13 AM *Subject: *Re: Running a jenkins windows batch command non-headless mode People I know who've done this have run the Windows test machine as a JNLP slave. Eric On 5/1/2014 8:14 AM, bluntcoder wrote: Hi there. Hopefully this is an easy answer. I have an automated test I'm trying to run that requires initialization of the graphics driver, and thus I need a window to pop up in Windows. Is there anyway within a Jenkins project to make a command run it in interactive, on the desktop mode instead of it being headless? I have already switched the Jenkins user to use it's own independent system account, windows login and all, but that still hasn't done the trick. Thanks! -- 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. For more options, visit https://groups.google.com/d/optout. -- 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. For more options, visit https://groups.google.com/d/optout. -- You received this message because you are subscribed to a topic in the Google Groups Jenkins Users group. To unsubscribe from this topic, visit https://groups.google.com/d/topic/jenkinsci-users/LplqhAFcLrc/unsubscribe. To unsubscribe from this group and all its topics, send an email to jenkinsci-users+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout. -- 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. For more options, visit https://groups.google.com/d/optout.
Re: Running a jenkins windows batch command non-headless mode
I'm not sure about that. Is there a reason you need to use a custom account instead of local system? As I said, you could set up a slave service to run on this machine for certain jobs and have that be under local system. - Original Message - From: Mark Mikulec miku...@gmail.com To: jenkinsci-users@googlegroups.com Sent: Thursday, May 1, 2014 9:43:14 AM Subject: Re: Running a jenkins windows batch command non-headless mode Since I'm using already a custom Jenkins local account, I do not have that option. Which is why I'm confused that it doesn't work. Maybe its because its a service? On May 1, 2014 8:31 AM, k.thiel...@comcast.net wrote: Yeah you should be able to install the slave as a service Go into services, right click on the slave service and go to properties Go to the Log On tab and check the box that says Allow service to interact with desktop From: Eric Pyle eric.p...@cd-adapco.com To: jenkinsci-users@googlegroups.com Sent: Thursday, May 1, 2014 7:18:13 AM Subject: Re: Running a jenkins windows batch command non-headless mode People I know who've done this have run the Windows test machine as a JNLP slave. Eric On 5/1/2014 8:14 AM, bluntcoder wrote: blockquote Hi there. Hopefully this is an easy answer. I have an automated test I'm trying to run that requires initialization of the graphics driver, and thus I need a window to pop up in Windows. Is there anyway within a Jenkins project to make a command run it in interactive, on the desktop mode instead of it being headless? I have already switched the Jenkins user to use it's own independent system account, windows login and all, but that still hasn't done the trick. Thanks! -- 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 . For more options, visit https://groups.google.com/d/optout . -- 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 . For more options, visit https://groups.google.com/d/optout . -- You received this message because you are subscribed to a topic in the Google Groups Jenkins Users group. To unsubscribe from this topic, visit https://groups.google.com/d/topic/jenkinsci-users/LplqhAFcLrc/unsubscribe . To unsubscribe from this group and all its topics, send an email to jenkinsci-users+unsubscr...@googlegroups.com . For more options, visit https://groups.google.com/d/optout . /blockquote -- 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 . For more options, visit https://groups.google.com/d/optout . -- 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. For more options, visit https://groups.google.com/d/optout.
Matrix build workspaces
We have a bunch of matrix (multi-configuration) build jobs which are configured to use a Git plugin to pull source code into the job workspace. Unfortunately, what happens is that the parent job pulls the full set of code and expands it into the parent workspace, only to then fire off all of the child configuration jobs and redo all of the source code pulling from Git and populating for the actual builds against the configured targets into each of the child job workspaces. Is there a reason that the parent does the pull for no apparent reason, since the parent doesn't actually do anything other than just fire off the children and wait for them to be done? If there is no reason, is there any way to disable this functionality on the parent build? We have some builds which are pulling down 8-10 gig of content for a build, and if there is a way to turn that off for the parent, we'd be far ahead with build speed performance and disk space. In our environment, the parent build could run on any number of different nodes and there isn't a built-in way to clean up those old workspaces so we are ending up with several stale parent instances as time goes on. Thanks in advance! Scott -- 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. For more options, visit https://groups.google.com/d/optout.
Re: Running a jenkins windows batch command non-headless mode
Make sure the service is set to interact with the desktop, but I believe you also need to make sure that there's an account logged in, so there's a desktop session to interact with. Scott On Thu, May 1, 2014 at 9:57 AM, k.thiel...@comcast.net wrote: I'm not sure about that. Is there a reason you need to use a custom account instead of local system? As I said, you could set up a slave service to run on this machine for certain jobs and have that be under local system. -- *From: *Mark Mikulec miku...@gmail.com *To: *jenkinsci-users@googlegroups.com *Sent: *Thursday, May 1, 2014 9:43:14 AM *Subject: *Re: Running a jenkins windows batch command non-headless mode Since I'm using already a custom Jenkins local account, I do not have that option. Which is why I'm confused that it doesn't work. Maybe its because its a service? On May 1, 2014 8:31 AM, k.thiel...@comcast.net wrote: Yeah you should be able to install the slave as a service Go into services, right click on the slave service and go to properties Go to the Log On tab and check the box that says Allow service to interact with desktop -- *From: *Eric Pyle eric.p...@cd-adapco.com *To: *jenkinsci-users@googlegroups.com *Sent: *Thursday, May 1, 2014 7:18:13 AM *Subject: *Re: Running a jenkins windows batch command non-headless mode People I know who've done this have run the Windows test machine as a JNLP slave. Eric On 5/1/2014 8:14 AM, bluntcoder wrote: Hi there. Hopefully this is an easy answer. I have an automated test I'm trying to run that requires initialization of the graphics driver, and thus I need a window to pop up in Windows. Is there anyway within a Jenkins project to make a command run it in interactive, on the desktop mode instead of it being headless? I have already switched the Jenkins user to use it's own independent system account, windows login and all, but that still hasn't done the trick. Thanks! -- 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. For more options, visit https://groups.google.com/d/optout. -- 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. For more options, visit https://groups.google.com/d/optout. -- You received this message because you are subscribed to a topic in the Google Groups Jenkins Users group. To unsubscribe from this topic, visit https://groups.google.com/d/topic/jenkinsci-users/LplqhAFcLrc/unsubscribe . To unsubscribe from this group and all its topics, send an email to jenkinsci-users+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout. -- 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. For more options, visit https://groups.google.com/d/optout. -- 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. For more options, visit https://groups.google.com/d/optout. -- 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. For more options, visit https://groups.google.com/d/optout.
Re: Running a jenkins windows batch command non-headless mode
The reason is due to a bug in the mercurial plugin that requires an authentication token be cached in the users profile. Otherwise the job would always re-clone the repo every build. On May 1, 2014 10:57 AM, k.thiel...@comcast.net wrote: I'm not sure about that. Is there a reason you need to use a custom account instead of local system? As I said, you could set up a slave service to run on this machine for certain jobs and have that be under local system. -- *From: *Mark Mikulec miku...@gmail.com *To: *jenkinsci-users@googlegroups.com *Sent: *Thursday, May 1, 2014 9:43:14 AM *Subject: *Re: Running a jenkins windows batch command non-headless mode Since I'm using already a custom Jenkins local account, I do not have that option. Which is why I'm confused that it doesn't work. Maybe its because its a service? On May 1, 2014 8:31 AM, k.thiel...@comcast.net wrote: Yeah you should be able to install the slave as a service Go into services, right click on the slave service and go to properties Go to the Log On tab and check the box that says Allow service to interact with desktop -- *From: *Eric Pyle eric.p...@cd-adapco.com *To: *jenkinsci-users@googlegroups.com *Sent: *Thursday, May 1, 2014 7:18:13 AM *Subject: *Re: Running a jenkins windows batch command non-headless mode People I know who've done this have run the Windows test machine as a JNLP slave. Eric On 5/1/2014 8:14 AM, bluntcoder wrote: Hi there. Hopefully this is an easy answer. I have an automated test I'm trying to run that requires initialization of the graphics driver, and thus I need a window to pop up in Windows. Is there anyway within a Jenkins project to make a command run it in interactive, on the desktop mode instead of it being headless? I have already switched the Jenkins user to use it's own independent system account, windows login and all, but that still hasn't done the trick. Thanks! -- 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. For more options, visit https://groups.google.com/d/optout. -- 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. For more options, visit https://groups.google.com/d/optout. -- You received this message because you are subscribed to a topic in the Google Groups Jenkins Users group. To unsubscribe from this topic, visit https://groups.google.com/d/topic/jenkinsci-users/LplqhAFcLrc/unsubscribe . To unsubscribe from this group and all its topics, send an email to jenkinsci-users+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout. -- 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. For more options, visit https://groups.google.com/d/optout. -- You received this message because you are subscribed to a topic in the Google Groups Jenkins Users group. To unsubscribe from this topic, visit https://groups.google.com/d/topic/jenkinsci-users/LplqhAFcLrc/unsubscribe. To unsubscribe from this group and all its topics, send an email to jenkinsci-users+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout. -- 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. For more options, visit https://groups.google.com/d/optout.
Re: Running a jenkins windows batch command non-headless mode
Nope, even when I'm logged on, it doesn't work. However I stopped the service and ran it directly via the command line. That in fact did work. A bit sloppy, but that's just the way windows is. Thanks for everyone's help! bc On May 1, 2014 11:07 AM, Mark Mikulec miku...@gmail.com wrote: There is no option to interact with desktop (unless its a command line switch). But being logged in as that user seems kind of obvious now. I will try it. thanks! On May 1, 2014 10:58 AM, Scott Evans milwrd...@gmail.com wrote: Make sure the service is set to interact with the desktop, but I believe you also need to make sure that there's an account logged in, so there's a desktop session to interact with. Scott On Thu, May 1, 2014 at 9:57 AM, k.thiel...@comcast.net wrote: I'm not sure about that. Is there a reason you need to use a custom account instead of local system? As I said, you could set up a slave service to run on this machine for certain jobs and have that be under local system. -- *From: *Mark Mikulec miku...@gmail.com *To: *jenkinsci-users@googlegroups.com *Sent: *Thursday, May 1, 2014 9:43:14 AM *Subject: *Re: Running a jenkins windows batch command non-headless mode Since I'm using already a custom Jenkins local account, I do not have that option. Which is why I'm confused that it doesn't work. Maybe its because its a service? On May 1, 2014 8:31 AM, k.thiel...@comcast.net wrote: Yeah you should be able to install the slave as a service Go into services, right click on the slave service and go to properties Go to the Log On tab and check the box that says Allow service to interact with desktop -- *From: *Eric Pyle eric.p...@cd-adapco.com *To: *jenkinsci-users@googlegroups.com *Sent: *Thursday, May 1, 2014 7:18:13 AM *Subject: *Re: Running a jenkins windows batch command non-headless mode People I know who've done this have run the Windows test machine as a JNLP slave. Eric On 5/1/2014 8:14 AM, bluntcoder wrote: Hi there. Hopefully this is an easy answer. I have an automated test I'm trying to run that requires initialization of the graphics driver, and thus I need a window to pop up in Windows. Is there anyway within a Jenkins project to make a command run it in interactive, on the desktop mode instead of it being headless? I have already switched the Jenkins user to use it's own independent system account, windows login and all, but that still hasn't done the trick. Thanks! -- 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. For more options, visit https://groups.google.com/d/optout. -- 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. For more options, visit https://groups.google.com/d/optout. -- You received this message because you are subscribed to a topic in the Google Groups Jenkins Users group. To unsubscribe from this topic, visit https://groups.google.com/d/topic/jenkinsci-users/LplqhAFcLrc/unsubscribe . To unsubscribe from this group and all its topics, send an email to jenkinsci-users+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout. -- 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. For more options, visit https://groups.google.com/d/optout. -- 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. For more options, visit https://groups.google.com/d/optout. -- You received this message because you are subscribed to a topic in the Google Groups Jenkins Users group. To unsubscribe from this topic, visit https://groups.google.com/d/topic/jenkinsci-users/LplqhAFcLrc/unsubscribe . To unsubscribe from this group and all its topics, send an email to jenkinsci-users+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout. -- 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. For more options, visit https://groups.google.com/d/optout.
Re: Running a jenkins windows batch command non-headless mode
Then I would suggest creating a batch script or something that starts the service when the user logs in by putting it in the startup folder. - Original Message - From: Mark Mikulec miku...@gmail.com To: jenkinsci-users@googlegroups.com Sent: Thursday, May 1, 2014 10:19:52 AM Subject: Re: Running a jenkins windows batch command non-headless mode Nope, even when I'm logged on, it doesn't work. However I stopped the service and ran it directly via the command line. That in fact did work. A bit sloppy, but that's just the way windows is. Thanks for everyone's help! bc On May 1, 2014 11:07 AM, Mark Mikulec miku...@gmail.com wrote: There is no option to interact with desktop (unless its a command line switch). But being logged in as that user seems kind of obvious now. I will try it. thanks! On May 1, 2014 10:58 AM, Scott Evans milwrd...@gmail.com wrote: blockquote Make sure the service is set to interact with the desktop, but I believe you also need to make sure that there's an account logged in, so there's a desktop session to interact with. Scott On Thu, May 1, 2014 at 9:57 AM, k.thiel...@comcast.net wrote: blockquote I'm not sure about that. Is there a reason you need to use a custom account instead of local system? As I said, you could set up a slave service to run on this machine for certain jobs and have that be under local system. From: Mark Mikulec miku...@gmail.com To: jenkinsci-users@googlegroups.com Sent: Thursday, May 1, 2014 9:43:14 AM Subject: Re: Running a jenkins windows batch command non-headless mode Since I'm using already a custom Jenkins local account, I do not have that option. Which is why I'm confused that it doesn't work. Maybe its because its a service? On May 1, 2014 8:31 AM, k.thiel...@comcast.net wrote: blockquote Yeah you should be able to install the slave as a service Go into services, right click on the slave service and go to properties Go to the Log On tab and check the box that says Allow service to interact with desktop From: Eric Pyle eric.p...@cd-adapco.com To: jenkinsci-users@googlegroups.com Sent: Thursday, May 1, 2014 7:18:13 AM Subject: Re: Running a jenkins windows batch command non-headless mode People I know who've done this have run the Windows test machine as a JNLP slave. Eric On 5/1/2014 8:14 AM, bluntcoder wrote: blockquote Hi there. Hopefully this is an easy answer. I have an automated test I'm trying to run that requires initialization of the graphics driver, and thus I need a window to pop up in Windows. Is there anyway within a Jenkins project to make a command run it in interactive, on the desktop mode instead of it being headless? I have already switched the Jenkins user to use it's own independent system account, windows login and all, but that still hasn't done the trick. Thanks! -- 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 . For more options, visit https://groups.google.com/d/optout . -- 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 . For more options, visit https://groups.google.com/d/optout . -- You received this message because you are subscribed to a topic in the Google Groups Jenkins Users group. To unsubscribe from this topic, visit https://groups.google.com/d/topic/jenkinsci-users/LplqhAFcLrc/unsubscribe . To unsubscribe from this group and all its topics, send an email to jenkinsci-users+unsubscr...@googlegroups.com . For more options, visit https://groups.google.com/d/optout . /blockquote -- 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 . For more options, visit https://groups.google.com/d/optout . -- 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 . For more options, visit https://groups.google.com/d/optout . /blockquote -- You received this message because you are subscribed to a topic in the Google Groups Jenkins Users group. To unsubscribe from this topic, visit https://groups.google.com/d/topic/jenkinsci-users/LplqhAFcLrc/unsubscribe . To unsubscribe from this group and all its topics, send an email to jenkinsci-users+unsubscr...@googlegroups.com . For more options, visit https://groups.google.com/d/optout . /blockquote /blockquote -- You received this message
Re: Bugzilla
A Bugzilla section shows up on the Configure page (http://your install/configure). It allows three settings: Bug ID Regex - I have not found this to work completely to include things like Bug I can only get it to put hyperlinks on numbers. I use \b#?[0-9]{3}\b because, for now, all of our bugs are in the triple digits. This works well as long as you are already signed into your bugzilla site in the same browser and I can open a bug by clicking that hyperlink. Bugzilla base URL - This is the URL of your Bugzilla instance Enable tooltips showing bug summary - This would enable use of an Admin level Bugzilla account that would, theoretically, show bug details in a tool tip or status bar. I have not seen it work. This plugin is no longer in development, but could be taken over by someone to continue. Tim On Thursday, May 1, 2014 5:55:25 AM UTC-6, Mallepally Sandeep Reddy wrote: Hi folks i installed bugzilla Plugin but i did find Bugzilla tab in configuration .were we find bugzilla tab -- 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. For more options, visit https://groups.google.com/d/optout.
Re: BUILD FLOW parallel closure simple example
My mistake, the def j = i should be outside of the closure: // construct and collect closures for LATER execution buildClosures = [] for (int i = 1; i50; i++) { def j = i def curClosure = { build(TestParameterized, Parameter : j) } buildClosures.add(curClosure) } // execute the closures in buildClosures in parallel parallel(buildClosures) I ran this locally and got the expected results: arallel { Schedule job TestParameterized http://bur1-d1033471:8080/job/TestParameterized/ Schedule job TestParameterized http://bur1-d1033471:8080/job/TestParameterized/ Schedule job TestParameterized http://bur1-d1033471:8080/job/TestParameterized/ *(truncated for brevity...)* Schedule job TestParameterized http://bur1-d1033471:8080/job/TestParameterized/ Schedule job TestParameterized http://bur1-d1033471:8080/job/TestParameterized/ Build TestParameterized #107 http://bur1-d1033471:8080/job/TestParameterized/107/ started TestParameterized #107 http://bur1-d1033471:8080/job/TestParameterized/107/ completed Build TestParameterized #108 http://bur1-d1033471:8080/job/TestParameterized/108/ started TestParameterized #108 http://bur1-d1033471:8080/job/TestParameterized/108/ completed Build TestParameterized #109 http://bur1-d1033471:8080/job/TestParameterized/109/ started *(truncated for brevity...)* TestParameterized #154 http://bur1-d1033471:8080/job/TestParameterized/154/ completed Build TestParameterized #155 http://bur1-d1033471:8080/job/TestParameterized/155/ started TestParameterized #155 http://bur1-d1033471:8080/job/TestParameterized/155/ completed } Finished: SUCCESS On Thu, May 1, 2014 at 3:50 AM, Peter Lenson pjl83...@gmail.com wrote: Stuart I still get the same result using your suggestion...below is exactly what I did and my results: I created a build flow job called *TestJobDSL* containing the following script in the Define build flow using flow DSL section of Build Triggers: // construct and collect closures for LATER execution buildClosures = [] for (int i=1; i50; i++) { def curClosure = { def j = i build(TestParameterized, Parameter: j) } buildClosures.add(curClosure) } // execute the closures in buildClosures in parallel parallel(buildClosures) *TestParameterized *was created as free-style job with one parameter. In the build section, I have a Windows Execute Batch Command s containing the following: echo %Parameter% When I run *TestJobDSL* this is what I see in the console: Started by user XX [EnvInject] - Loading node environment variables. Building on master in workspace C:\Users\XX\.jenkins\jobs\TestJobDSL\workspace parallel { Schedule job TestParameterized http://localhost:8082/job/TestParameterized/ Schedule job TestParameterized http://localhost:8082/job/TestParameterized/ *... (truncated for brevity)* Schedule job TestParameterized http://localhost:8082/job/TestParameterized/ Schedule job TestParameterized http://localhost:8082/job/TestParameterized/ Build TestParameterized #6 http://localhost:8082/job/TestParameterized/6/ started Schedule job TestParameterized http://localhost:8082/job/TestParameterized/ Schedule job TestParameterized http://localhost:8082/job/TestParameterized/ Build TestParameterized #6 http://localhost:8082/job/TestParameterized/6/ started Schedule job TestParameterized http://localhost:8082/job/TestParameterized/ Build TestParameterized #6 http://localhost:8082/job/TestParameterized/6/ started Schedule job TestParameterized http://localhost:8082/job/TestParameterized/ Build TestParameterized #6 http://localhost:8082/job/TestParameterized/6/ started Build TestParameterized #6 http://localhost:8082/job/TestParameterized/6/ started Build TestParameterized #6 http://localhost:8082/job/TestParameterized/6/ started Build TestParameterized #6 http://localhost:8082/job/TestParameterized/6/ started Schedule job TestParameterized http://localhost:8082/job/TestParameterized/ Build TestParameterized #6 http://localhost:8082/job/TestParameterized/6/ started Schedule job TestParameterized http://localhost:8082/job/TestParameterized/*... (truncated for brevity)* Schedule job TestParameterize http://localhost:8082/job/TestParameterized/*d* ... truncated for brevity Schedule job TestParameterized http://localhost:8082/job/TestParameterized/ Build TestParameterized #6 http://localhost:8082/job/TestParameterized/6/ started Build TestParameterized #6 http://localhost:8082/job/TestParameterized/6/ started Schedule job TestParameterized http://localhost:8082/job/TestParameterized/ Schedule job TestParameterized http://localhost:8082/job/TestParameterized/ Build TestParameterized #6 http://localhost:8082/job/TestParameterized/6/ started Build
Re: Authentication problem (?) when building through a Github webhook
Pinging this to try again to get some other eyes and minds applied to this problem... On Tuesday, January 28, 2014 6:11:21 PM UTC-6, Scott Purcell wrote: Context: I'm maintaining courseware that consists of restructured text source files that we maintain in Github and render into PDFs for our courses. I'm trying to use Jenkins to automatically re-render the PDFs each time changes are committed to the repository. I am a beginning user of Jenkins and beginning-intermediate user of Git and Github. Problem: I have a job that runs fine (see log excerpt 1 below) whenever I, from the Jenkins WebUI, click Build Now. But when changes are committed to GitHub, although Jenkins does detect the commit, the build fails when trying to connect to the repo with at 401 error (see log 2 below) Technical Details: The version of Jenkins you are using Jenkins ver. 1.544 1. How you are launching Jenkins (via java -jar, deployed to Tomcat v7.0.19, etc) /usr/bin/daemon --name=jenkins --inherit --env=JENKINS_HOME=/var/lib/jenkins --output=/var/log/jenkins/jenkins.log --pidfile=/var/run/jenkins/jenkins.pid -- /usr/bin/java -jar /usr/share/jenkins/jenkins.war --webroot=/var/cache/jenkins/war --httpPort=8080 --ajp13Port=-1 The version of Java you are using to launch Jenkins java version 1.7.0_25 OpenJDK Runtime Environment (IcedTea 2.3.10) (7u25-2.3.10-1ubuntu0.12.04.2) OpenJDK 64-Bit Server VM (build 23.7-b01, mixed mode) The version of any plugin which you think is related to the problem - Git server plugin 1.2 - GitHub API Plugin 1.44 - Github Authentication plugin 0.14 - GitHub plugin 1.8 - GitHub Pull Request Builder 1.9 - GitHub SQS Build Trigger Plugin 1.5 Authentication I'm using Oauth tokens (a Personal Access Token) to access my git repos from Jenkins. Log Excerpt 1 Started by user Scott Purcell [EnvInject] - Loading node environment variables. Building in workspace /var/lib/jenkins/jobs/Course-OSFundamentals-Dev/workspace Fetching changes from the remote Git repository Fetching upstream changes from https://obfuscated-Oauth-token@github.com/cloud-training/Course-OSFundamentals-Dev.git Checking out Revision 5ea59b1effedd48729ce7395a2e81d10398387bc (origin/master) [workspace] $ /bin/sh -xe /tmp/hudson1502402201860439422.sh + bash .renderall.sh Log 2 Last GitHub Push Started on Jan 28, 2014 1:45:06 PM Using strategy: Default [poll] Last Built Revision: Revision bcf944840221314b82160a60941723a6e54c0311 (origin/master) FATAL: hudson.plugins.git.GitException: Failed to connect to https://obfuscated-Oauth-token@github.com/cloud-training/Course-OSFundamentals-Dev.git (status = 401) hudson.util.IOException2: hudson.plugins.git.GitException: Failed to connect to https://obfuscated-Oauth-token@github.com/cloud-training/Course-OSFundamentals-Dev.git (status = 401) at hudson.plugins.git.GitSCM.compareRemoteRevisionWith(GitSCM.java:459) at hudson.scm.SCM._compareRemoteRevisionWith(SCM.java:356) at hudson.scm.SCM.poll(SCM.java:373) at hudson.model.AbstractProject._poll(AbstractProject.java:1584) at hudson.model.AbstractProject.poll(AbstractProject.java:1493) at com.cloudbees.jenkins.GitHubPushTrigger$1.runPolling(GitHubPushTrigger.java:73) at com.cloudbees.jenkins.GitHubPushTrigger$1.run(GitHubPushTrigger.java:98) at hudson.util.SequentialExecutionQueue$QueueEntry.run(SequentialExecutionQueue.java:118) at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471) at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:334) at java.util.concurrent.FutureTask.run(FutureTask.java:166) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615) at java.lang.Thread.run(Thread.java:724) Caused by: hudson.plugins.git.GitException: Failed to connect to https://obfuscated-Oauth-token@github.com/cloud-training/Course-OSFundamentals-Dev.git (status = 401) at org.jenkinsci.plugins.gitclient.CliGitAPIImpl.checkCredentials(CliGitAPIImpl.java:1602) at org.jenkinsci.plugins.gitclient.CliGitAPIImpl.launchCommandWithCredentials(CliGitAPIImpl.java:957) at org.jenkinsci.plugins.gitclient.CliGitAPIImpl.launchCommandWithCredentials(CliGitAPIImpl.java:922) at org.jenkinsci.plugins.gitclient.CliGitAPIImpl.getHeadRev(CliGitAPIImpl.java:1438) at hudson.plugins.git.GitSCM.compareRemoteRevisionWithImpl(GitSCM.java:489) at hudson.plugins.git.GitSCM.compareRemoteRevisionWith(GitSCM.java:457) ... 13 more Done. Took 0.31 sec No changes Log Excerpt 3 This instance, right after I had deleted my old tokens and created a new one, worked. Jan 28,
Chrome plugin for Jenkins job monitoring
Hi all, *My use-case/story:* As a lazy developer, I don't want to look at the build monitor or always login to Jenkin's dashboard page to know the statuses of the jobs. Given I almost always have Chrome open, I want the browser to tell me when the currently configured jobs fail or a one-click link (icon near my address bar) to tell me the job statuses. For the above purpose I have created https://github.com/ajaydivakaran/JenkinsJobStatusNotifier Please do try it out, and do let me know your feedback. -- 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. For more options, visit https://groups.google.com/d/optout.
Re: Authentication problem (?) when building through a Github webhook
I believe the current git plugin expects that you'll enter the user name and password as a credential in the Manage Credentials globally, then that your job will reference that credential rather than embedding the credential in the URL. Could you try that? It also has the benefit that your console log won't include your authorization token as plain text. Mark Waite On Thu, May 1, 2014 at 1:42 PM, Scott Purcell scottpurcell78...@gmail.comwrote: Pinging this to try again to get some other eyes and minds applied to this problem... On Tuesday, January 28, 2014 6:11:21 PM UTC-6, Scott Purcell wrote: Context: I'm maintaining courseware that consists of restructured text source files that we maintain in Github and render into PDFs for our courses. I'm trying to use Jenkins to automatically re-render the PDFs each time changes are committed to the repository. I am a beginning user of Jenkins and beginning-intermediate user of Git and Github. Problem: I have a job that runs fine (see log excerpt 1 below) whenever I, from the Jenkins WebUI, click Build Now. But when changes are committed to GitHub, although Jenkins does detect the commit, the build fails when trying to connect to the repo with at 401 error (see log 2 below) Technical Details: The version of Jenkins you are using Jenkins ver. 1.544 1. How you are launching Jenkins (via java -jar, deployed to Tomcat v7.0.19, etc) /usr/bin/daemon --name=jenkins --inherit --env=JENKINS_HOME=/var/lib/jenkins --output=/var/log/jenkins/jenkins.log --pidfile=/var/run/jenkins/jenkins.pid -- /usr/bin/java -jar /usr/share/jenkins/jenkins.war --webroot=/var/cache/jenkins/war --httpPort=8080 --ajp13Port=-1 The version of Java you are using to launch Jenkins java version 1.7.0_25 OpenJDK Runtime Environment (IcedTea 2.3.10) (7u25-2.3.10-1ubuntu0.12.04.2) OpenJDK 64-Bit Server VM (build 23.7-b01, mixed mode) The version of any plugin which you think is related to the problem - Git server plugin 1.2 - GitHub API Plugin 1.44 - Github Authentication plugin 0.14 - GitHub plugin 1.8 - GitHub Pull Request Builder 1.9 - GitHub SQS Build Trigger Plugin 1.5 Authentication I'm using Oauth tokens (a Personal Access Token) to access my git repos from Jenkins. Log Excerpt 1 Started by user Scott Purcell [EnvInject] - Loading node environment variables. Building in workspace /var/lib/jenkins/jobs/Course-OSFundamentals-Dev/workspace Fetching changes from the remote Git repository Fetching upstream changes from https://obfuscated-Oauth-token@github.com/cloud-training/Course-OSFundamentals-Dev.git Checking out Revision 5ea59b1effedd48729ce7395a2e81d10398387bc (origin/master) [workspace] $ /bin/sh -xe /tmp/hudson1502402201860439422.sh + bash .renderall.sh Log 2 Last GitHub Push Started on Jan 28, 2014 1:45:06 PM Using strategy: Default [poll] Last Built Revision: Revision bcf944840221314b82160a60941723a6e54c0311 (origin/master) FATAL: hudson.plugins.git.GitException: Failed to connect to https://obfuscated-Oauth-token@github.com/cloud-training/Course-OSFundamentals-Dev.git (status = 401) hudson.util.IOException2: hudson.plugins.git.GitException: Failed to connect to https://obfuscated-Oauth-token@github.com/cloud-training/Course-OSFundamentals-Dev.git (status = 401) at hudson.plugins.git.GitSCM.compareRemoteRevisionWith(GitSCM.java:459) at hudson.scm.SCM._compareRemoteRevisionWith(SCM.java:356) at hudson.scm.SCM.poll(SCM.java:373) at hudson.model.AbstractProject._poll(AbstractProject.java:1584) at hudson.model.AbstractProject.poll(AbstractProject.java:1493) at com.cloudbees.jenkins.GitHubPushTrigger$1.runPolling(GitHubPushTrigger.java:73) at com.cloudbees.jenkins.GitHubPushTrigger$1.run(GitHubPushTrigger.java:98) at hudson.util.SequentialExecutionQueue$QueueEntry.run(SequentialExecutionQueue.java:118) at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471) at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:334) at java.util.concurrent.FutureTask.run(FutureTask.java:166) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615) at java.lang.Thread.run(Thread.java:724) Caused by: hudson.plugins.git.GitException: Failed to connect to https://obfuscated-Oauth-token@github.com/cloud-training/Course-OSFundamentals-Dev.git (status = 401) at org.jenkinsci.plugins.gitclient.CliGitAPIImpl.checkCredentials(CliGitAPIImpl.java:1602) at org.jenkinsci.plugins.gitclient.CliGitAPIImpl.launchCommandWithCredentials(CliGitAPIImpl.java:957) at org.jenkinsci.plugins.gitclient.CliGitAPIImpl.launchCommandWithCredentials(CliGitAPIImpl.java:922) at
Re: Chrome plugin for Jenkins job monitoring
I attempted to use it by following the README instructions, was able to load it into Chrome, and then when trying to configure it, it refused all the URL's I entered. It reported that the URL was invalid. Are there special configuration steps required? Do I need to restart Chrome after using it? Mark Waite On Thu, May 1, 2014 at 1:49 PM, Ajay Divakaran ajay.divakara...@gmail.comwrote: Hi all, *My use-case/story:* As a lazy developer, I don't want to look at the build monitor or always login to Jenkin's dashboard page to know the statuses of the jobs. Given I almost always have Chrome open, I want the browser to tell me when the currently configured jobs fail or a one-click link (icon near my address bar) to tell me the job statuses. For the above purpose I have created https://github.com/ajaydivakaran/JenkinsJobStatusNotifier Please do try it out, and do let me know your feedback. -- 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. For more options, visit https://groups.google.com/d/optout. -- Thanks! Mark Waite -- 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. For more options, visit https://groups.google.com/d/optout.
How to Configure a Jenkins project to run ant from a Windows Slave
Hi All, Glad this forum is around, I could sure use some help. Here's my story: I have an ant script that's on the windows slave machine that I would like to run from the Jenkins browser, which is located on another server (master). I followed the steps to set up a Master-Slave connection using the Java Web Start method, and that seemed to work, and saw that the Jenkins service was up and running. I verified an established jenkins-service connection between the master and slave machines. I have verified that the owner of the jenkins service belongs to the user that will kick off the ant script. I have also verified from the browser that my slave windows node successfully is connected with Jenkins. All looks well up to this point. I then created a new job on the browser with intentions of executing the ant script that resides on the slave. I made sure to check the 'Restrict where this project can be run' box and added my slave node label. At this point, I thought that Jenkins would delegate this job to the slave everytime this job was executed. I then proceeded to create a build step that would execute ant.bat from the slave, and saved the project. The job kept failing, telling me that it could not find the path specified. I then realized that the job was probably searching for the directory in the master, and not the slave. I looked around some more, but couldn't figure out how to configure the job properly in order for Jenkins to communicate/connect with the slave. Anything I might be missing here? Any help or advice is greatly appreciated. Thanks, JP -- 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. For more options, visit https://groups.google.com/d/optout.
API to tie matrix parent job build
Hello Gang, Any API or groovy way to tie matrix parent job ? Currently this is done by plugin matrix tie parent but I want it by groovy . I tried setAssignedLabel() but this does not work for matrix job . Regards hiteswar -- 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. For more options, visit https://groups.google.com/d/optout.
Re: How to Configure a Jenkins project to run ant from a Windows Slave
The machine which is trying to execute your ant.bat file probably does not have the Ant bin directory in its path. Since it can't find the ant.bat file, it fails. There are a few approaches you might consider: - Modify the PATH on the Windows slave to include the Ant bin directory (the location of ant.bat) - Configure Jenkins to automatically install ant for you (global configuration), then select that specific ant version in your job - Start the Windows slave from a batch file that modifies the PATH to include the Ant bin directory Mark Waite On Thu, May 1, 2014 at 7:42 PM, John Park john.p...@sightlinesystems.comwrote: Hi All, Glad this forum is around, I could sure use some help. Here's my story: I have an ant script that's on the windows slave machine that I would like to run from the Jenkins browser, which is located on another server (master). I followed the steps to set up a Master-Slave connection using the Java Web Start method, and that seemed to work, and saw that the Jenkins service was up and running. I verified an established jenkins-service connection between the master and slave machines. I have verified that the owner of the jenkins service belongs to the user that will kick off the ant script. I have also verified from the browser that my slave windows node successfully is connected with Jenkins. All looks well up to this point. I then created a new job on the browser with intentions of executing the ant script that resides on the slave. I made sure to check the 'Restrict where this project can be run' box and added my slave node label. At this point, I thought that Jenkins would delegate this job to the slave everytime this job was executed. I then proceeded to create a build step that would execute ant.bat from the slave, and saved the project. The job kept failing, telling me that it could not find the path specified. I then realized that the job was probably searching for the directory in the master, and not the slave. I looked around some more, but couldn't figure out how to configure the job properly in order for Jenkins to communicate/connect with the slave. Anything I might be missing here? Any help or advice is greatly appreciated. Thanks, JP -- 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. For more options, visit https://groups.google.com/d/optout. -- Thanks! Mark Waite -- 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. For more options, visit https://groups.google.com/d/optout.
Re: Chrome plugin for Jenkins job monitoring
Mark, The url has to be of the format ip-address:port e.g 182.73.212.230:8080 On Fri, May 2, 2014 at 5:57 AM, Mark Waite mark.earl.wa...@gmail.comwrote: I attempted to use it by following the README instructions, was able to load it into Chrome, and then when trying to configure it, it refused all the URL's I entered. It reported that the URL was invalid. Are there special configuration steps required? Do I need to restart Chrome after using it? Mark Waite On Thu, May 1, 2014 at 1:49 PM, Ajay Divakaran ajay.divakara...@gmail.com wrote: Hi all, *My use-case/story:* As a lazy developer, I don't want to look at the build monitor or always login to Jenkin's dashboard page to know the statuses of the jobs. Given I almost always have Chrome open, I want the browser to tell me when the currently configured jobs fail or a one-click link (icon near my address bar) to tell me the job statuses. For the above purpose I have created https://github.com/ajaydivakaran/JenkinsJobStatusNotifier Please do try it out, and do let me know your feedback. -- 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. For more options, visit https://groups.google.com/d/optout. -- Thanks! Mark Waite -- You received this message because you are subscribed to a topic in the Google Groups Jenkins Users group. To unsubscribe from this topic, visit https://groups.google.com/d/topic/jenkinsci-users/szTfkYPTQro/unsubscribe. To unsubscribe from this group and all its topics, send an email to jenkinsci-users+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout. -- 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. For more options, visit https://groups.google.com/d/optout.
Re: Chrome plugin for Jenkins job monitoring
Just to make it clear. The *http:// *part should *not *be included. On Fri, May 2, 2014 at 8:43 AM, Ajay Divakaran ajay.divakara...@gmail.comwrote: Mark, The url has to be of the format ip-address:port e.g 182.73.212.230:8080 On Fri, May 2, 2014 at 5:57 AM, Mark Waite mark.earl.wa...@gmail.comwrote: I attempted to use it by following the README instructions, was able to load it into Chrome, and then when trying to configure it, it refused all the URL's I entered. It reported that the URL was invalid. Are there special configuration steps required? Do I need to restart Chrome after using it? Mark Waite On Thu, May 1, 2014 at 1:49 PM, Ajay Divakaran ajay.divakara...@gmail.com wrote: Hi all, *My use-case/story:* As a lazy developer, I don't want to look at the build monitor or always login to Jenkin's dashboard page to know the statuses of the jobs. Given I almost always have Chrome open, I want the browser to tell me when the currently configured jobs fail or a one-click link (icon near my address bar) to tell me the job statuses. For the above purpose I have created https://github.com/ajaydivakaran/JenkinsJobStatusNotifier Please do try it out, and do let me know your feedback. -- 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. For more options, visit https://groups.google.com/d/optout. -- Thanks! Mark Waite -- You received this message because you are subscribed to a topic in the Google Groups Jenkins Users group. To unsubscribe from this topic, visit https://groups.google.com/d/topic/jenkinsci-users/szTfkYPTQro/unsubscribe . To unsubscribe from this group and all its topics, send an email to jenkinsci-users+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout. -- 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. For more options, visit https://groups.google.com/d/optout.
Re: Chrome plugin for Jenkins job monitoring
What happens if its running https? :) Richard. On Fri, May 2, 2014 at 3:16 PM, Ajay Divakaran ajay.divakara...@gmail.comwrote: Just to make it clear. The *http:// *part should *not *be included. On Fri, May 2, 2014 at 8:43 AM, Ajay Divakaran ajay.divakara...@gmail.com wrote: Mark, The url has to be of the format ip-address:port e.g 182.73.212.230:8080 On Fri, May 2, 2014 at 5:57 AM, Mark Waite mark.earl.wa...@gmail.comwrote: I attempted to use it by following the README instructions, was able to load it into Chrome, and then when trying to configure it, it refused all the URL's I entered. It reported that the URL was invalid. Are there special configuration steps required? Do I need to restart Chrome after using it? Mark Waite On Thu, May 1, 2014 at 1:49 PM, Ajay Divakaran ajay.divakara...@gmail.com wrote: Hi all, *My use-case/story:* As a lazy developer, I don't want to look at the build monitor or always login to Jenkin's dashboard page to know the statuses of the jobs. Given I almost always have Chrome open, I want the browser to tell me when the currently configured jobs fail or a one-click link (icon near my address bar) to tell me the job statuses. For the above purpose I have created https://github.com/ajaydivakaran/JenkinsJobStatusNotifier Please do try it out, and do let me know your feedback. -- 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. For more options, visit https://groups.google.com/d/optout. -- Thanks! Mark Waite -- You received this message because you are subscribed to a topic in the Google Groups Jenkins Users group. To unsubscribe from this topic, visit https://groups.google.com/d/topic/jenkinsci-users/szTfkYPTQro/unsubscribe . To unsubscribe from this group and all its topics, send an email to jenkinsci-users+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout. -- 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. For more options, visit https://groups.google.com/d/optout. -- 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. For more options, visit https://groups.google.com/d/optout.
Re: How to Configure a Jenkins project to run ant from a Windows Slave
On Thu, May 1, 2014 at 9:00 PM, Mark Waite mark.earl.wa...@gmail.com wrote: The machine which is trying to execute your ant.bat file probably does not have the Ant bin directory in its path. Since it can't find the ant.bat file, it fails. There are a few approaches you might consider: - Modify the PATH on the Windows slave to include the Ant bin directory (the location of ant.bat) - Configure Jenkins to automatically install ant for you (global configuration), then select that specific ant version in your job - Start the Windows slave from a batch file that modifies the PATH to include the Ant bin directory It might be a little easier to follow things if you add at least 2 jdk and ant versions in your global config and set their locations in the node configurations (even if you don't currently need more than one of each...). Then the job configuration will give you a version selection for the tool versions and if anything isn't found you'll have a better idea of where the location is controlled. -- Les Mikesell lesmikes...@gmail.com -- 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. For more options, visit https://groups.google.com/d/optout.
Re: Chrome plugin for Jenkins job monitoring
I've just updated the plugin to accept both http and https urls. On Friday, May 2, 2014 8:46:56 AM UTC+5:30, Ajay Divakaran wrote: Just to make it clear. The *http:// *part should *not *be included. On Fri, May 2, 2014 at 8:43 AM, Ajay Divakaran ajay.divakara...@gmail.com wrote: Mark, The url has to be of the format ip-address:port e.g 182.73.212.230:8080 On Fri, May 2, 2014 at 5:57 AM, Mark Waite mark.earl.wa...@gmail.comwrote: I attempted to use it by following the README instructions, was able to load it into Chrome, and then when trying to configure it, it refused all the URL's I entered. It reported that the URL was invalid. Are there special configuration steps required? Do I need to restart Chrome after using it? Mark Waite On Thu, May 1, 2014 at 1:49 PM, Ajay Divakaran ajay.divakara...@gmail.com wrote: Hi all, *My use-case/story:* As a lazy developer, I don't want to look at the build monitor or always login to Jenkin's dashboard page to know the statuses of the jobs. Given I almost always have Chrome open, I want the browser to tell me when the currently configured jobs fail or a one-click link (icon near my address bar) to tell me the job statuses. For the above purpose I have created https://github.com/ajaydivakaran/JenkinsJobStatusNotifier Please do try it out, and do let me know your feedback. -- 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. For more options, visit https://groups.google.com/d/optout. -- Thanks! Mark Waite -- You received this message because you are subscribed to a topic in the Google Groups Jenkins Users group. To unsubscribe from this topic, visit https://groups.google.com/d/topic/jenkinsci-users/szTfkYPTQro/unsubscribe . To unsubscribe from this group and all its topics, send an email to jenkinsci-users+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout. -- 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. For more options, visit https://groups.google.com/d/optout.
Re: How to Configure a Jenkins project to run ant from a Windows Slave
Les, Mark, Thank you so much for you responses. I did verify that ANT_HOME is set and in my PATH within my environment: variables on the slave machine (I did an echo for %PATH%, and saw my the path to my ANT bin folder). I think the problem is that I am not configuring the job correctly from the jenkins browser. Here is what I did: After verifying that a Java Web Start connection was successful, I created a new job, checked the 'Restrict where this project can be run' box. I then added a new build step to execute a windows batch file. I then added the command: C:\Program Files\apache-ant\bin\ant.bat path to build.xml all This wouldn't work, so what I did next was throw some commands in another .bat. Here's what I had in the script: cd path to build.xml ant all No dice, kept getting the following error: C:\path to my .bat file The system cannot find the path specified. Would I need to have a set command in my bat file to point to my ANT_HOME bin directory? Thanks, -John P. On Thu, May 1, 2014 at 11:57 PM, Les Mikesell lesmikes...@gmail.com wrote: On Thu, May 1, 2014 at 9:00 PM, Mark Waite mark.earl.wa...@gmail.com wrote: The machine which is trying to execute your ant.bat file probably does not have the Ant bin directory in its path. Since it can't find the ant.bat file, it fails. There are a few approaches you might consider: - Modify the PATH on the Windows slave to include the Ant bin directory (the location of ant.bat) - Configure Jenkins to automatically install ant for you (global configuration), then select that specific ant version in your job - Start the Windows slave from a batch file that modifies the PATH to include the Ant bin directory It might be a little easier to follow things if you add at least 2 jdk and ant versions in your global config and set their locations in the node configurations (even if you don't currently need more than one of each...). Then the job configuration will give you a version selection for the tool versions and if anything isn't found you'll have a better idea of where the location is controlled. -- Les Mikesell lesmikes...@gmail.com -- You received this message because you are subscribed to a topic in the Google Groups Jenkins Users group. To unsubscribe from this topic, visit https://groups.google.com/d/topic/jenkinsci-users/0ELSkd80t_Q/unsubscribe. To unsubscribe from this group and all its topics, send an email to jenkinsci-users+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout. -- 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. For more options, visit https://groups.google.com/d/optout.
Re: New build flow seems to break many things
Issue with workspace is people are abusing the DSL and start to code build custom steps into build flow, not delegating to jobs. build flow was designed to orchestrate (flow) jobs together. The fact jenkins needs a workspace to poll scm is another story. I prefer post-commit notification anyway 2014-05-01 16:05 GMT+02:00 Greg Dickie g...@justaguy.ca: Hi Nicolas, I would like to understand the reason for that design. Maybe I'm using it incorrectly but it was doing what we needed. Why wouldn't you want SCM polling, artifacts, etc.? Is the intention that we create build steps to handle that stuff or is build flow not the right way to go for this? Thanks, Grg On Thursday, May 1, 2014 1:42:11 AM UTC-4, Nicolas De loof wrote: yes, build-flow is desgined for orchestration, not as a regular job with SCM workspace and all that being said, as I can't find spare time to invest on this plugin, feel free to take leadership on it and make it evolve your way 2014-05-01 0:13 GMT+02:00 Les Mikesell lesmi...@gmail.com: On Wed, Apr 30, 2014 at 5:05 PM, Tim Jackson lost...@gmail.com wrote: I agree that .11 is a huge step backwards for me. As far as I can tell, the build flow plugin no longer triggers the failure event of the email-ext plugin. So I am no longer getting failure mails for the overall job. Setting up a new job to handle the failure mail is redundant and can fail itself, thus changing the results. I am more apt to just dump the build flow plugin and find a more suitable method. It is very disappointing to have functionality removed. A lot of us have based large amounts of work on what it did. I think the only way to make it do anything is to set up one job that just polls the SCM and triggers the build-flow job, then pass all your build parameters around to a final job executed by the flow that uses the copy artifacts plugin to gather up the results of whatever the other elements did. Seems like a lot of clutter and a confusing process to have to start one job but end up with the results in another. -- Les Mikesell lesmi...@gmail.com -- 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-use...@googlegroups.com. For more options, visit https://groups.google.com/d/optout. -- 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. For more options, visit https://groups.google.com/d/optout. -- 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. For more options, visit https://groups.google.com/d/optout.