Re: hopefully simple pipeline question

2013-08-07 Thread Daniel Beck
Yeah. I don't like this behavior either. It's 'wait for people to get their non-atomic SCM commits right', rather than 'prevent back-to-back executions' (the clock starts ticking when it enters the queue, not when the previous build is finished) -- I'd need the latter more than the former... On

Re: Build Flow Plugin - reporting capability

2013-08-07 Thread Daniel Beck
Pin build flows to a slave the same way you pin jobs to slaves -- using labels. And FWIW, since build flows are light-weight tasks that use one-off executors (i.e. it creates its own temporary executor that has no number in the list), it can always execute on the same node. Unless the node is un

Re: Remove a Queue item through a Groovy script

2013-08-07 Thread Daniel Beck
There is no output. It just sends a redirect to the referer location. In your case. that's undefined, which probably causes it to fail this way. Just ignore any non-error response (or at least, any redirects). On 07.08.2013, at 23:04, tiago fernandez wrote: > Hello, > > I want to cancel a Qu

Re: No Changes - How to force build?

2013-08-07 Thread Mark R. Andrachek, Jr.
Turns out it does work. I was just unclear on why the build was failing. I thought it was because of "No Changes", because that's it told me. But further review of the console log showed why the build was actually failing. Thanks! On Wed, Aug 7, 2013 at 11:21 PM, Richard Bywater wrote: > Any

Re: No Changes - How to force build?

2013-08-07 Thread Richard Bywater
Any reason that using Build Now on the project page won't work for you? (If you can't see it then you'll need to modify the security settings to allow your user to use it) Richard. On Thu, Aug 8, 2013 at 2:14 PM, Mark Andrachek, Jr. < mark.andrac...@gmail.com> wrote: > I'm attempting to setup a

RE: No Changes - How to force build?

2013-08-07 Thread John A
Temporarily set the clean workspace on flag. Original Message From: Mark Andrachek, Jr. Sent: Wed, 07/08/2013 19:14 To: jenkinsci-users@googlegroups.com CC: Subject: No Changes - How to force build?I'm attempting to setup a job, and have been making changes to the configuration

No Changes - How to force build?

2013-08-07 Thread Mark Andrachek, Jr.
I'm attempting to setup a job, and have been making changes to the configuration to try and get the build to work. However I'm getting "No Changes" when I try and run a build - because the code hasn't changed in git. Is there any way to by-pass this, and force it to do a build even if it's seen

Re: Installation Failure on Mac OS X - Help!?

2013-08-07 Thread Mark Andrachek, Jr.
So I tried running tomcat. It starts up and grabs the ports, however it throws a bunch of errors related to getSessionCookieConfig not existing. This pointed me towards a conflict with the servlet-api.jar file. I didn't find one in the classpath, but I did fine a selenium server standalone ja

Re: Installation Failure on Mac OS X - Help!?

2013-08-07 Thread Mark Andrachek, Jr.
I found this issue, which is similar, but on Linux, running OpenJDK. https://issues.jenkins-ci.org/browse/JENKINS-12864 However, unlike this issue, I'm not able to run the war file even directly: sudo java -jar jenkins.war produces the same NPE as in my original message. On Wednesday, August 7,

Re: hopefully simple pipeline question

2013-08-07 Thread Mishael Kim
Daniel, Slight problem with adding a quiet period to A... the first manually triggered job will have to wait for that quiet period as well, even if there's nothing running in the pipeline. Not a deal breaker, but I could see this being pretty annoying. On Wed, Aug 7, 2013 at 10:39 AM, Mishael K

Installation Failure on Mac OS X - Help!?

2013-08-07 Thread Mark Andrachek, Jr.
Ok. We've even gone so far as to a reformat and fresh install. This is on a mac mini (2011 server edition), upgraded to Mountain Lion 10.8.4, with Oracle Java 1.7.0_25 installed. I've searched and found one old thread about something similar, but nothing that helps resolve this. Any assistance

Re: .NET Windows Forms run by Jenkins

2013-08-07 Thread Samuel Pereira
I try this but.. The Windows Server 2008, when happen interaction between the service and the desktop, is open one dialog. So is necessary one logged user in the machine for to click in confirmation dialog. Is not possible in one continuos integration. 2013/8/7 Slide > Can't you just enable

