Call Perform Maven Release through REST API

2014-05-28 Thread Emmanuel POT
Hello, I would like to perform a maven release using the maven release plugin remotely. Ideally, I would be able to pass as http parameters the version to use. I googled for 30min but could not find a way to do that. Has anyone managed to do it ? Cheers, emmanuel -- You received this

Re: Jenkins silently skipping MultiJob phase.

2014-05-28 Thread Scott Tenorman
Hi David, I also experience this issue with 18 child jobs. I tried to split parent job into 3 but it does'nt solve the problem. I also tried to use build-flow-plugin but it doesn't fill my requirements. Has someone also seen the issue ? Or David, did you find a workaround ? Regards Marc --

Re: Jenkins silently skipping MultiJob phase.

2014-05-28 Thread David Koch
No, the issue persists and I have not found a work-around. Initially, I thought it may be related to out-of-memory issues in Jenkins but it turns out that this is not the case. Regards, /David On Wed, May 28, 2014 at 9:34 AM, Scott Tenorman marclemi...@hotmail.comwrote: Hi David, I also

xUnit.net - anybody use that with Jenkins?

2014-05-28 Thread jpd4nt
Hi. Got a .NET project that uses xUnit.net and want to use our existing Jenkins setup. Anyone using it with Jenkins? There does not seem to be a plugin for it, so some conversion would be required to get it to fit. Has anyone else tried this? -- You received this message because you are

Different platforms in NUnit in the same job

2014-05-28 Thread Jes Struck
Hey, I'm struggling with, what i thought would be a simple task, I have some NUnit test that i want to run in both x64 and x84 but I'd like it to be grouped by the bitness, as fare as I see it I have to create two separate jobs in order to clearly divide this. is that true??.. Is that true or is

Config File Provider Plugin: Is it possible to automatically create a new configuration file?

2014-05-28 Thread mr
Hi everybody! I have three questions about the Config File Provider Plugin: 1. Is it possible to automatically/programmatically (e.g. using an API) add/load/create a configuration file into the Config File Management? 2. Additionally I would like to know where all the files which are managed

How to run msbuild from a Python script?

2014-05-28 Thread David Aldrich
Hi I have a Jenkins job that builds a Visual Studio project in multiple configurations using msbuild. I currently have multiple build steps in the job - one Windows batch command step for each call of msbuild. I want to replace these steps with a single Python script, which will be easier to

Re: Permgen issues only when run as a Windows Service

2014-05-28 Thread James Green
For the purposes of completeness, a follow-up. I have overcome the problem. It seems the MAVEN_OPTS environment variable set within Windows is not read, or mine is incorrect set. If I Configure the project, and click Advanced under Build I can add -XX:MaxPermSize=256m to MAVEN_OPTS. This

Re: How to run msbuild from a Python script?

2014-05-28 Thread corneil.duples...@gmail.com
When vcvarsall.bat executes it sets environment variables, but they only valid within the command shell in which it is executed and when that shell terminates the environment variables are gone. Your python will be creating a command shell each time it executes vcvarsall.bat and then a process for

Re: Call Perform Maven Release through REST API

2014-05-28 Thread Baptiste Mathus
Well, you certainly want too give a wee bit more precision. Trying to approximately answer your question though, one way to do it could be: 1) define a Jenkins job, and configure it so that the release works fine (define a parameter for that build) 2) through either jenkins-cli or the rest api,

Re: Call Perform Maven Release through REST API

2014-05-28 Thread Emmanuel POT
Hello, Sorry I will try to be more specific. I want to use the Jenkins plugin Maven Release https://wiki.jenkins-ci.org/display/JENKINS/M2+Release+Plugin. It takes care of committing the correct version in the pom.xml before the release, with the possibility to tune the commit message... I

Execute perl script in unix server to start a DS job

2014-05-28 Thread Vineeth Varghese
Hi all, I have to start a datastage job using jenkins , so that i can automate the test cases for my ETL project. Can some one guide me with the steps to execute a perl script remotely using jenkins. Thanks Vineeth Varghese -- You received this message because you are subscribed to the

Re: Execute perl script in unix server to start a DS job

2014-05-28 Thread Les Mikesell
On Wed, May 28, 2014 at 11:11 AM, Vineeth Varghese vineet...@gmail.com wrote: Hi all, I have to start a datastage job using jenkins , so that i can automate the test cases for my ETL project. Can some one guide me with the steps to execute a perl script remotely using jenkins. Just use a

