Remote triggering of job works fine in commandline but not through script

2015-01-16 Thread Maneesh M P
I have the below script to iterate the the properties file and invoke a another job through REST API call. !/bin/bash IFS=$'\n' for file in `ls -1 *.config`; do for val in `cat $file`;do url+="\&"${val} done url=${url// /"%20"} echo curl -su "abcl:32423423fssd" http://

Re: Testlink plugin - Fetching results of Testcases with Data Providers

2015-01-16 Thread Walter Kelt
Don't think you can accomplish 3 separate tests with data provider. You can use testng params and feed in the data using testng testsuite Xml. You'd run 3 separate tests. Sent from my iPhone > On Jan 16, 2015, at 4:48 PM, rauto wrote: > > Hi, > > I have automation test cases written in Java

Re: Link squish with jenkins

2015-01-16 Thread Swapnil Tilaye
I am also having the same issue. I am not using slave agent using Java Web Start (JNLP). why did you use slave agent? On Friday, 14 November 2014 07:48:41 UTC-7, valentin Dujardin wrote: > > Hello, > > I'm trying actually to link Squish with Jenkins, I use a slave agent using > Java Web Start (

Testlink plugin - Fetching results of Testcases with Data Providers

2015-01-16 Thread rauto
Hi, I have automation test cases written in Java + Selenium + TestNG. These tests are run in Jenkis and results are integrated to Testlink using Testlink plugin. I have Data Providers to provide data to the test methods. For example, // The dataprovider provides 3 data sets (hence 3 test cases

Diagnose NullPointerException in SCM polling

2015-01-16 Thread Ken O
I'm having an issue with an NPE occurring when Jenkins attempts to perform an SCM poll for any job. SCM checkout from SourceGear Vault seems to work correctly when I manually kick off a build. Could someone provide guidance on how to further investigate the cause? Environment: Jenkins 1.596,

Academic research study questionnaire

2015-01-16 Thread Alex Brodov
Hi Everyone, I'm conducting a research in the information security field, during my studies. I would appreciate it if you could complete the web questionnaire https://docs.google.com/forms/d/1MHWly-n9CVVjBpcuLgPwH_m0rADtWsoM19k_iSZJArY/viewform -- You received this message because you are subsc

AWS instance - all jobs fail - FATAL: Failed to load the key: hudson.model.Job.serverCookie

2015-01-16 Thread Matt Podber
We are currently setting up jenkins via scripts (ansible) and installing all necessary components, etc. when i create a vagrant box using the scripts, everything works as expected. i use the vagrant box to create a jenkins instance on aws using the same exact ansible scripts and everything seem

Intermittent Hangs on Jenkins

2015-01-16 Thread Andrew Smith
Hi We're getting intermittent hangs on our jenkins server. Basically it just stops responding completely. We see our access attempts in the access.log but the jenkins log is no longer updated. The only way to rectify the issue seems to be to restart jenkins. I've followed https://wiki.jenkins-ci

Jenkins release question

2015-01-16 Thread John
Hello, I have 5 projects that need to be released sequentially keeping the same release name and version. After the first project gets released the next project in sequence consumes the first project(as they are dependent) and then gets released. Later the third project consumes the release vers

[workflow-plugin] unarchive fail to create file on slave

2015-01-16 Thread Gary Clayburg
I'm not sure if this is the correct place to ask about this, but it looks like I ran into a but with Jenkins workflow-plugin. Try this workflow-plugin groovy code: node('master'){ git url: 'https://github.com/gclayburg/mongodbhello.git' archive 'pom.xml, policyconsole/' } node('builderbee'){

Re: downloads from archives.jenkins-ci.org never finish...

2015-01-16 Thread Aaron Johnson
> Out of interest, why do you need to create a mirror of long-outdated > Jenkins packages? > > Regards, > Chris > Personally I don't care to have the old packages, but repodata/filelists.xml.gz contains references for all packages in the repository, not just the 10 newer packages stored on

Re: downloads from archives.jenkins-ci.org never finish...

2015-01-16 Thread Aaron Johnson
Personally I don't care to have the old packages, but repodata/filelists.xml.gz contains references for all packages in the repository, not just the 10 newer packages stored on the jenkins-ci mirrors... In order to make a mirror of the entire repo I must be able to download all packages in the

Re: downloads from archives.jenkins-ci.org never finish...

2015-01-16 Thread Christopher Orr
On 16/01/15 16:16, Aaron Johnson wrote: Can someone please verify this: I am unable to download RPMs from archives.jenkins-ci.org, example: http://archives.jenkins-ci.org/redhat-stable/jenkins-1.424.2-1.1.noarch.rpm The download starts, and goes very slow (less than 5Kbps) and never finishes...

Re: Moved Workspace Root Directory; Jenkins Ignores It

2015-01-16 Thread Trinition
I don't understand it, but here's my resolution: While clicking on the workspace of any job would produce that error, if I kicked off a build, the build worked... from the *new* workspace folder. And then the workspace worked fine for that job from then on. So I'm guessing the Workspace link i

Re: downloads from archives.jenkins-ci.org never finish...

2015-01-16 Thread Richard Mortimer
Hi, On 16/01/2015 15:16, Aaron Johnson wrote: > Can someone please verify this: > > I am unable to download RPMs from archives.jenkins-ci.org, example: > http://archives.jenkins-ci.org/redhat-stable/jenkins-1.424.2-1.1.noarch.rpm > > The download starts, and goes very slow (less than 5Kbps) and

downloads from archives.jenkins-ci.org never finish...

2015-01-16 Thread Aaron Johnson
Can someone please verify this: I am unable to download RPMs from archives.jenkins-ci.org, example: http://archives.jenkins-ci.org/redhat-stable/jenkins-1.424.2-1.1.noarch.rpm The download starts, and goes very slow (less than 5Kbps) and never finishes... Because of this I am unable to create

Moved Workspace Root Directory; Jenkins Ignores It

2015-01-16 Thread Trinition
I have a simple master-only set up (Jenkins 1.596), but I was low on disk space, so I moved my workspaces to a second disk: 1. Set up the new location (e.g. E:\Workspace) 2. Changed Jenkins "Workspace Root Directory" to " E:/Workspace/${ITEM_FULLNAME}" 3. Shut down Jenkins 4. Move

Re: Jenkins - Baby steps

2015-01-16 Thread Mark Waite
On Fri, Jan 16, 2015 at 6:35 AM, Rob Mandeville < rmandevi...@dekaresearch.com> wrote: > The beauty of Jenkins is that a single installation can run on multiple > hosts. That’s what slave nodes are for. Rather than cross-compiling, just > put together a Linux machine with GCC, and build your Li

RE: Jenkins - Baby steps

2015-01-16 Thread Rob Mandeville
The beauty of Jenkins is that a single installation can run on multiple hosts. That’s what slave nodes are for. Rather than cross-compiling, just put together a Linux machine with GCC, and build your Linux binaries there. Here’s what you do. First off, I’m assuming that you have a job like “

RE: Variable from shell script to Jenkins job

2015-01-16 Thread Rob Mandeville
In the technique below, the echo lines are run on the remote (slave node). The “Inject environment variables” step works on the slave node and reads any files it needs from there, not the server. Also, this technique was built to allow one shell step to calculate the values of environment vari

Re: Variable from shell script to Jenkins job

2015-01-16 Thread Adrian Paraschiv
Hello Rob, I have a couple of questions: 1. The line "echo “varID = $varID” > export_props.properties" is run on the jenkins server or on the remote ? 2. If I need something like this on the remote server for a script that jenkins runs: .. export APPS="/opt/play/apps" export ACE="$APPS/

Jenkins to be deployed under Tomcat

2015-01-16 Thread Sang
Hi, I am quite new to Jenkins. I have to make Jenkins run from Tomcat. What I have tried so far: OS - *Ubuntu 14.04* I have installed *Tomcat7 * Copied *Jenkins war file* and re-named it as *jenkins1#live* *Re- Started *the tomcat. Changed the Hudson home directory path to */jenkins/live*/ und

Re: Jenkins - Baby steps

2015-01-16 Thread Kumara Raja S
Hi David, Sorry for the delayed reply. Here is my further analysis. I want to integrate a simple "c" project. This project will be built using gcc. As you mentioned targetting Linux platform. But the Jenkins will be running in windows machine, reason is that, Jenkins need to build the windows

Re: Jenkins - Baby steps

2015-01-16 Thread Kumara Raja S
Hi David, Am running Jenkins in my windows machine. To be clear, my application is being built in gcc, inorder to On Wednesday, January 14, 2015 at 7:20:01 PM UTC+5:30, David Aldrich wrote: > > Which environment are you targeting? (I guess you are targeting Linux > with the gcc compiler). >

Re: Clear lost of windows\temp\hudson-remoting folders from slaves

2015-01-16 Thread irshaad . mohamed
Hello! Old post, but did you ever fix this? Thanks On Wednesday, May 1, 2013 at 11:31:50 PM UTC+2, kcd wrote: > > Hi > > My slaves are retaining a whole heap of C:\Windows\Temp\hudson-remoting* > folders containing very little. Should these be automatically cleared out? > Does it relate to