Re: .NET Windows Forms run by Jenkins

2013-08-07 Thread Slide
Can't you just enable the Jenkins service to interact with the desktop (there is a special permission for it)? This would allow it to start Windows apps with no issue. slide On Wed, Aug 7, 2013 at 3:02 PM, Samuel Pereira wrote: > Hi, > > I need run automated tests what use forms. .NET Windows

Re: [NOTICE] Credentials, SSH Credentials, SSH Agent and SSH Slaves

2013-08-07 Thread Jared Griffith
I just want to publicly thank you for fixing this in no time at all. Actually, thanks to all the Jenkins devs too. You guys always get to the issue and resolve it pretty quickly. You don't see quick turn around like today that often. On Wed, Aug 7, 2013 at 2:42 PM, Stephen Connolly < stephen.al

Re: Upgrade and Slave Nodes fail to start

2013-08-07 Thread Jared Griffith
Yeah, I found out, everything's good for me now with the 1.1 plugin. On Wed, Aug 7, 2013 at 2:24 PM, J Arrizza wrote: > No, the slave's reconnected once I had the correct plugin versions. > > But I'm not 100% sure about losing the credentials. I had already removed > them by the time I got the

.NET Windows Forms run by Jenkins

2013-08-07 Thread Samuel Pereira
Hi, I need run automated tests what use forms. .NET Windows Forms This tests are necessary for simuation flux of view like Selenium. How the jenkins is a windows services is not possible run view tests. Do you know the solution for this problem? I know what exist a plugin what is a containe

Re: [NOTICE] Credentials, SSH Credentials, SSH Agent and SSH Slaves

2013-08-07 Thread Stephen Connolly
Yeah the OSS update centers are not as responsive as the DB backed ones we run at CloudBees on the other hand our update centers are more resource intensive. On 7 August 2013 22:37, Larry Shatzer, Jr. wrote: > I see ssh-slaves in the stable json now. It probably takes a while for > some thi

Re: [NOTICE] Credentials, SSH Credentials, SSH Agent and SSH Slaves

2013-08-07 Thread Larry Shatzer, Jr.
I see ssh-slaves in the stable json now. It probably takes a while for some things to propagate through the systems. On Wed, Aug 7, 2013 at 3:27 PM, J Arrizza wrote: > Steve, > > You should also mention that the v1.0 (and I assume v1.1) plugins are in > in the update-center url: > > http://upda

Re: [NOTICE] Credentials, SSH Credentials, SSH Agent and SSH Slaves

2013-08-07 Thread J Arrizza
Steve, You should also mention that the v1.0 (and I assume v1.1) plugins are in in the update-center url: http://updates.jenkins-ci.org/update-center.json but not in http://updates.jenkins-ci.org/stable/update-center.json This caused me a bit of confusion, it might hit others as well. John

Re: Upgrade and Slave Nodes fail to start

2013-08-07 Thread J Arrizza
No, the slave's reconnected once I had the correct plugin versions. But I'm not 100% sure about losing the credentials. I had already removed them by the time I got the plugin versions set up right. On Wed, Aug 7, 2013 at 12:05 PM, Jared Griffith wrote: > Did you loose your slave build data or

RE: Build Flow Plugin - reporting capability

2013-08-07 Thread Bob Bick
Daniel, We run Jenkins in a multi-node environment. If the Build Flow job always runs on the same Jenkins node, then I think your solution will work fine. But, if they do not run on the same node, then I will not have the history of previous job runs in order to generate a comprehensive report.

Re: [NOTICE] Credentials, SSH Credentials, SSH Agent and SSH Slaves

2013-08-07 Thread Stephen Connolly
The fix to https://issues.jenkins-ci.org/browse/JENKINS-19104 is in version 1.1 of the ssh-credentials plugin. Only affects people using private keys. You can download it from http://jenkins-updates.cloudbees.com/download/plugins/ssh-credentials/1.1/ssh-credentials.hpiif you are waiting for it to s

Remove a Queue item through a Groovy script

2013-08-07 Thread tiago fernandez
Hello, I want to cancel a Queue item through a groovy script. The script I have is something like this (I do a post because it is specified that to remove an queue item. And queue item id I obtain it from another part of the code using json api): def urlString = 'http:///queue/cancelItem' d

Re: Problem with build from Checkout Strategy

