REST API update job boken?

2015-03-31 Thread Nicky Ramone
Hi, I have installed Jenkins LTS 1.596.2 and I came across to the fact that updating the job configuration via de REST API doesn't seem to work anymore. I tried something like: curl -v -X POST --data-binary @req.xml -u myuser:mypass \ -H 'Content-Type: application/xml' \ -w

Re: REST API update job boken?

2015-03-31 Thread Nicky Ramone
there. On 31.03.2015, at 20:49, Nicky Ramone nixe...@gmail.com wrote: Hi, I have installed Jenkins LTS 1.596.2 and I came across to the fact that updating the job configuration via de REST API doesn't seem to work anymore. I tried something like: curl -v -X POST --data-binary @req.xml -u

Re: Archived Artifacts

2012-12-21 Thread Nicky Ramone
. On 10.12.2012, at 20:41, Nicky Ramone nixe...@gmail.com wrote: Hello. I noticed that despite my configuration is defined so that no artifacts are archived, the artifacts are stored in the disk anyway for all builds. Example: $JENKINS_HOME/jobs/dummy/modules/com.dummy/builds/2012-07

Re: Archived Artifacts

2012-12-17 Thread Nicky Ramone
Did anyone notice the same behavior? On Mon, Dec 10, 2012 at 2:41 PM, Nicky Ramone nixe...@gmail.com wrote: Hello. I noticed that despite my configuration is defined so that no artifacts are archived, the artifacts are stored in the disk anyway for all builds. Example: $JENKINS_HOME/jobs

Archived Artifacts

2012-12-10 Thread Nicky Ramone
Hello. I noticed that despite my configuration is defined so that no artifacts are archived, the artifacts are stored in the disk anyway for all builds. Example: $JENKINS_HOME/jobs/dummy/modules/com.dummy/builds/2012-07-12_10-24-06/archive/com.dummy/dummy/dummy,tar.gz Is this due to

Promoted Build Plugin: trigger a promotion remotely

2012-09-25 Thread Nicky Ramone
Hi Is it possible/straightforward to execute a promotion remotely with a client such as 'curl'? My promotions are manually triggered and they require for a particular user to approve it. I noticed that the URLs used has this format: http://

Re: promotion config.xml url

2012-09-18 Thread Nicky Ramone
It doesn't. Last time I checked (a few weeks ago) there was still no way of getting this info. There's a feature request open for this and for more complete remote handling of promotions. On Fri, Aug 24, 2012 at 1:39 PM, AnthonyJ anthony.jeff...@cox.net wrote: we need help figuring out the url

Envinject Plugin: Resolve environment variables on properties file path

2012-06-27 Thread Nicky Ramone
Hi It would be useful if we could use environment variables when specifying the Properties File Path. When doing a promotion, I am currently trying to load a properties file that exists in the archived artifacts of that build. So, I used: ../builds/$BUILD_NUMBER/archive/my.properties

Re: Envinject Plugin: Resolve environment variables on properties file path

2012-06-27 Thread Nicky Ramone
Looks like it does pick environment variables, but the BUILD_NUMBER being picked is the one that corresponds to the promotion #. Is there a way of obtaining the number of the build being promoted? On Wed, Jun 27, 2012 at 2:32 PM, Nicky Ramone nixe...@gmail.com wrote: Hi It would be useful

Re: Envinject Plugin: Resolve environment variables on properties file path

2012-06-27 Thread Nicky Ramone
Ramone wrote: It still behaves strangely. It doesn't seem to resolve variables. On Wed, Jun 27, 2012 at 2:45 PM, Nicky Ramone nixe...@gmail.com wrote: Looks like it does pick environment variables, but the BUILD_NUMBER being picked is the one that corresponds to the promotion #. Is there a way

Which container to use for Jenkins on production?

