Re: Build Flow Question

2013-07-03 Thread Benjamin Lau
Use guard/rescue. guard { parallel ( { build("jobA", ...) }, { build("jobB", ...) }, ... ) } rescue { build("jobC", ...) } That's how I've dealt with it. See "Guard / Rescue" on the Build Flow Plugin page in the Jenkins wiki: https://wiki.jenkins-ci.org/display/JENKINS/Bu

Build Flow Question

2013-07-03 Thread Slide
I am using the build flow plugin, which I have to say is incredible, so thanks! I had a question about how I can have something ALWAYS run after a set of parallel builds. I have something like the following: parallel ( { build("jobA", ...) }, { build("jobB", ...) }, ... ) build("jobC"

Re: Half of the project configure screen is grayed out with Loading message!

2013-07-03 Thread Sameh Tawfik
Hi Vincent, Thanks for the info. Any rough idea when is the next release 1.522 will be available? We can not downgrade, because as mentioned below the previous version of Jenkins would not work with another plugin "FindBugs". Sameh On Wednesday, July 3, 2013 11:52:37 AM UTC-7, Vincent Lato

Re: How to keep Unix process alive after job is completed?

2013-07-03 Thread Richard Bywater
Could you just have the server process setup as a service and then "start" the service? Richard. On Fri, Apr 26, 2013 at 8:08 PM, hezjing wrote: > Hi > > I have a job which will be run in an Linux slave. > > This job will execute a shell command to start a server process which will > run foreve

Build fails with "UNSTABLE" - but Maven run successfully

2013-07-03 Thread Johannes Schneider
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hi guys, this[1] are the last lines of the console output. The build is marked as unstable (yellow). I have no idea what might have gone wrong. This job used to run just fine. So I don't know what might have changed. I did an upgraded of jenkins and

Re: HTML Publisher plugin no longer listed

2013-07-03 Thread Larry Shatzer, Jr.
There's a problem with the wiki and that page I see lots of exceptions trying to load up https://wiki.jenkins-ci.org/display/JENKINS/Plugins#Plugins-Artifactuploaders, which is where that plugin should be shown. If you add a random query parameter to the URL, like https://wiki.jenkins-ci.org/displa

Re: Half of the project configure screen is grayed out with Loading message!

2013-07-03 Thread Vincent Latombe
Hi, it's JENKINS-18585, and it will be fixed in 1.522. You should downgrade the core for the time being. Cheers, Vincent Vincent 2013/7/3 Sameh Tawfik : > Hi Lary, > > Thanks for your quick response. > > After checking all the installed plugins, it turned out "Environment > Injector" Plugin (E

HTML Publisher plugin no longer listed

2013-07-03 Thread bl0ck3r
The HTML Publisher plugin is no longer listed on the following page... can some one bring it back please? https://wiki.jenkins-ci.org/display/JENKINS/Plugins Thanks. -- You received this message because you are subscribed to the Google Groups "Jenkins Users" group. To unsubscribe from this gr

Re: Jenkins execute part of the job on master?

2013-07-03 Thread lom109
You can produce this behaviour if you decide to use the Groovy Plugin. It lets you "set up the environment" using groovy ON the master... which means you can run arbitrary setup logic on the master before you "copy over" any artifacts to the slave. Which isn't what the OP requested.. but throwing

Re: Half of the project configure screen is grayed out with Loading message!

2013-07-03 Thread Sameh Tawfik
Hi Lary, Thanks for your quick response. After checking all the installed plugins, it turned out "Environment Injector" Plugin (EnvInject Plugin) version 1.87, is the one causing this problem! We need to use this plugin for all our builds, since we need to pass environment variables to e

Re: Half of the project configure screen is grayed out with Loading message!

2013-07-03 Thread Larry Shatzer, Jr.
Check the logs when this is happening. I've had issues with some old plugins in the past with similar behavior. Luckily they were plugins that were no longer used in my instance, so removal of them fixed it for me. I'd also check your javascript console for any possible errors like https://issues.j

Half of the project configure screen is grayed out with Loading message!

2013-07-03 Thread Sameh Tawfik
Hi, We just installed Jenkins ver. 1.521, and now whenever we open any project to update some configuration by clicking on the project configure tab, we see the first half of the configuration screen is grayed out up to "Load script and properties files from the master" field with "Loadi

Re: How to get all builds of a project via API

2013-07-03 Thread Tim Ford
curl -d 'script=println Jenkins.instance.getItem(jobName).builds.each{ println "${it.number}:${it.startTimeInMillis}:${it.duration}:${it.result}" };' http://localhost:8080/scriptText On Wednesday, July 3, 2013 6:55:17 AM UTC-5, Dirk Heinrichs wrote: > > Hi, > > > > I’ve got a small Groovy sc

Folders plugin throwing exception in Guice injection

2013-07-03 Thread Jerry
Hi, I was trying to track down a memory leak in Jenkins (or a plugin) and I came across the following in my log file. I don't think it has anything to do with the memory leak, and I haven't noticed any effects of it, just thought someone (e.g. Stephen Connelly) might like to know. - Jul 02

Re: How to keep Unix process alive after job is completed?

2013-07-03 Thread Tim Ford
John, your issue might be unrelated to Jenkins. See: http://stackoverflow.com/questions/285015/linux-prevent-a-background-process-from-being-stopped-after-closing-ssh-client On Wednesday, July 3, 2013 5:42:10 AM UTC-5, John Vacz wrote: > > We have a job executing a shell script (on a slave) t

Re: Exception in Guice injection of Folders plugin

2013-07-03 Thread Jerry Maloney
Good to know. Thanks for the interesting story about your dev process! On Jul 3, 2013 7:20 AM, "Stephen Connolly" wrote: > To be expected if you don't have the Jenkins Enterprise RBAC plugin. I > think Jesse has made the exception less scary in more recent versions of > Jenkins. > > In this speci

How to get all builds of a project via API

2013-07-03 Thread Dirk Heinrichs
Hi, I've got a small Groovy script to get some data for all builds of a given project: import hudson.model.* def jobName = args[0] def job = Hudson.instance.getItem(jobName) def builds = job.getBuilds() builds.each { println (it.getNumber()+":"+it.getStartTimeInMillis()+":"+it.getDurat

Re: Exception in Guice injection of XStream plugin: cannot resolve class hudson.license.LicenseManager

2013-07-03 Thread Stephen Connolly
Likely you have disabled or are missing some of the required plugins for the folders plugin's license enforcement (the joys of this plugin being free (as in tell me your name and I'll give you this beer)... we do ask our management if we can make it free (as in OSS) but I have yet to see a answer o