2013-08-07 Thread DAVID HO
It could be a case since I am not in control of who has control to write to the POM file. On Wednesday, August 7, 2013 4:24:21 PM UTC-4, Geoff Cummings wrote: > > > Could something have modified the Pom file in the jenkins workspace? > > I dont think Svn update will overwrite a modified file..

Re: Problem with build from Checkout Strategy

2013-08-07 Thread Geoff Cummings
Could something have modified the Pom file in the jenkins workspace? I dont think Svn update will overwrite a modified file.. Just a guess.. Geoff On 7 Aug 2013, at 21:03, DAVID HO wrote: Daniel, Yeah, I checked the POM in workspace and realized that it was the old version. There is nothing

RE: Build Flow Plugin - reporting capability

2013-08-07 Thread Bob Bick
Nicolas and Daniel, thank you for the help. Bob From: jenkinsci-users@googlegroups.com [mailto:jenkinsci-users@googlegroups.com] On Behalf Of nicolas de loof Sent: Wednesday, August 07, 2013 3:02 PM To: jenkinsci-users@googlegroups.com Subject: Re: Build Flow Plugin - reporting capability I exp

Re: Problem with build from Checkout Strategy

2013-08-07 Thread DAVID HO
Daniel, Yeah, I checked the POM in workspace and realized that it was the old version. There is nothing interesting about this problem in the log, except that the build was fail because of the change in dependencies in the POM. On Wednesday, August 7, 2013 3:52:54 PM UTC-4, Daniel Beck wrote: >

Re: Problem with build from Checkout Strategy

2013-08-07 Thread Daniel Beck
Anything interesting in the build logs when this occurred? How do you know the file wasn't updated, did you view the file in the workspace? On 07.08.2013, at 21:50, DAVID HO wrote: > Hi all, > > I am very new to Jenkins and also to the build process. I have just started > using Jenkins at my

Problem with build from Checkout Strategy

2013-08-07 Thread DAVID HO
Hi all, I am very new to Jenkins and also to the build process. I have just started using Jenkins at my workplace. For our build process, we have the source code store in a remote SVN server and use Maven for the build. For the build configuration, we had *Checkout Strategy* as "Use SVN update

Re: Upgrade and Slave Nodes fail to start

2013-08-07 Thread Jared Griffith
I attached them in the ticket. On Wed, Aug 7, 2013 at 12:37 PM, Stephen Connolly < stephen.alan.conno...@gmail.com> wrote: > Can you sanitise and send your credentials.xml an a corresponding slave > config from config.xml > > > On 7 August 2013 20:33, Jared Griffith wrote: > >> I have cleaned t

LiveRebel Plugin for Jenkins to deploy apps with zero downtime for end users

2013-08-07 Thread Krishnan Badrinarayanan
We just launched a Jenkins plugin that integrates with our freely available release automation tool LiveRebel , that can automatically deploy apps – code, database and configuration changes – straight from Jenkins with zero downtime. Failed deployments are fully revers

Re: Upgrade and Slave Nodes fail to start