2012-06-18 Thread Nicky Ramone
Hi We have been using Tomcat for some time now to deploy Jenkins. We will probably put this behind an Apache Httpd so that we can redirect from a URL with no port. Example: We would forward http://jenkins.ourinstance.com/ to http://jenkins.ourinstance.com:8080/jenkins I was wondering if there

Re: Which container to use for Jenkins on production?

2012-06-18 Thread Nicky Ramone
Thank you, Les. On Mon, Jun 18, 2012 at 2:00 PM, Les Mikesell lesmikes...@gmail.com wrote: On Mon, Jun 18, 2012 at 8:34 AM, Nicky Ramone nixe...@gmail.com wrote: We have been using Tomcat for some time now to deploy Jenkins. We will probably put this behind an Apache Httpd so that we can

Promoted Builds Plugin: Manual approval throws exception

2012-06-15 Thread Nicky Ramone
Hi I'm trying a very basic configuration where I want to promote the build manually and trigger a downstream job. When I go to Promotion Status and click on Approve I get an IllegalArgumentException with not much detail. Status Code: 500Exception: java.lang.IllegalArgumentException: dummy-project

Memory dump at startup

2012-06-14 Thread Nicky Ramone
Hi I just upgraded to Jenkins 1.470 and since then I haven't been able to start it up. I tried downgrading again but now I get the same errors with the previous version that worked. I don't know if somehow my data could have got corrupted. This is where the error starts on the log: ... ... INFO:

Re: Promoted Builds Plugin: Does not automatically promote despite qualifications being met

2012-04-12 Thread Nicky Ramone
and it worked for a while. Then it stopped working at all. ** ** It would be nice to have this feature working again. ** ** Greetings, ** ** Helge ** ** *From:* jenkinsci-users@googlegroups.com [mailto: jenkinsci-users@googlegroups.com] *On Behalf Of *Nicky Ramone *Sent

Promoted Builds Plugin: Does not automatically promote despite qualifications being met

2012-04-11 Thread Nicky Ramone
Hello. I have the following build sequence with Maven jobs: A -- B -- C and I want to promote A when C has finished successfully. I am tracking fingerprints of the same artifact in all 3 jobs, and I verify that they are correct. When C finishes, the Promotion Status looks fine with met

Re: Build Pipeline view issues

2012-04-10 Thread Nicky Ramone
Chris, you are right. The integration between the Build Pipeline plugin and the Promoted Builds plugin does not exist. Somewhere I read that this is a desired feature and it may come in the future. On Wed, Feb 8, 2012 at 6:18 AM, Chris Withers ch...@simplistix.co.ukwrote: Hi All, I'm having

Re: copy artifacts - pick from two upstream jobs

2012-03-22 Thread Nicky Ramone
Nevermind, I found it. On Thu, Mar 22, 2012 at 11:17 AM, Nicky Ramone nixe...@gmail.com wrote: Where is that Upstream build that triggered this job-functionality of the Copy-Artifacts-Plugin ? On Tue, Feb 21, 2012 at 12:23 PM, Fred G fred.g...@googlemail.com wrote: Hi Chris, You can

Build Pipeline Plugin: Not possible to rebuild?

2012-03-22 Thread Nicky Ramone
Hi It looks like that plugin does not allow you to rebuild a specific stage of the pipeline after it has succeeded. The downside of this is that if, for example, you had a stage for deploying, you wouldn't be able to redeploy if needed. Has anyone else found this to be an inconvenient? Cheers.

Re: Groovy Plugin: Obtain upstream builds?

2012-03-21 Thread Nicky Ramone
:51 PM, Andrew Bayer andrew.ba...@gmail.comwrote: I think you'd have to use the system groovy build step to do this, but it should be possible there. A. On Tue, Mar 20, 2012 at 10:08 AM, Nicky Ramone nixe...@gmail.com wrote: Hi. Is it possible to obtain the upstream build objects

Re: Build Pipeline Plugin: does not correctly define the upstream build?