RE: Call Perform Maven Release through REST API

2014-05-28 Thread James Nord (jnord)
You can’t automate a release via the m2release plugin via a REST like API. You can do it using HTTP Post and curl – just have a look at the form befor you do a release and you should be able to craft a cURL request. e.g. releaseVersion=1.2.3 developmentVersion=1.2.4-SNAPSHOT if you’re not sure

Jenkins is not Restarted

2014-05-28 Thread srinath0805
Hi Folks I'm trying to restart my jenkins server on linux machine but I'm getting this error: *May 28, 2014 1:03:42 PM jenkins.model.Jenkins$23 run* *SEVERE: Restarting VM as requested by anonymous* *May 28, 2014 1:03:43 PM jenkins.model.Jenkins$23 run* *WARNING: Failed to restart Hudson*

Re: Jenkins is not Restarted

2014-05-28 Thread Mark Waite
I think I've seen something like that when I updated the java version while Jenkins was running. Another possibility is that the java program is no longer in the path for the script you're using to start Jenkins. On Wed, May 28, 2014 at 11:23 AM, srinath0...@gmail.com wrote: Hi Folks I'm

Re: Jenkins is not Restarted

2014-05-28 Thread srinath0805
I'm using java version 1.7.0_45 my script is *export JENKINS_HOME=/home/build/jenkins* *export JENKINS_USER=build* *export JAVA_HOME=/tools/java/java170_45* *export CLASSPATH=$JAVA_HOME/lib/tools.jar:./* *export ANT_HOME=/tools/ant/apache-ant-1.8.3* *export

Re: Jenkins is not Restarted

2014-05-28 Thread Daniel Beck
That's a bug that will be fixed in Jenkins 1.567 or so. https://github.com/jenkinsci/jenkins/pull/1239 On 28.05.2014, at 19:50, srinath0...@gmail.com wrote: I'm using java version 1.7.0_45 my script is export JENKINS_HOME=/home/build/jenkins export JENKINS_USER=build export

[RFC] 3D model of Mr.Jenkins?

2014-05-28 Thread Kohsuke Kawaguchi
Those of you who came to the last San Francisco JUC knows that the bobble head of Mr.Jenkins has been very popular. We've been asked in various places such as FOSDEM and SCALE, but getting those to the hands of people is logistically tricky. I was talking about that with somebody and he

Re: Different platforms in NUnit in the same job

2014-05-28 Thread Owen B. Mehegan
What you want to do is have two Jenkins slaves, one 32 and one 64 bit. Give the slaves labels to that effect. Then create one Jenkins job, and choose the multi-configuration project type (also referred to as a matrix job). In that job's configuration you will see a section called Configuration

Re: Call Perform Maven Release through REST API

2014-05-28 Thread Emmanuel
Ok thanks ! I guess I will use a classic job instead so that I can use the REST API. On Wed, May 28, 2014 at 6:33 PM, James Nord (jnord) jn...@cisco.com wrote: You can’t automate a release via the m2release plugin via a REST like API. You can do it using HTTP Post and curl – just have a

a few Jenkins questions

2014-05-28 Thread wakelt
I have been using Jenkins for a few months now. I've apparently run enough builds that the build number scheme used by Jenkins (ex. Project_JUnit #978) has now wrapped around to Project_Junit #20. These are not the exact numbers but you get the idea. Now that I've wrapped around I don't

Re: Parameter based on other parameters

2014-05-28 Thread Charlie Olmstead
Figured it out. Click the advanced button in the Invoke Ant step set Properties to arguments=$argument1 $argument2... On Tuesday, May 20, 2014 1:44:50 PM UTC-6, Charlie Olmstead wrote: Hello, I am using Jenkins to execute multiple ruby scripts. I want to use 1 generic ant build file for all

custom workspace and share same workspace

2014-05-28 Thread charlieecconnect
Hi, I am trying to get a build chain happening with a multijob phase plugin, but having a problem getting the plugin to respect workspace location directives. Job1 uses a custom workspace called 'data' The other jobs share the workspace, using the 'Build Environment - Run this job on the same

Can't get webhooks to work

2014-05-28 Thread Vinicius Carvalho
Jenkins version: 1.565 Github plugin version : 1.8 github authentication plugin: 0.16 Hi there, I'm trying to get the webhooks plugin to work, but after a few hours I think I'd better get some help. My Jenkins server is on a public internet, so github can connect to it. I'm using oauth plugin,