Re: Exception in Guice injection of Folders plugin

2013-07-03 Thread Stephen Connolly
To be expected if you don't have the Jenkins Enterprise RBAC plugin. I think Jesse has made the exception less scary in more recent versions of Jenkins. In this specific case it is a historical artifact of the way the two plugins were developed. I developed the RBAC plugin while KK was working on

java.io.IOException: Remote call failed

2013-07-03 Thread Bharathi Ramalingam
I often get the following error when I try to launch a Job. Even though the slave is up and connected to the master. Following error is thrown. Restarting the slave and re-adding it to the master solves the problem. But for a large environment, such things will not scale. Has anyone came across t

Exception in Guice injection of XStream plugin: cannot resolve class hudson.license.LicenseManager

2013-07-03 Thread Jerry
(this is different from my last post) I was trying to track down a memory leak in Jenkins (or a plugin) and came across the following in the log. I don't think it's related to the memory leak, and I haven't seen any effects of the exception, just thought someone (e.g., Stephen Connelly) might b

Exception in Guice injection of Folders plugin

2013-07-03 Thread Jerry
I was trying to track down a memory leak in Jenkins (or a plugin) and came across the following in the log. I don't think it's related to the memory leak, and I haven't seen any effects of the exception, just thought someone (e.g., Stephen Connelly) might be interested in this. - Jul 02, 2

Re: How to keep Unix process alive after job is completed?

2013-07-03 Thread John Vacz
We have a job executing a shell script (on a slave) to restart one dev appserver on a remote server if it does not work properly (dont bother why its not working): # BUILD_ID=dontKillMe ssh user@some.remote.server exec /path/to/appserver/force_restart_script arg1 The "force_restart_scrip

Re: HELP! Jenkins no longer connects to Subversion (svn: REPORT of /svn/repo_name/!svn/vcc/default: 500 Internal Server Error)

2013-07-03 Thread Masariello
Yes, the clocks are in sync. And the checkout started to work again. Unfortunately I did not think of checking the clocks yesterday. Will certainly do it next time I get the problem. Thanks for the prompt feedback! On Wednesday, July 3, 2013 8:41:55 AM UTC+1, matthew...@diamond.ac.uk wrote: >

A strange issues about master connecting slave

2013-07-03 Thread Zhouping Liu
Hello All, I met the below issues when I added a new node to jenkins: - snip --- _=/etc/bashrc [07/03/13 03:13:30] [SSH] Checking java version of java [07/03/13 03:13:30] [SSH] java -version returned 1.7.0_03. [07/03/13 03:13:30] [SSH] Starting sftp client. [0

howto redirect file content to ANT console to follow a build

2013-07-03 Thread Markus Bauer-Sommerfeld
I have setup a Jenkins job which calls an ANT script. This ANT-script calls Matlab to codegenerate and compile Software. Matlab writes continously while working to a logfile. This target takes about 90--150mins. Is it possible to redirect the content of the matlab logfile to the ANT console to

RE: HELP! Jenkins no longer connects to Subversion (svn: REPORT of /svn/repo_name/!svn/vcc/default: 500 Internal Server Error)

2013-07-03 Thread Matthew.Webber
Are the clocks on the Jenkins machine and the subversion server in sync (e.g. via ntp)? They need to be. Matthew From: jenkinsci-users@googlegroups.com [mailto:jenkinsci-users@googlegroups.com] On Behalf Of Masariello Sent: 02 July 2013 21:39 To: jenkinsci-users@googlegroups.com Subject: HELP! J

Disable fingerprinting? (1.509.1 LTS)

2013-07-03 Thread Steffen Breitbach
Hi everyone! We don't use fingerprinting in our projects. Therefore I'd like to disable fingerprinting globally. Is there a way to do so? Regards Steffen -- You received this message because you are subscribed to the Google Groups "Jenkins Users" group. To unsubscribe from this group and sto