2013-08-07 Thread Stephen Connolly
Can you sanitise and send your credentials.xml an a corresponding slave config from config.xml On 7 August 2013 20:33, Jared Griffith wrote: > I have cleaned them out. I have also removed a couple of the slaves and > re-added them. Still nothing. I am now getting: > > [08/07/13 12:30:39] [SS

Re: Upgrade and Slave Nodes fail to start

2013-08-07 Thread Jared Griffith
I have cleaned them out. I have also removed a couple of the slaves and re-added them. Still nothing. I am now getting: [08/07/13 12:30:39] [SSH] Opening SSH connection to wolfram.picsauditing.com:22. [08/07/13 12:30:39] [SSH] Authentication failed. hudson.AbortException: Authentication failed.

Re: Slow loading and large memory usage after 1.480.3 to 1.509.2 migration

2013-08-07 Thread Daniel Beck
This could be the following issue, that'll be fixed in 1.509.3: https://issues.jenkins-ci.org/browse/JENKINS-16023 On 07.08.2013, at 12:48, Christopher Tarento wrote: > Hello guys, > > I used to run a Jenkins server with about 10 jobs with full history (~ 500 > builds). > Debian Wheezy > Open

Re: Jenkins + UiAutomator Always Green

2013-08-07 Thread Daniel Beck
Jenkins marks a build as failed if a shell script step returns an error exit code (anything but 0). Failing tests aren't errors in the test executor, so these calls probably return 0 (successful), and are interpreted by the shell as such. You need to parse the output in some way, and, if it mat

Re: Upgrade and Slave Nodes fail to start

2013-08-07 Thread Stephen Connolly
I think your old version of the SSH Slaves plugin borked up the authentication and created invalid versions that need to be cleaned out On 7 August 2013 20:20, Jared Griffith wrote: > I'm still getting no love with my slave nodes starting. > > > On Wed, Aug 7, 2013 at 11:42 AM, J Arrizza wrote

Re: Upgrade and Slave Nodes fail to start

2013-08-07 Thread Jared Griffith
I'm still getting no love with my slave nodes starting. On Wed, Aug 7, 2013 at 11:42 AM, J Arrizza wrote: > Ok > > - changed the update site to > http://updates.jenkins-ci.org/update-center.json > (took > away the "stable") > - the v1.0

Jenkins + UiAutomator Always Green

2013-08-07 Thread Lin Chen
So I defined many UiAutomatorTestCase classes, each has 1 or 2 test cases at the most. Then I use Shell script on Jenkins to string these test cases into a series of tests, for example: adb shell uiautomator runtest myTest.jar -c com.myTest.TestClass1 adb shell uiautomator runtest myTest.jar -c

Re: Upgrade and Slave Nodes fail to start

2013-08-07 Thread Jared Griffith
Did you loose your slave build data or no? On Wed, Aug 7, 2013 at 11:42 AM, J Arrizza wrote: > Ok > > - changed the update site to > http://updates.jenkins-ci.org/update-center.json > (took > away the "stable") > - the v1.0 plugin shows

Re: Build Flow Plugin - reporting capability

2013-08-07 Thread nicolas de loof
I expect sandboxing (JENKINS-16980) to allow accessing AbstractBuild.getLog() for a job that has been triggered by the flow, this is a fully valid usage. 2013/8/7 Daniel Beck > Build flows are arbitrary Groovy code (hence JENKINS-16980, which will > break this solution if ever properly implemen

Re: Build Flow Plugin - reporting capability

2013-08-07 Thread Daniel Beck
Build flows are arbitrary Groovy code (hence JENKINS-16980, which will break this solution if ever properly implemented). So just add log parsing and such to the end of your build flow. The following minimal example takes the current build's log so far, and writes it into a file in a new folder

Re: Upgrade and Slave Nodes fail to start

2013-08-07 Thread J Arrizza
Ok - changed the update site to http://updates.jenkins-ci.org/update-center.json (took away the "stable") - the v1.0 plugin shows up - jenkins 1.526 shows up - installed the v1.0 plugin - refreshed credentials - refreshed slave (i.e. deleted

Re: Upgrade and Slave Nodes fail to start

2013-08-07 Thread Jeff
In the update center go to the "Advanced" tab and you can click the "Check now" button in the bottom right. On Wed, Aug 7, 2013 at 12:27 PM, J Arrizza wrote: > I uninstalled SSH Slaves plugin; restarted jenkins and the plugin manager > says: > Version 0.27 Installed (0.27) > > i.e. no mention

Re: Upgrade and Slave Nodes fail to start

2013-08-07 Thread Larry Shatzer, Jr.
You can install it manually for now: http://mirrors.jenkins-ci.org/plugins/ssh-slaves/1.0/ On Wed, Aug 7, 2013 at 12:27 PM, J Arrizza wrote: > I uninstalled SSH Slaves plugin; restarted jenkins and the plugin manager > says: > Version 0.27 Installed (0.27) > > i.e. no mention of 1.0 > >

Re: Upgrade and Slave Nodes fail to start

2013-08-07 Thread Jared Griffith
I installed the SSH plugin (it wasn't there before) and it's still not working. All of my plugin versions are what have been stated here. On Wed, Aug 7, 2013 at 11:20 AM, J Arrizza wrote: > The v1.0 is not showing up as an upgrade possibility. > > How do I force the plugin to go to v1.0? > > >

Re: Checkstyle apparently totally broken

2013-08-07 Thread Daniel Beck
Could you please explain what was fixed? I checked hudson.ClassicPluginStrategy on master, no relevant changes since JENKINS-18654 was integrated in 1.524, probably causing the issues I linked. This thread started on Aug 6 with "Jenkins is at the latest version as is Checkstyle and all of my ot

Re: Upgrade and Slave Nodes fail to start

2013-08-07 Thread J Arrizza
I uninstalled SSH Slaves plugin; restarted jenkins and the plugin manager says: Version 0.27 Installed (0.27) i.e. no mention of 1.0 The update site I'm using is http://updates.jenkins-ci.org/stable/update-center.json On Wed, Aug 7, 2013 at 11:20 AM, J Arrizza wrote: > The v1.0 is no

Re: Upgrade and Slave Nodes fail to start

2013-08-07 Thread J Arrizza
The v1.0 is not showing up as an upgrade possibility. How do I force the plugin to go to v1.0? On Wed, Aug 7, 2013 at 11:17 AM, Larry Shatzer, Jr. wrote: > Your ssh slaves needs to be 1.0 > > On the advanced tab for plugins refresh and update that plugin. > On Aug 7, 2013 12:02 PM, "J Arrizza"

Re: Upgrade and Slave Nodes fail to start

2013-08-07 Thread Larry Shatzer, Jr.
Your ssh slaves needs to be 1.0 On the advanced tab for plugins refresh and update that plugin. On Aug 7, 2013 12:02 PM, "J Arrizza" wrote: > I have similar problems but it's not coming back up: > > Jenkinds 1.5.18 > Credentials = v1.6 > SSH Slaves = v0.27 > SSH Credentials = 1.0 > > I upgraded

Re: Upgrade and Slave Nodes fail to start

2013-08-07 Thread J Arrizza
I have similar problems but it's not coming back up: Jenkinds 1.5.18 Credentials = v1.6 SSH Slaves = v0.27 SSH Credentials = 1.0 I upgraded the plugins and all the slaves are offline - I deleted the credentials for one slave and recreated it; no joy - I deleted the slave and recreated it; no joy

Re: Upgrade and Slave Nodes fail to start

2013-08-07 Thread Larry Shatzer, Jr.
Yeah, I deleted all the credential information, even went so far as to remove the plugins, restart, and upgrade/install them all again. Then I finally got it working. On Wed, Aug 7, 2013 at 11:45 AM, Jeff wrote: > And if all else fails, restart Jenkins for good measure. In my config, I > ended

Re: Upgrade and Slave Nodes fail to start

2013-08-07 Thread Jeff
And if all else fails, restart Jenkins for good measure. In my config, I ended up recreating my credentials via credential manager and re-assigning them. Not sure if that is required or not. On Wed, Aug 7, 2013 at 11:43 AM, Larry Shatzer, Jr. wrote: > Go to http://your.jenkins.install/systemIn

Re: Upgrade and Slave Nodes fail to start

2013-08-07 Thread Jeff
The other plugin I forgot to mention is the Credentials Plugin that must be at v1.6 On Wed, Aug 7, 2013 at 11:42 AM, Jared Griffith wrote: > I don't see a Jenkins SSH plugin but I am running the same versions of the > other two plugins that you are and I'm still having no luck. > > > On Wed, Aug

Re: Upgrade and Slave Nodes fail to start

2013-08-07 Thread Larry Shatzer, Jr.
Go to http://your.jenkins.install/systemInfo and look for all the "SSH" plugins, and Credentials, and make sure the versions are correct. On Wed, Aug 7, 2013 at 11:42 AM, Jared Griffith wrote: > I don't see a Jenkins SSH plugin but I am running the same versions of the > other two plugins that y

Re: Upgrade and Slave Nodes fail to start

2013-08-07 Thread Jared Griffith
Those are upgraded as well. On Wed, Aug 7, 2013 at 10:39 AM, Jeff wrote: > And from https://wiki.jenkins-ci.org/display/JENKINS/SSH+Slaves+plugin : > > Version 1.0 (Aug 7, 2013) > >- Upgrade dependencies to SSH Credentials Plugin > 1.0

Re: Upgrade and Slave Nodes fail to start

2013-08-07 Thread Jared Griffith
I don't see a Jenkins SSH plugin but I am running the same versions of the other two plugins that you are and I'm still having no luck. On Wed, Aug 7, 2013 at 10:37 AM, Jeff wrote: > yes...and I'm running the following versions of plugins with Jenkins > v1.526: > >- Jenkins SSH plugin v2.3

Re: Upgrade and Slave Nodes fail to start

2013-08-07 Thread Jeff
And from https://wiki.jenkins-ci.org/display/JENKINS/SSH+Slaves+plugin : Version 1.0 (Aug 7, 2013) - Upgrade dependencies to SSH Credentials Plugin 1.0 and Credentials Plugin 1.6

Re: Upgrade and Slave Nodes fail to start

2013-08-07 Thread Larry Shatzer, Jr.
See http://jenkins-ci.361315.n4.nabble.com/NOTICE-Credentials-SSH-Credentials-SSH-Agent-and-SSH-Slaves-td4676163.html as well. On Wed, Aug 7, 2013 at 11:37 AM, Jeff wrote: > yes...and I'm running the following versions of plugins with Jenkins > v1.526: > >- Jenkins SSH plugin v2.3 >- Je

Re: hopefully simple pipeline question

2013-08-07 Thread Mishael Kim
Great idea. Thanks, that sounds like it would work! On Tue, Aug 6, 2013 at 2:28 PM, Daniel Beck wrote: > You could use the parameterized trigger plugin and use the build step as > the first action in the upstream build. > > That way, B will be queued before A polls SCM again. If necessary, add

Re: Upgrade and Slave Nodes fail to start

2013-08-07 Thread Jeff
Also from https://wiki.jenkins-ci.org/display/JENKINS/SSH+Credentials+Plugin Version 1.0 (Aug 7, 2013) - Upgrade to Credentials Plugin 1.0 and migrate to new data types. - Any existing plugins that request credentials of typ

Re: Upgrade and Slave Nodes fail to start

2013-08-07 Thread Jeff
yes...and I'm running the following versions of plugins with Jenkins v1.526: - Jenkins SSH plugin v2.3 - Jenkins SSH Slaves plugin v1.0 - SSH Credentials Plugin v1.0 I believe the last 2 are tied together and must both be at v1.0 On Wed, Aug 7, 2013 at 11:28 AM, Jared Griffith wrote:

Re: Anyone have SCM poll trigger working with dynamic base clearcase view on windows?

2013-08-07 Thread Greg Moncreaff
had a cut & paste *view path *and *view tag* must be set exactly the same !!! 1. For *view tag* use the view you defined, e.g. jenkins_BRANCH_NAME 2. For *view path* use the view you defined, e.g. jenkins_BRANCH_NAME On Tuesday, June 11, 2013 5:16:18 AM UTC-4, Samuel Mackrill wrote:

Re: Upgrade and Slave Nodes fail to start

2013-08-07 Thread Jared Griffith
It says that the version that I am running is not compatible with the new SSH Slaves plugin. Are you running 1.526 as well? On Wed, Aug 7, 2013 at 10:24 AM, Jeff wrote: > I just ran into thatwhen I did the upgrade and updated all plugins, > the Jenkins SSH Slaves plugin was still at v0.27.

Re: Upgrade and Slave Nodes fail to start

2013-08-07 Thread Jeff
I just ran into thatwhen I did the upgrade and updated all plugins, the Jenkins SSH Slaves plugin was still at v0.27. You must upgrade it to version 1.0. I had to force the update check for it to see it. On Wed, Aug 7, 2013 at 11:21 AM, Jared Griffith wrote: > Hopefully I can get a quicker

Upgrade and Slave Nodes fail to start

2013-08-07 Thread Jared Griffith
Hopefully I can get a quicker response from the group. I just upgraded Jenkins to the latest version 1.526 and now my slave nodes won't start at all. I created a ticket for it, but have yet to get a response. Trying to downgrade the application has not resolved the issue. I'm at a loss since I

Re: Email-ext and env inject

2013-08-07 Thread Slide
What ARE you getting if you are not getting what you expect? Does env-inject make the environment variables accessible to post-build actions (publishers)? slide On Wed, Aug 7, 2013 at 7:41 AM, Welsh, Neil wrote: > ** > Hi, > > Im having a little trouble sending an email using environment injec

RE: Build Flow Plugin - reporting capability

2013-08-07 Thread Bob Bick
After doing some playing with the Jenkins Script Console, I think the best approach is to use Groovy scripting. The Jenkins FreeStyleBuild class has a getLog() method that returns a string of the log. This is the first time that I have used the Script Console, and it seems to be a nice tool. I

Re: trigger a build ONLY when there has been a M2_RELEASEBUILD

2013-08-07 Thread Maven User
I ended up using a post-build groovy script (about 12 lines). It detects if it was a maven release and passes along the job name and the release version to the next job. If people care/want this, lemmie know. On Wednesday, August 7, 2013 4:29:17 AM UTC-4, James Nord (jnord) wrote: > > Current

Email-ext and env inject

2013-08-07 Thread Welsh, Neil
Hi, Im having a little trouble sending an email using environment injection. when I try I get a No emails were triggered. it seems to be injecting the variables [EnvInject] - Injecting environment variables from a build step. [EnvInject] - Injecting as environment variables the properties fil

Re: IOException: Unable to delete when building

2013-08-07 Thread Justinas Urbanavicius
ok i think i found the cause of the problem. After unchecking in configuration JDK "Install automatically" it works now On Wednesday, August 7, 2013 4:09:25 PM UTC+3, Justinas Urbanavicius wrote: > > Hi, having trouble with a build, the first one worked fine. > After that i renamed my build > an

Trigger on a few git repos, but do not checkout them?

2013-08-07 Thread Steffen Sledz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hi Jenkins-community, is it possible to trigger on changes in more than one git repositories, but do not checkout them into the workspace? - -- DResearch Fahrzeugelektronik GmbH Otto-Schmirgal-Str. 3, 10319 Berlin, Germany Tel: +49 30 515932-237 ma

Re: IOException: Unable to delete when building

2013-08-07 Thread Justinas Urbanavicius
tried rebooting the machine but no luck. and i don't want to delete /usr/bin/tsort the only thing the build is configured to do is to checkout the source to workspace from SCM that's it i don't know where the /usr/bin/tsrot comes from, i guest it could be where the exception originates from On

Re: IOException: Unable to delete when building

2013-08-07 Thread k . thieling
Possible session stuck open?  Maybe try a reboot of the build machine if possible?   If you delete the workspace manually, will it then build, and then rebuild? - Original Message - From: "Justinas Urbanavicius" To: jenkinsci-users@googlegroups.com Sent: Wednesday, August 7,

Crash Dump of Unit Tests

2013-08-07 Thread Matthias
Hi Is there a plugin to get a Crash Dump of a crashed job? If we run our Unit tests and they crash it would be nice if we could get a Crash Dump of this process. We run Jenkins on a Windows Server 2008 R2. Only Delphi and C# Jobs. Thanks for your help! Regards. -- You received this message b

RE: IOException: Unable to delete when building

2013-08-07 Thread Mandeville, Rob
Is the problem that you want to delete /usr/bin/tsort and can't, or that your build is trying to do that in the first place? Unless you're actually building an operating system, deleting stuff in /usr/bin sounds like a dangerous build step, and would normally require you to run as the root user

Re: IOException: Unable to delete when building

2013-08-07 Thread Justinas Urbanavicius
yeah, i was in the workspace folder, but after cd /root didn't work even tried closing ssh client to server it didn't help On Wed, Aug 7, 2013 at 4:21 PM, wrote: > Not sure if this is the issue, but I have seen similar cases when I have > been inside of the workspace path somewhere when trying

Re: IOException: Unable to delete when building

2013-08-07 Thread k . thieling
Not sure if this is the issue, but I have seen similar cases when I have been inside of the workspace path somewhere when trying to build.  In other words if any user is currently looking at that workspace, the build won't be able to delete. - Original Message - From: "Justinas Urbanav

IOException: Unable to delete when building

2013-08-07 Thread Justinas Urbanavicius
Hi, having trouble with a build, the first one worked fine. After that i renamed my build and now i always get this error: > Building in workspace /var/lib/jenkins/jobs/sit/workspace > java.io.IOException: Unable to delete /usr/bin/tsort > at hudson.Util.deleteFile(Util.java:255) > at

[NOTICE] Credentials, SSH Credentials, SSH Agent and SSH Slaves

2013-08-07 Thread Stephen Connolly
As part of my improvements to the Credentials plugin I am pushing a whole new set of releases of these plugins. Credentials 1.6 is backwards compatible with all previous releases. It should be safe to upgrade that one on its own. SSH Credentials 1.0 requires Credentials 1.6 and includes a change

Slow loading and large memory usage after 1.480.3 to 1.509.2 migration

2013-08-07 Thread Christopher Tarento
Hello guys, I used to run a Jenkins server with about 10 jobs with full history (~ 500 builds). Debian Wheezy OpenJDK 1.7b25 Tomcat 6 In 1.480.3 Loading time was decent (<1min) and memory usage as 1GB. Server start -> wait for 1 min -> login -> dashboard

Re: Jenkins wrong output and failures

2013-08-07 Thread Alexandra Sandulescu
Thank you for your answer. All tests are run in an independent driver. and they are parallel by class. What is interesting is that nothing goes wrong but a random test from the classes with more than 4 methods. Alexandra miercuri, 7 august 2013, 13:13:24 UTC+3, Richard Bywater a scris: > > Espe

Re: Jenkins wrong output and failures

2013-08-07 Thread Richard Bywater
Especially in Java 7 onwards... On Wed, Aug 7, 2013 at 10:11 PM, wrote: > Remember that tests are not always run in the order in which they appear > in the source. My guess is that your tests are not independent, and that if > they run in a certain order, an earlier test leaves some state that

RE: Jenkins wrong output and failures

2013-08-07 Thread Matthew.Webber
Remember that tests are not always run in the order in which they appear in the source. My guess is that your tests are not independent, and that if they run in a certain order, an earlier test leaves some state that causes a later test to fail. From: jenkinsci-users@googlegroups.com [mailto:j

Jenkins wrong output and failures

2013-08-07 Thread Alexandra Sandulescu
When running my tests on jenkins they fail RANDOMLY. I made some research and I found out that the tests which fail are those which are contained by classes with MORE THAN 4 testcases. my test suites look like this: class FooTest extends GenericTest { @Test public void Test1{ /* stuff*/} @Test

RE: trigger a build ONLY when there has been a M2_RELEASEBUILD

2013-08-07 Thread James Nord (jnord)
Currently there is no simple way, hoiwever I think you can achieve what you want with the following: 1) use a URLtrigger (XTrigger plugin) on latestRelease permalink and inspect the content to cause job B to run. 2) use a RunParameter on job B to get the parameters from the release

Re: Checkstyle apparently totally broken

2013-08-07 Thread Ulli Hafner
I think the root cause is https://issues.jenkins-ci.org/browse/JENKINS-18654 It is already fixed in Jenkins core. Ulli Am 07.08.2013 um 00:43 schrieb fREW Schmidt : > Right, I have not instaled Maven, though I'll try it tomorrow and see > if it fixes the problem I guess. > > On Tue, Aug 06, 20

Re: User account considered for execution

2013-08-07 Thread Raghava Rudrakanth P V
Hi Daniel, Really appreciate the quick response. Just to get some more clarification regarding this, This is for Linux environment. (Didn't have enough resources to test) - The Jenkins server is started on Linux by User "XYZ". - But repository is located on shared drive (\\sharedhost\sharedReposito

Re: User account considered for execution

2013-08-07 Thread Raghava Rudrakanth P V
Thanks Daniel, Got the point now. Thanks, Rudra On 7 August 2013 12:47, Daniel Beck wrote: > You configured authentication to the Jenkins UI. It has nothing to do with > the user account jobs are run as, which is the same account who is running > Jenkins' java process. > > If you installed it a

Selenium plugin with Maven projects

2013-08-07 Thread mpapo - Michaël Pailloncy
Hi all, I've to configure jobs of Maven projects running Selenium tests. I've found Selenium Plugin but I'm not able to found a reason to use it. Why use this plugin instead of configure jobs to build on slaves via labels ("firefox",

Re: User account considered for execution

2013-08-07 Thread Daniel Beck
You configured authentication to the Jenkins UI. It has nothing to do with the user account jobs are run as, which is the same account who is running Jenkins' java process. If you installed it as a service on Windows and didn't change it in Computer Management, Jenkins is running as SYSTEM. As

Re: Is there a way to make "discard old builds" happen right now?

2013-08-07 Thread Daniel Beck
What version of Jenkins are you using? On 07.08.2013, at 06:24, David Vree wrote: > This worked for me except for one thing. In a multi-module Maven project the > child modules still have all their builds on the filesystem, even though they > are gone in the UI. > > On Friday, October 7, 201