2012-03-21 Thread Nicky Ramone
by upstream project foo-1.0 http://localhost:8080/job/foo-1.0/ build number 11 http://localhost:8080/job/foo-1.0/11/ Upstream Builds - foo-1.0 http://localhost:8080/job/foo-1.0/[image: Success]#14http://localhost:8080/job/foo-1.0/14/ On Wed, Mar 21, 2012 at 11:58 AM, Nicky Ramone nixe

Groovy Plugin: Obtain upstream builds?

2012-03-20 Thread Nicky Ramone
Hi. Is it possible to obtain the upstream build objects in a groovy script executed by the Groovy Plugin? You can do this in the Groovy Post Build Plugin with: manager.build.getUpstreamBuilds() Is there a similar way of doing it? Thanks Regards.

Re: Pipeline Plugin: Use compiled artifact from previous stage

2012-03-15 Thread Nicky Ramone
some more detail -- wouldn't the jar name be the same each time anyway? You can probably craft something with a combination of copy-artifacts plugin, maven repository server plugin and possibly a groovy script.. On Wed, Mar 14, 2012 at 7:05 PM, Nicky Ramone nixe...@gmail.com wrote

Re: Pipeline Plugin: Use compiled artifact from previous stage

2012-03-15 Thread Nicky Ramone
opinion...because I really dislike dredging through a whole pile of jars trying to figure out what version is being used because every version is named the same. On Mar 15, 2012 11:53 AM, Nicky Ramone nixe...@gmail.com wrote: Thanks both. I think that could work. There a few other problems

Re: View - make available to all users

2012-03-14 Thread Nicky Ramone
Try the following: Log in with admin privileges. The last tab available in the view will be named +. Click on that tab to create a new shared view. Cheers. On Tue, Mar 13, 2012 at 12:58 PM, MartinD martin.dick...@snapon.com wrote: I've been trying to create some views that will be available

Pipeline Plugin: Use compiled artifact from previous stage

2012-03-13 Thread Nicky Ramone
Hi Suppose I build a Java project with Maven and a two-stage pipeline: Stage 1: Packaging and unit-testing (here the jar is built and deployed into the repository manager) Stage 2: Deploy to QA (here the jar is grabbed from the repository manager and placed in the QA server) How can I know which

Re: Cannot build any jobs: Pending - Waiting for next available executor

2012-03-07 Thread Nicky Ramone
- vote for that ticket if it is a problem for you (and/or add a note to the ticket indicating that you are also experiencing it) ** ** *From:* jenkinsci-users@googlegroups.com [mailto: jenkinsci-users@googlegroups.com] *On Behalf Of *Nicky Ramone *Sent:* 07 March 2012 13:34 *To:* jenkinsci

Re: Cannot build any jobs: Pending - Waiting for next available executor

2012-03-07 Thread Nicky Ramone
in the global config? On Mar 7, 2012 6:49 AM, Nicky Ramone nixe...@gmail.com wrote: That seems to be a different problem. I haven't defined any quiet periods, and I'm only trying to run one single build right now. The job never starts. On Wed, Mar 7, 2012 at 10:41 AM, matthew.web...@diamond.ac.uk

Re: Cannot build any jobs: Pending - Waiting for next available executor

2012-03-07 Thread Nicky Ramone
Thanks! that worked. It's building now. I don't know how it got to the value 0. Do you have any tips for how to choose that number? I don't have any slaves right now. On Wed, Mar 7, 2012 at 11:00 AM, Slide slide.o@gmail.com wrote: Try changing to 1. On Mar 7, 2012 6:57 AM, Nicky Ramone

Re: Cannot build any jobs: Pending - Waiting for next available executor

2012-03-07 Thread Nicky Ramone
need to define priorities to sort out jobs in the queue: then this plugin gets useful: http://wiki.hudson-ci.org/display/HUDSON/Priority+Sorter+Plugin regards didier On Mar 7, 3:06 pm, Nicky Ramone nixe...@gmail.com wrote: Thanks! that worked. It's building now. I don't know how it got