Re: ssh-agent 1.8
Are you sure it's not just your broken proxy config? What's the file content? On 17.08.2015, at 22:48, btm.1...@gmail.com wrote: Hi all, I'm hoping to get some clarification. I keep received notice for an update to the ssh-agent plugin to 1.8. I tried to update but it failed with the following error: hudson.util.IOException2: Failed to download from http://updates.jenkins-ci.org/download/plugins/ssh-agent/1.8/ssh-agent.hpi (redirected to: http://mirror.xmission.com/jenkins/plugins/ssh-agent/1.8/ssh-agent.hpi) at hudson.model.UpdateCenter$UpdateCenterConfiguration.download(UpdateCenter.java:796) at hudson.model.UpdateCenter$DownloadJob._run(UpdateCenter.java:1143) at hudson.model.UpdateCenter$InstallationJob._run(UpdateCenter.java:1303) at hudson.model.UpdateCenter$DownloadJob.run(UpdateCenter.java:1121) at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511) at java.util.concurrent.FutureTask.run(FutureTask.java:266) at hudson.remoting.AtmostOneThreadExecutor$Worker.run(AtmostOneThreadExecutor.java:110) at java.lang.Thread.run(Thread.java:745) Caused by: java.io.IOException: Inconsistent file length: expected 4739069 but only got 6823 at hudson.model.UpdateCenter$UpdateCenterConfiguration.download(UpdateCenter.java:783) ... 7 more I was able to download the hpi from the xmission server via firefox. I also downloaded it from https://updates.jenkins-ci.org/download/plugins/ssh-agent/ (which went to http://ftp-nyc.osuosl.org/pub/jenkins/plugins/ssh-agent/1.8/ssh-agent.hpi). I noticed that there was a size difference between the two: $ ls -ltr -rwxrwx---+ 1 User None 6843 Aug 17 13:26 ssh-agent.xmirror.hpi -rwxrwx---+ 1 User None 6847 Aug 17 13:26 ssh-agent.jenkins.hpi I ran md5 against the two and could see they were different. $ md5sum ssh-agent.* 079875ab66ef1e2e81cbe628e3212d5e *ssh-agent.jenkins.hpi 28c260b7210872615f4a3055eb6b9c4e *ssh-agent.xmirror.hpi Is there a reason for the difference? It looks like the xmirror mirror is not providing the full download. Thanks, Ben -- You received this message because you are subscribed to the Google Groups Jenkins Users group. To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-users+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-users/0b476e48-c3e7-436b-a102-a3c437b7870a%40googlegroups.com. For more options, visit https://groups.google.com/d/optout. -- You received this message because you are subscribed to the Google Groups Jenkins Users group. To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-users+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-users/3C001DA8-6571-4390-8CAE-19BE25724693%40beckweb.net. For more options, visit https://groups.google.com/d/optout.
Re: Remote Build Using Curl
How to trigger a build with parameters is explained on the /job/JOBNAME/api URL in Jenkins -- the wiki page on the topic is a bit weird. On 17.08.2015, at 22:39, Walter Kelt wak...@comcast.net wrote: Just looked at the Jenkins remote access api. Looks like file and parameters need to be passed into curl in a json format. Not sure what Jenkins version you are using, but you may want to check it out. If you are doing a parametrized build it looks to be a little more complicated and I don't see an example using -F Sent from my iPad On Aug 17, 2015, at 4:11 PM, Greg Nifor whitehotentr...@gmail.com wrote: The job I'm triggering has two parameters, git and root. The curl sets those and I'm able to use those in my execute shell step. On Monday, August 17, 2015 at 12:57:38 PM UTC-7, walter.kelt wrote: Hmmm..when issuing a multipart form submission, i wouldn't expect the multipart parameters to become Linux shell variables unless the code receiving the http request took the parameters and made them so. Does your http endpoint do so ? Seems I am missing something. Sent from my iPad On Aug 17, 2015, at 3:45 PM, Greg Nifor whiteho...@gmail.com wrote: Linux, there's no errors. The command goes through, but Jenkins doesn't pick up on the variables when I echo them out this is the output: 12:31:06 + echo 12:31:06 12:31:06 + echo root 12:31:06 root Top one echos git and the second one echoes root (it's default value is root) echo $git echo $root On Monday, August 17, 2015 at 12:32:48 PM UTC-7, walter.kelt wrote: What was the error message ? paste the most current command. Also, windows or Linux ? Sent from my iPad On Aug 17, 2015, at 3:27 PM, Greg Nifor whiteho...@gmail.com wrote: That didn't work. On Monday, August 17, 2015 at 12:19:24 PM UTC-7, walter.kelt wrote: I think you need quote signs around each of the -F itemssuch as -F git=test Sent from my iPad On Aug 17, 2015, at 3:15 PM, Greg Nifor whiteho...@gmail.com wrote: curl -X POST localhost/job/Test/buildWithParameters -u user:pass -F git=test -F root=root1 On Monday, August 17, 2015 at 12:11:08 PM UTC-7, walter.kelt wrote: Please paste your full curl command Sent from my iPad On Aug 17, 2015, at 3:06 PM, Greg Nifor whiteho...@gmail.com wrote: When I try that the variables are empty. On Monday, August 17, 2015 at 11:49:09 AM UTC-7, walter.kelt wrote: You need to use -F for file and -F for data. Sent from my iPad On Aug 17, 2015, at 2:41 PM, Greg Nifor whiteho...@gmail.com wrote: Is there a way to use curl to send both a file and string parameter. I can do each individually, but not together. Works: curl -X POST jenkins_url/job/job/buildWithParameters -u user:password -F file=@/path/to curl -X POST jenkins_url/job/job/buildWithParameters -u user:password --data string0=foo --data string1=bar Doesn't Work: curl -X POST jenkins_url/job/job/buildWithParameters -u user:password -F file=@/path/to --data string0=foo --data string1=bar The result I get is: Warning: You can only select one HTTP request! Any ideas? -- You received this message because you are subscribed to the Google Groups Jenkins Users group. To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-use...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-users/65067202-61bf-40b8-8509-376d5ae79589%40googlegroups.com. For more options, visit https://groups.google.com/d/optout. -- You received this message because you are subscribed to the Google Groups Jenkins Users group. To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-use...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-users/f0a472a1-78f1-4a96-a15c-cf116565cdf8%40googlegroups.com. For more options, visit https://groups.google.com/d/optout. -- You received this message because you are subscribed to the Google Groups Jenkins Users group. To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-use...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-users/235cdbdb-cd11-46e2-ac6e-c51787d835a3%40googlegroups.com. For more options, visit https://groups.google.com/d/optout. -- You received this message because you are subscribed to the Google Groups Jenkins Users group. To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-use...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-users/17aa53ed-c460-4841-b074-4f7e83855dc0%40googlegroups.com. For more options, visit https://groups.google.com/d/optout. -- You received this message because you are subscribed to the
Re: Seek tools for text document variable substitution from a key / value input file ?
I am developing in using C++ and Qt 5.5. However, the gradle, ant, maven solutions sound interesting. I guess I will need to resort to some sed bash or python scripting to do what I need. Thank you both for the suggestions, -Ed On Monday, August 17, 2015 at 9:24:17 AM UTC-5, walter.kelt wrote: Ant and maven have filter functionality that can be used to update text files that use properties. May be handy if you are using ant or maven to create build. Sent from my iPad On Aug 17, 2015, at 10:16 AM, Daniel Beck m...@beckweb.net javascript: wrote: Use sed? https://en.wikipedia.org/wiki/Sed Gradle also does this if your build is based on that -- look for filter(…) on e.g. the copy task. Of course neither supports your file format out of the box. On 17.08.2015, at 16:11, Eddie Sutton edsu...@gmail.com javascript: wrote: I am looking for tools to automatically update text documents with relevant build information such as version information, date of build, the new features included with a milestone. SubWCRev works well but is limited to Subversion properties: http://tortoisesvn.net/docs/nightly/TortoiseSVN_en/tsvn-subwcrev-example.html ReadMe Template File: --- Build date: $WCDATE$ I am looking for a tool could read an input text file containing key value pairs, and substitute variables in a document template for HTML files, readme.txt files, RSS news feed files, etc. Input File (Manually Maintained) --- ReleaseSummary=New Features and Bug Fixes Feature1=Cure for cancer DownloadUrl=http://acme/com/downloads/installer-1.2.3456.zip; Output Template File: - h1$ReleaseSummary$h1 a href=$DownloadUrl$ Download/a Thanks in advance for any suggestions, -Ed -- You received this message because you are subscribed to the Google Groups Jenkins Users group. To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-use...@googlegroups.com javascript:. To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-users/CAKas9STLEK1b%3Dh0RH%2BmJOWxK-FQW4arTSK1MowWnL6bNEdm3YQ%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout. -- You received this message because you are subscribed to the Google Groups Jenkins Users group. To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-use...@googlegroups.com javascript:. To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-users/8FB112A8-ADD9-401F-8E8B-D6D8B7053EE7%40beckweb.net. For more options, visit https://groups.google.com/d/optout. -- You received this message because you are subscribed to the Google Groups Jenkins Users group. To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-users+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-users/74b289be-b86b-4a9e-9a8a-732affb769c4%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
Re: Jenkins can't find the build.xml file
It was indeed a file permissions issue. I solved it by simply setting all the jenkins files and folders to be universally readable/writable. Thx for helping :) 2015-08-17 14:05 GMT+02:00 Walter Kelt wak...@comcast.net: To see if it you have a permissions issue, u can use chmod to set read permissions on the file for user/group/other. You could also use chown to set a different Owner Sent from my iPhone On Aug 17, 2015, at 7:56 AM, Matic Pajnič matic.paj...@gmail.com wrote: If I run jenkins on user X, then user X has to be the owner of the files? I'm asking because I also have a user called jenkins, that's the default owner of the files Jenkins creates when operating. The project files (including build.xml) are currently owned by user X. 2015-08-17 13:25 GMT+02:00 Walter Kelt wak...@comcast.net: Does the file have proper permissions so that it is readable by Jenkins ? Sent from my iPhone On Aug 17, 2015, at 7:17 AM, Janez Novak matic.paj...@gmail.com wrote: Hi, I'm trying to build a simple example project (available here: http://eureka.ykyuen.info/2013/10/03/apache-ant-a-simple-ant-build-project/) just to see how Jenkins works (I'm new to it and Continuous Integration in general). I tried to do it by following a tutorial (available here: http://eureka.ykyuen.info/2013/10/04/jenkins-setup-a-simple-ant-build-project/). When I start the build from Jenkins, the build fails and this is the build log: --- Building in workspace /var/lib/jenkins/workspace/com-eureka FATAL: Unable to find build script at /var/lib/jenkins/workspace/com-eureka/build.xml Build step 'Invoke Ant' marked build as failure Finished: FAILURE --- As you can see, the name of my example project is com-eureka, and it is located in the /var/lib/jenkins/workspace/ folder. Based on the tutorial, the build.xml file should be located in the /var/lib/jenkins/workspace/com-eureka folder. I've checked and the file is indeed there, but is seems as though Jenkins can't see it. I'm running Jenkins on localhost, I'm using Ant (I tried with versions 1.9.2 and 1.9.6; I set the Jenkins configuration to download and install Ant automatically). -- You received this message because you are subscribed to the Google Groups Jenkins Users group. To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-users+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-users/66ea7048-2968-4a40-b49e-6e41694922e5%40googlegroups.com https://groups.google.com/d/msgid/jenkinsci-users/66ea7048-2968-4a40-b49e-6e41694922e5%40googlegroups.com?utm_medium=emailutm_source=footer . For more options, visit https://groups.google.com/d/optout. -- You received this message because you are subscribed to a topic in the Google Groups Jenkins Users group. To unsubscribe from this topic, visit https://groups.google.com/d/topic/jenkinsci-users/b3G4KdA2Fyo/unsubscribe . To unsubscribe from this group and all its topics, send an email to jenkinsci-users+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-users/49BF8B70-F602-4CD6-8529-CA4AD057B408%40comcast.net https://groups.google.com/d/msgid/jenkinsci-users/49BF8B70-F602-4CD6-8529-CA4AD057B408%40comcast.net?utm_medium=emailutm_source=footer . For more options, visit https://groups.google.com/d/optout. -- You received this message because you are subscribed to the Google Groups Jenkins Users group. To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-users+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-users/CA%2BzboHUvY-smfYymMZjYOmiWSy6FCt7tUae_chnk%3DpFU6o-S8A%40mail.gmail.com https://groups.google.com/d/msgid/jenkinsci-users/CA%2BzboHUvY-smfYymMZjYOmiWSy6FCt7tUae_chnk%3DpFU6o-S8A%40mail.gmail.com?utm_medium=emailutm_source=footer . For more options, visit https://groups.google.com/d/optout. -- You received this message because you are subscribed to a topic in the Google Groups Jenkins Users group. To unsubscribe from this topic, visit https://groups.google.com/d/topic/jenkinsci-users/b3G4KdA2Fyo/unsubscribe. To unsubscribe from this group and all its topics, send an email to jenkinsci-users+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-users/9AD9BF7A-3A10-40DC-A7FA-15331D8709A9%40comcast.net https://groups.google.com/d/msgid/jenkinsci-users/9AD9BF7A-3A10-40DC-A7FA-15331D8709A9%40comcast.net?utm_medium=emailutm_source=footer . For more options, visit
Re: Jenkins can't find the build.xml file
To see if it you have a permissions issue, u can use chmod to set read permissions on the file for user/group/other. You could also use chown to set a different Owner Sent from my iPhone On Aug 17, 2015, at 7:56 AM, Matic Pajnič matic.paj...@gmail.com wrote: If I run jenkins on user X, then user X has to be the owner of the files? I'm asking because I also have a user called jenkins, that's the default owner of the files Jenkins creates when operating. The project files (including build.xml) are currently owned by user X. 2015-08-17 13:25 GMT+02:00 Walter Kelt wak...@comcast.net: Does the file have proper permissions so that it is readable by Jenkins ? Sent from my iPhone On Aug 17, 2015, at 7:17 AM, Janez Novak matic.paj...@gmail.com wrote: Hi, I'm trying to build a simple example project (available here: http://eureka.ykyuen.info/2013/10/03/apache-ant-a-simple-ant-build-project/) just to see how Jenkins works (I'm new to it and Continuous Integration in general). I tried to do it by following a tutorial (available here: http://eureka.ykyuen.info/2013/10/04/jenkins-setup-a-simple-ant-build-project/). When I start the build from Jenkins, the build fails and this is the build log: --- Building in workspace /var/lib/jenkins/workspace/com-eureka FATAL: Unable to find build script at /var/lib/jenkins/workspace/com-eureka/build.xml Build step 'Invoke Ant' marked build as failure Finished: FAILURE --- As you can see, the name of my example project is com-eureka, and it is located in the /var/lib/jenkins/workspace/ folder. Based on the tutorial, the build.xml file should be located in the /var/lib/jenkins/workspace/com-eureka folder. I've checked and the file is indeed there, but is seems as though Jenkins can't see it. I'm running Jenkins on localhost, I'm using Ant (I tried with versions 1.9.2 and 1.9.6; I set the Jenkins configuration to download and install Ant automatically). -- You received this message because you are subscribed to the Google Groups Jenkins Users group. To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-users+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-users/66ea7048-2968-4a40-b49e-6e41694922e5%40googlegroups.com. For more options, visit https://groups.google.com/d/optout. -- You received this message because you are subscribed to a topic in the Google Groups Jenkins Users group. To unsubscribe from this topic, visit https://groups.google.com/d/topic/jenkinsci-users/b3G4KdA2Fyo/unsubscribe. To unsubscribe from this group and all its topics, send an email to jenkinsci-users+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-users/49BF8B70-F602-4CD6-8529-CA4AD057B408%40comcast.net. For more options, visit https://groups.google.com/d/optout. -- You received this message because you are subscribed to the Google Groups Jenkins Users group. To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-users+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-users/CA%2BzboHUvY-smfYymMZjYOmiWSy6FCt7tUae_chnk%3DpFU6o-S8A%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout. -- You received this message because you are subscribed to the Google Groups Jenkins Users group. To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-users+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-users/9AD9BF7A-3A10-40DC-A7FA-15331D8709A9%40comcast.net. For more options, visit https://groups.google.com/d/optout.
Re: 'cordova' command not recognised on Jenkins Windows slave
Thanks for that input, Eric. I have the nodejs path set in the PATH variable and I can run the cordova commands from command line on the slave machine locally. \the problem occurs only when I run it from Jenkins. I've installed Envinject plugin. Being a newbie to Jenkins, I'm a bit confused as to how to use it. Can I use the node level configuration where I unset the system environment variable, copy the contents of my system PATH variable on to a .properties file and specify its path? In the properties file, should I specify the path to nodejs as CORDOVA_PATH? Can't see much help on the cordova-Jenkins on the net too. Thanks, Shaji On Friday, 14 August 2015 21:46:39 UTC+1, Eric Pyle wrote: Hi, Apparently 'cordova' is not on the %PATH% for the user running Jenkins. You may want to manually add the appropriate PATH entries before calling cordova, or you can set build variables in the job definition (Build Environment section, requires Envinject plugin). Regards, Eric On 8/14/2015 1:08 PM, Shajimon Paremmal wrote: HI, I'm trying to build a sample mobile app using Apache CORDOVA in the Jenkins Master-Slave environment. The source files are present on a Jenkins slave running Windows Server 2012. I've specified the cordova commands in a .bat file and specified its path in the Execute Windows batch command. The build fails saying that 'cordova' is not recognized as an internal or external command,operable program or batch file. I can very well run this batch file from cmd and it runs successfully. Can anyone help me with this issue? Additional info: Contents of the .bat file; echo Starting the CORDOVA Build process cd C:\Cordova_Projects\workshop call cordova platforms remove android call cordova platforms add android call cordova plugin add org.apache.cordova.device call cordova plugin add org.apache.cordova.console call cordova emulate android Jenkins work directory on slave - C:\Jenkins_Works Cordova project directory on slave - C:\Cordova_Projects\workshop Thanks, Shaji -- You received this message because you are subscribed to the Google Groups Jenkins Users group. To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-use...@googlegroups.com javascript:. To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-users/bacd4605-bf42-4aa3-a1e6-9a0a9339a777%40googlegroups.com https://groups.google.com/d/msgid/jenkinsci-users/bacd4605-bf42-4aa3-a1e6-9a0a9339a777%40googlegroups.com?utm_medium=emailutm_source=footer . For more options, visit https://groups.google.com/d/optout. -- You received this message because you are subscribed to the Google Groups Jenkins Users group. To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-users+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-users/638bb6bd-6dc6-4792-8b3d-a5215a181bb2%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
Re: Jenkins can't find the build.xml file
If I run jenkins on user X, then user X has to be the owner of the files? I'm asking because I also have a user called jenkins, that's the default owner of the files Jenkins creates when operating. The project files (including build.xml) are currently owned by user X. 2015-08-17 13:25 GMT+02:00 Walter Kelt wak...@comcast.net: Does the file have proper permissions so that it is readable by Jenkins ? Sent from my iPhone On Aug 17, 2015, at 7:17 AM, Janez Novak matic.paj...@gmail.com wrote: Hi, I'm trying to build a simple example project (available here: http://eureka.ykyuen.info/2013/10/03/apache-ant-a-simple-ant-build-project/) just to see how Jenkins works (I'm new to it and Continuous Integration in general). I tried to do it by following a tutorial (available here: http://eureka.ykyuen.info/2013/10/04/jenkins-setup-a-simple-ant-build-project/). When I start the build from Jenkins, the build fails and this is the build log: --- Building in workspace /var/lib/jenkins/workspace/com-eureka FATAL: Unable to find build script at /var/lib/jenkins/workspace/com-eureka/build.xml Build step 'Invoke Ant' marked build as failure Finished: FAILURE --- As you can see, the name of my example project is com-eureka, and it is located in the /var/lib/jenkins/workspace/ folder. Based on the tutorial, the build.xml file should be located in the /var/lib/jenkins/workspace/com-eureka folder. I've checked and the file is indeed there, but is seems as though Jenkins can't see it. I'm running Jenkins on localhost, I'm using Ant (I tried with versions 1.9.2 and 1.9.6; I set the Jenkins configuration to download and install Ant automatically). -- You received this message because you are subscribed to the Google Groups Jenkins Users group. To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-users+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-users/66ea7048-2968-4a40-b49e-6e41694922e5%40googlegroups.com https://groups.google.com/d/msgid/jenkinsci-users/66ea7048-2968-4a40-b49e-6e41694922e5%40googlegroups.com?utm_medium=emailutm_source=footer . For more options, visit https://groups.google.com/d/optout. -- You received this message because you are subscribed to a topic in the Google Groups Jenkins Users group. To unsubscribe from this topic, visit https://groups.google.com/d/topic/jenkinsci-users/b3G4KdA2Fyo/unsubscribe. To unsubscribe from this group and all its topics, send an email to jenkinsci-users+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-users/49BF8B70-F602-4CD6-8529-CA4AD057B408%40comcast.net https://groups.google.com/d/msgid/jenkinsci-users/49BF8B70-F602-4CD6-8529-CA4AD057B408%40comcast.net?utm_medium=emailutm_source=footer . For more options, visit https://groups.google.com/d/optout. -- You received this message because you are subscribed to the Google Groups Jenkins Users group. To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-users+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-users/CA%2BzboHUvY-smfYymMZjYOmiWSy6FCt7tUae_chnk%3DpFU6o-S8A%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout.
Failed to parse Squish JSON with Cucumber json test reporting plugin
Hi, is support for .json results generated by Squish is going to be added for Cucumber json test reporting plugin ? [Cucumber Tests] Parsing results. [Cucumber Tests] parsing results.json ERROR: Build step failed with exception gherkin.deps.com.google.gson.JsonSyntaxException: java.lang.IllegalStateException: Expected BEGIN_ARRAY but was BEGIN_OBJECT at line 1 column 2 at gherkin.deps.com.google.gson.Gson.fromJson(Gson.java:806) at gherkin.deps.com.google.gson.Gson.fromJson(Gson.java:734) at gherkin.JSONParser.parse(JSONParser.java:41) at org.jenkinsci.plugins.cucumber.jsontestsupport.CucumberJSONParser.parse(CucumberJSONParser.java:77) at org.jenkinsci.plugins.cucumber.jsontestsupport.CucumberJSONParser.parse(CucumberJSONParser.java:43) at org.jenkinsci.plugins.cucumber.jsontestsupport.DefaultTestResultParserImpl$ParseResultCallable.invoke(DefaultTestResultParserImpl.java:159) at org.jenkinsci.plugins.cucumber.jsontestsupport.DefaultTestResultParserImpl$ParseResultCallable.invoke(DefaultTestResultParserImpl.java:105) at hudson.FilePath.act(FilePath.java:991) at hudson.FilePath.act(FilePath.java:969) at org.jenkinsci.plugins.cucumber.jsontestsupport.DefaultTestResultParserImpl.parse(DefaultTestResultParserImpl.java:99) at org.jenkinsci.plugins.cucumber.jsontestsupport.CucumberJSONParser.parse(CucumberJSONParser.java:99) at org.jenkinsci.plugins.cucumber.jsontestsupport.CucumberTestResultArchiver.perform(CucumberTestResultArchiver.java:112) at hudson.tasks.BuildStepMonitor$1.perform(BuildStepMonitor.java:20) at hudson.model.AbstractBuild$AbstractBuildExecution.perform(AbstractBuild.java:779) at hudson.model.AbstractBuild$AbstractBuildExecution.performAllBuildSteps(AbstractBuild.java:726) at hudson.model.Build$BuildExecution.post2(Build.java:185) at hudson.model.AbstractBuild$AbstractBuildExecution.post(AbstractBuild.java:671) at hudson.model.Run.execute(Run.java:1766) at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:43) at hudson.model.ResourceController.execute(ResourceController.java:98) at hudson.model.Executor.run(Executor.java:381) Caused by: java.lang.IllegalStateException: Expected BEGIN_ARRAY but was BEGIN_OBJECT at line 1 column 2 at gherkin.deps.com.google.gson.stream.JsonReader.expect(JsonReader.java:339) at gherkin.deps.com.google.gson.stream.JsonReader.beginArray(JsonReader.java:306) at gherkin.deps.com.google.gson.internal.bind.CollectionTypeAdapterFactory$Adapter.read(CollectionTypeAdapterFactory.java:79) at gherkin.deps.com.google.gson.internal.bind.CollectionTypeAdapterFactory$Adapter.read(CollectionTypeAdapterFactory.java:60) at gherkin.deps.com.google.gson.Gson.fromJson(Gson.java:795) ... 20 more Build step 'Publish Cucumber test result report' marked build as failure Finished: FAILURE -- You received this message because you are subscribed to the Google Groups Jenkins Users group. To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-users+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-users/4650d8d9-8de9-4f9d-bb5e-947ae4d94a54%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
Re: Jenkins can't find the build.xml file
Does the file have proper permissions so that it is readable by Jenkins ? Sent from my iPhone On Aug 17, 2015, at 7:17 AM, Janez Novak matic.paj...@gmail.com wrote: Hi, I'm trying to build a simple example project (available here: http://eureka.ykyuen.info/2013/10/03/apache-ant-a-simple-ant-build-project/) just to see how Jenkins works (I'm new to it and Continuous Integration in general). I tried to do it by following a tutorial (available here: http://eureka.ykyuen.info/2013/10/04/jenkins-setup-a-simple-ant-build-project/). When I start the build from Jenkins, the build fails and this is the build log: --- Building in workspace /var/lib/jenkins/workspace/com-eureka FATAL: Unable to find build script at /var/lib/jenkins/workspace/com-eureka/build.xml Build step 'Invoke Ant' marked build as failure Finished: FAILURE --- As you can see, the name of my example project is com-eureka, and it is located in the /var/lib/jenkins/workspace/ folder. Based on the tutorial, the build.xml file should be located in the /var/lib/jenkins/workspace/com-eureka folder. I've checked and the file is indeed there, but is seems as though Jenkins can't see it. I'm running Jenkins on localhost, I'm using Ant (I tried with versions 1.9.2 and 1.9.6; I set the Jenkins configuration to download and install Ant automatically). -- You received this message because you are subscribed to the Google Groups Jenkins Users group. To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-users+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-users/66ea7048-2968-4a40-b49e-6e41694922e5%40googlegroups.com. For more options, visit https://groups.google.com/d/optout. -- You received this message because you are subscribed to the Google Groups Jenkins Users group. To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-users+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-users/49BF8B70-F602-4CD6-8529-CA4AD057B408%40comcast.net. For more options, visit https://groups.google.com/d/optout.
Re: Jenkins can't find the build.xml file
Could be a permissions issue. Make sure the user Jenkins runs as is owner of the workspace and everything in it. Note that you generally want to check out everything from SCM (Subversion, Git,…) rather than prepare a workspace manually. On 17.08.2015, at 13:17, Janez Novak matic.paj...@gmail.com wrote: Hi, I'm trying to build a simple example project (available here: http://eureka.ykyuen.info/2013/10/03/apache-ant-a-simple-ant-build-project/) just to see how Jenkins works (I'm new to it and Continuous Integration in general). I tried to do it by following a tutorial (available here: http://eureka.ykyuen.info/2013/10/04/jenkins-setup-a-simple-ant-build-project/). When I start the build from Jenkins, the build fails and this is the build log: --- Building in workspace /var/lib/jenkins/workspace/com-eureka FATAL: Unable to find build script at /var/lib/jenkins/workspace/com-eureka/build.xml Build step 'Invoke Ant' marked build as failure Finished: FAILURE --- As you can see, the name of my example project is com-eureka, and it is located in the /var/lib/jenkins/workspace/ folder. Based on the tutorial, the build.xml file should be located in the /var/lib/jenkins/workspace/com-eureka folder. I've checked and the file is indeed there, but is seems as though Jenkins can't see it. I'm running Jenkins on localhost, I'm using Ant (I tried with versions 1.9.2 and 1.9.6; I set the Jenkins configuration to download and install Ant automatically). -- You received this message because you are subscribed to the Google Groups Jenkins Users group. To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-users+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-users/66ea7048-2968-4a40-b49e-6e41694922e5%40googlegroups.com. For more options, visit https://groups.google.com/d/optout. -- You received this message because you are subscribed to the Google Groups Jenkins Users group. To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-users+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-users/240FC980-C95B-449A-AEF8-C01139B07BD1%40beckweb.net. For more options, visit https://groups.google.com/d/optout.
RE: Having one slave attached to 2 different masters ?
Thank you [Bjorn , Khai , Chanda ] for the responses . I have set different remote root directories for both slaves and also set different ports for both . Am trying to connect via ssh . Its still not happening : ie the connection is not maintained . Slave ‘a’ connects and then gets disconnected when slave ‘b’ connects . The ps output on the master shows only 1 slave jar process at any time . The below is see in the log of the slave which gets disconnected . : any ideas ? Note: Both the masters are at Jenkins 1.580.1 ===[JENKINS REMOTING CAPACITY]===channel started Slave.jar version: 2.47 This is a Unix slave Slave successfully connected and online debug1: client_input_channel_req: channel 0 rtype exit-status reply 0 debug1: channel 0: free: client-session, nchannels 1 debug1: fd 0 clearing O_NONBLOCK debug1: fd 1 clearing O_NONBLOCK debug1: fd 2 clearing O_NONBLOCK debug1: Transferred: stdin 0, stdout 0, stderr 0 bytes in 41.1 seconds debug1: Bytes per second: stdin 0.0, stdout 0.0, stderr 0.0 debug1: Exit status 143 ERROR: Connection terminated java.io.IOExceptionhttp://stacktrace.jenkins-ci.org/search?query=java.io.IOException: Unexpected termination of the channel at hudson.remoting.SynchronousCommandTransport$ReaderThread.run(SynchronousCommandTransport.java:50)http://stacktrace.jenkins-ci.org/search/?query=hudson.remoting.SynchronousCommandTransport$ReaderThread.runentity=method Caused by: java.io.EOFExceptionhttp://stacktrace.jenkins-ci.org/search?query=java.io.EOFException at java.io.ObjectInputStream$PeekInputStream.readFully(ObjectInputStream.java:2325)http://stacktrace.jenkins-ci.org/search/?query=java.io.ObjectInputStream$PeekInputStream.readFullyentity=method at java.io.ObjectInputStream$BlockDataInputStream.readShort(ObjectInputStream.java:2794)http://stacktrace.jenkins-ci.org/search/?query=java.io.ObjectInputStream$BlockDataInputStream.readShortentity=method at java.io.ObjectInputStream.readStreamHeader(ObjectInputStream.java:801)http://stacktrace.jenkins-ci.org/search/?query=java.io.ObjectInputStream.readStreamHeaderentity=method at java.io.ObjectInputStream.init(ObjectInputStream.java:299)http://stacktrace.jenkins-ci.org/search/?query=java.io.ObjectInputStream.%3Cinit%3Eentity=method at hudson.remoting.ObjectInputStreamEx.init(ObjectInputStreamEx.java:40)http://stacktrace.jenkins-ci.org/search/?query=hudson.remoting.ObjectInputStreamEx.%3Cinit%3Eentity=method at hudson.remoting.AbstractSynchronousByteArrayCommandTransport.read(AbstractSynchronousByteArrayCommandTransport.java:34)http://stacktrace.jenkins-ci.org/search/?query=hudson.remoting.AbstractSynchronousByteArrayCommandTransport.readentity=method at hudson.remoting.SynchronousCommandTransport$ReaderThread.run(SynchronousCommandTransport.java:48)http://stacktrace.jenkins-ci.org/search/?query=hudson.remoting.SynchronousCommandTransport$ReaderThread.runentity=method ERROR: Process terminated with exit code 143 From: jenkinsci-users@googlegroups.com [mailto:jenkinsci-users@googlegroups.com] On Behalf Of Chanda Unmack Sent: Monday, August 17, 2015 1:56 PM To: jenkinsci-users@googlegroups.com Subject: Re: Having one slave attached to 2 different masters ? We've done that with both ssh slaves and windows slaves with jnlp; ssh is definitely easier :) Both require separate root fs in the slave definition and for windows, had to modify the jenkins-slave.xml to change the name of the service so that each one is unique. On Thu, Aug 13, 2015 at 9:35 AM, Khai Do zaro0...@gmail.commailto:zaro0...@gmail.com wrote: Yes, we do that with ssh connected slaves. if what you are really after is multi-master configuration you should check out the gearman plugin: https://wiki.jenkins-ci.org/display/JENKINS/Gearman+Plugin On Thursday, August 13, 2015 at 12:09:50 AM UTC-7, Björn Pedersen wrote: Hi, it should be no problem to e.g. have ssh-slaves from to different masters running on the same machine(if you ensure to use different ports. But of course you will have 2 slave.jar running then. A single slave.jar process is always bound to a single master only. Am Donnerstag, 13. August 2015 02:54:49 UTC+2 schrieb Taher Furniturewala: Hi , Does anyone know if this is possible and if they have done it ? ie Having a slave being attached to and working for 2 different Jenkins masters ? Thanks Taher . This email and any attachments may contain confidential and privileged material for the sole use of the intended recipient. Any review, copying, or distribution of this email (or any attachments) by others is prohibited. If you are not the intended recipient, please contact the sender immediately and permanently delete this email and any attachments. No employee or agent of TiVo Inc. is authorized to conclude any binding agreement on behalf of TiVo Inc. by email. Binding agreements with TiVo Inc. may only be made by
Re: git clones on slaves
You can't change it from fetch to clone. The plugin uses a fetch, then performs a checkout. Why do you think you need to change it from fetch to clone? On Mon, Aug 17, 2015 at 9:02 PM moodysma sma moody...@gmail.com wrote: Hi, well I have git installed on each slave. One of the questions I have is that once I do a git build on a slave or the master, it looks like it is using a git fetch rather than clone. Why is this and how can I change it? Subsequent builds still do a fetch. Example: Building remotely on NJ1TSTLQSAPP05 (WINDOWS DEV) in workspace e:\dev\apps\jenkins\workspace\GIS_deploy_git_all c:\Program Files (x86)\Git\bin\git rev-parse --is-inside-work-tree # timeout=10 Fetching changes from the remote Git repository c:\Program Files (x86)\Git\bin\git config remote.origin.url file:nj1tstlqsapp02//e//git//master # timeout=10 Fetching upstream changes from file:nj1tstlqsapp02//e//git//master c:\Program Files (x86)\Git\bin\git --version # timeout=10 using GIT_SSH to set credentials jenkins c:\Program Files (x86)\Git\bin\git -c core.askpass=true fetch --tags --progress file:nj1tstlqsapp02//e//git//master +refs/heads/*:refs/remotes/origin/* Seen branch in repository origin/master Seen 1 remote branch Checking out Revision ecd16a407c5b95d06a8f955c40c8d8a5069cbad4 (origin/master) c:\Program Files (x86)\Git\bin\git config core.sparsecheckout # timeout=10 c:\Program Files (x86)\Git\bin\git checkout -f ecd16a407c5b95d06a8f955c40c8d8a5069cbad4 c:\Program Files (x86)\Git\bin\git rev-list ecd16a407c5b95d06a8f955c40c8d8a5069cbad4 # timeout=10 [GIS_deploy_git_all] $ cmd /c call C:\Users\AppTSTJenkins$SVC\hudson7593801289004581285.bat e:\dev\apps\jenkins\workspace\GIS_deploy_git_allecho GIT Deploy Complete GIT Deploy Complete On Monday, August 17, 2015 at 9:39:37 PM UTC-4, Mark Waite wrote: You could enable JGit as a git implementation from the master Jenkins configuration page, then use JGit as the implementation for your jobs. That avoids deploying git on each slave. JGit is not as full featured in the plugin as command line git, but it is sufficient for many uses. Alternately, you can install command line git on each slave, then let the git plugin use its default, command line git. Mark Waite On Mon, Aug 17, 2015 at 7:07 PM moodysma sma mood...@gmail.com wrote: Hi, I'm new to jenkins. I want to understand what is the proper way to deploy git to slaves. I have a git repo on a server, I want to build on a master node which is different from the git repo. Then I want to deploy a clone repo on all the slaves. Is it better to clone on the slaves or just transfer the files? I'm able to checkout on the master from the repos but I can't seem to get the clones on the slaves working. Any help would be appreciated. -- You received this message because you are subscribed to the Google Groups Jenkins Users group. To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-use...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-users/da8be4a7-3dd3-4af7-9e3c-5d4a21387127%40googlegroups.com https://groups.google.com/d/msgid/jenkinsci-users/da8be4a7-3dd3-4af7-9e3c-5d4a21387127%40googlegroups.com?utm_medium=emailutm_source=footer . For more options, visit https://groups.google.com/d/optout. -- You received this message because you are subscribed to the Google Groups Jenkins Users group. To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-users+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-users/536975ec-20e6-46a7-a0f1-023843eda25f%40googlegroups.com https://groups.google.com/d/msgid/jenkinsci-users/536975ec-20e6-46a7-a0f1-023843eda25f%40googlegroups.com?utm_medium=emailutm_source=footer . For more options, visit https://groups.google.com/d/optout. -- You received this message because you are subscribed to the Google Groups Jenkins Users group. To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-users+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-users/CAO49JtF-m0%3DoitM2JEDHZwM2Jvb6%2B2UsJQVVRJ%2B8rRFEE_n5MA%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout.
Re: git clones on slaves
You could enable JGit as a git implementation from the master Jenkins configuration page, then use JGit as the implementation for your jobs. That avoids deploying git on each slave. JGit is not as full featured in the plugin as command line git, but it is sufficient for many uses. Alternately, you can install command line git on each slave, then let the git plugin use its default, command line git. Mark Waite On Mon, Aug 17, 2015 at 7:07 PM moodysma sma moody...@gmail.com wrote: Hi, I'm new to jenkins. I want to understand what is the proper way to deploy git to slaves. I have a git repo on a server, I want to build on a master node which is different from the git repo. Then I want to deploy a clone repo on all the slaves. Is it better to clone on the slaves or just transfer the files? I'm able to checkout on the master from the repos but I can't seem to get the clones on the slaves working. Any help would be appreciated. -- You received this message because you are subscribed to the Google Groups Jenkins Users group. To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-users+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-users/da8be4a7-3dd3-4af7-9e3c-5d4a21387127%40googlegroups.com https://groups.google.com/d/msgid/jenkinsci-users/da8be4a7-3dd3-4af7-9e3c-5d4a21387127%40googlegroups.com?utm_medium=emailutm_source=footer . For more options, visit https://groups.google.com/d/optout. -- You received this message because you are subscribed to the Google Groups Jenkins Users group. To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-users+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-users/CAO49JtHUTx7kvFNbtZeBd0CtTvdq51tgmmZhmJ3-1vwPA8T1CA%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout.
Re: git clones on slaves
Hi, well I have git installed on each slave. One of the questions I have is that once I do a git build on a slave or the master, it looks like it is using a git fetch rather than clone. Why is this and how can I change it? Subsequent builds still do a fetch. Example: Building remotely on NJ1TSTLQSAPP05 (WINDOWS DEV) in workspace e:\dev\apps\jenkins\workspace\GIS_deploy_git_all c:\Program Files (x86)\Git\bin\git rev-parse --is-inside-work-tree # timeout=10 Fetching changes from the remote Git repository c:\Program Files (x86)\Git\bin\git config remote.origin.url file:nj1tstlqsapp02//e//git//master # timeout=10 Fetching upstream changes from file:nj1tstlqsapp02//e//git//master c:\Program Files (x86)\Git\bin\git --version # timeout=10 using GIT_SSH to set credentials jenkins c:\Program Files (x86)\Git\bin\git -c core.askpass=true fetch --tags --progress file:nj1tstlqsapp02//e//git//master +refs/heads/*:refs/remotes/origin/* Seen branch in repository origin/master Seen 1 remote branch Checking out Revision ecd16a407c5b95d06a8f955c40c8d8a5069cbad4 (origin/master) c:\Program Files (x86)\Git\bin\git config core.sparsecheckout # timeout=10 c:\Program Files (x86)\Git\bin\git checkout -f ecd16a407c5b95d06a8f955c40c8d8a5069cbad4 c:\Program Files (x86)\Git\bin\git rev-list ecd16a407c5b95d06a8f955c40c8d8a5069cbad4 # timeout=10 [GIS_deploy_git_all] $ cmd /c call C:\Users\AppTSTJenkins$SVC\hudson7593801289004581285.bat e:\dev\apps\jenkins\workspace\GIS_deploy_git_allecho GIT Deploy Complete GIT Deploy Complete On Monday, August 17, 2015 at 9:39:37 PM UTC-4, Mark Waite wrote: You could enable JGit as a git implementation from the master Jenkins configuration page, then use JGit as the implementation for your jobs. That avoids deploying git on each slave. JGit is not as full featured in the plugin as command line git, but it is sufficient for many uses. Alternately, you can install command line git on each slave, then let the git plugin use its default, command line git. Mark Waite On Mon, Aug 17, 2015 at 7:07 PM moodysma sma mood...@gmail.com javascript: wrote: Hi, I'm new to jenkins. I want to understand what is the proper way to deploy git to slaves. I have a git repo on a server, I want to build on a master node which is different from the git repo. Then I want to deploy a clone repo on all the slaves. Is it better to clone on the slaves or just transfer the files? I'm able to checkout on the master from the repos but I can't seem to get the clones on the slaves working. Any help would be appreciated. -- You received this message because you are subscribed to the Google Groups Jenkins Users group. To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-use...@googlegroups.com javascript:. To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-users/da8be4a7-3dd3-4af7-9e3c-5d4a21387127%40googlegroups.com https://groups.google.com/d/msgid/jenkinsci-users/da8be4a7-3dd3-4af7-9e3c-5d4a21387127%40googlegroups.com?utm_medium=emailutm_source=footer . For more options, visit https://groups.google.com/d/optout. -- You received this message because you are subscribed to the Google Groups Jenkins Users group. To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-users+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-users/536975ec-20e6-46a7-a0f1-023843eda25f%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
git clones on slaves
Hi, I'm new to jenkins. I want to understand what is the proper way to deploy git to slaves. I have a git repo on a server, I want to build on a master node which is different from the git repo. Then I want to deploy a clone repo on all the slaves. Is it better to clone on the slaves or just transfer the files? I'm able to checkout on the master from the repos but I can't seem to get the clones on the slaves working. Any help would be appreciated. -- You received this message because you are subscribed to the Google Groups Jenkins Users group. To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-users+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-users/da8be4a7-3dd3-4af7-9e3c-5d4a21387127%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
Re: Failed to parse Squish JSON with Cucumber json test reporting plugin
Not without a bug being raised and a some sample output from the tool showing how to reproduce. But it may be that the tool is outputting garbage in which case this may not be fixed and the tool vendor may need to output JSON that is actually parsable by gherkin. On Monday, August 17, 2015 at 9:54:25 AM UTC+1, Marek Martyniak wrote: Hi, is support for .json results generated by Squish is going to be added for Cucumber json test reporting plugin ? [Cucumber Tests] Parsing results. [Cucumber Tests] parsing results.json ERROR: Build step failed with exception gherkin.deps.com.google.gson.JsonSyntaxException: java.lang.IllegalStateException: Expected BEGIN_ARRAY but was BEGIN_OBJECT at line 1 column 2 at gherkin.deps.com.google.gson.Gson.fromJson(Gson.java:806) at gherkin.deps.com.google.gson.Gson.fromJson(Gson.java:734) at gherkin.JSONParser.parse(JSONParser.java:41) at org.jenkinsci.plugins.cucumber.jsontestsupport.CucumberJSONParser.parse(CucumberJSONParser.java:77) at org.jenkinsci.plugins.cucumber.jsontestsupport.CucumberJSONParser.parse(CucumberJSONParser.java:43) at org.jenkinsci.plugins.cucumber.jsontestsupport.DefaultTestResultParserImpl$ParseResultCallable.invoke(DefaultTestResultParserImpl.java:159) at org.jenkinsci.plugins.cucumber.jsontestsupport.DefaultTestResultParserImpl$ParseResultCallable.invoke(DefaultTestResultParserImpl.java:105) at hudson.FilePath.act(FilePath.java:991) at hudson.FilePath.act(FilePath.java:969) at org.jenkinsci.plugins.cucumber.jsontestsupport.DefaultTestResultParserImpl.parse(DefaultTestResultParserImpl.java:99) at org.jenkinsci.plugins.cucumber.jsontestsupport.CucumberJSONParser.parse(CucumberJSONParser.java:99) at org.jenkinsci.plugins.cucumber.jsontestsupport.CucumberTestResultArchiver.perform(CucumberTestResultArchiver.java:112) at hudson.tasks.BuildStepMonitor$1.perform(BuildStepMonitor.java:20) at hudson.model.AbstractBuild$AbstractBuildExecution.perform(AbstractBuild.java:779) at hudson.model.AbstractBuild$AbstractBuildExecution.performAllBuildSteps(AbstractBuild.java:726) at hudson.model.Build$BuildExecution.post2(Build.java:185) at hudson.model.AbstractBuild$AbstractBuildExecution.post(AbstractBuild.java:671) at hudson.model.Run.execute(Run.java:1766) at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:43) at hudson.model.ResourceController.execute(ResourceController.java:98) at hudson.model.Executor.run(Executor.java:381) Caused by: java.lang.IllegalStateException: Expected BEGIN_ARRAY but was BEGIN_OBJECT at line 1 column 2 at gherkin.deps.com.google.gson.stream.JsonReader.expect(JsonReader.java:339) at gherkin.deps.com.google.gson.stream.JsonReader.beginArray(JsonReader.java:306) at gherkin.deps.com.google.gson.internal.bind.CollectionTypeAdapterFactory$Adapter.read(CollectionTypeAdapterFactory.java:79) at gherkin.deps.com.google.gson.internal.bind.CollectionTypeAdapterFactory$Adapter.read(CollectionTypeAdapterFactory.java:60) at gherkin.deps.com.google.gson.Gson.fromJson(Gson.java:795) ... 20 more Build step 'Publish Cucumber test result report' marked build as failure Finished: FAILURE -- You received this message because you are subscribed to the Google Groups Jenkins Users group. To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-users+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-users/bc3f4060-fc36-43bb-80e3-7f1f5d635e98%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
Re: Seek tools for text document variable substitution from a key / value input file ?
Use sed? https://en.wikipedia.org/wiki/Sed Gradle also does this if your build is based on that -- look for filter(…) on e.g. the copy task. Of course neither supports your file format out of the box. On 17.08.2015, at 16:11, Eddie Sutton edsut...@gmail.com wrote: I am looking for tools to automatically update text documents with relevant build information such as version information, date of build, the new features included with a milestone. SubWCRev works well but is limited to Subversion properties: http://tortoisesvn.net/docs/nightly/TortoiseSVN_en/tsvn-subwcrev-example.html ReadMe Template File: --- Build date: $WCDATE$ I am looking for a tool could read an input text file containing key value pairs, and substitute variables in a document template for HTML files, readme.txt files, RSS news feed files, etc. Input File (Manually Maintained) --- ReleaseSummary=New Features and Bug Fixes Feature1=Cure for cancer DownloadUrl=http://acme/com/downloads/installer-1.2.3456.zip; Output Template File: - h1$ReleaseSummary$h1 a href=$DownloadUrl$ Download/a Thanks in advance for any suggestions, -Ed -- You received this message because you are subscribed to the Google Groups Jenkins Users group. To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-users+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-users/CAKas9STLEK1b%3Dh0RH%2BmJOWxK-FQW4arTSK1MowWnL6bNEdm3YQ%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout. -- You received this message because you are subscribed to the Google Groups Jenkins Users group. To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-users+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-users/8FB112A8-ADD9-401F-8E8B-D6D8B7053EE7%40beckweb.net. For more options, visit https://groups.google.com/d/optout.
Re: 'cordova' command not recognised on Jenkins Windows slave
I'm not familiar with how to configure cordova, but if you are able to run successfully when logged in interactively, then you must have the proper settings in your user configuration. So yes, I think you are correct that you should be able to use the node level configurations. Eric On Aug 17, 2015 6:34 AM, Shajimon Paremmal shajiparem...@gmail.com wrote: Thanks for that input, Eric. I have the nodejs path set in the PATH variable and I can run the cordova commands from command line on the slave machine locally. \the problem occurs only when I run it from Jenkins. I've installed Envinject plugin. Being a newbie to Jenkins, I'm a bit confused as to how to use it. Can I use the node level configuration where I unset the system environment variable, copy the contents of my system PATH variable on to a .properties file and specify its path? In the properties file, should I specify the path to nodejs as CORDOVA_PATH? Can't see much help on the cordova-Jenkins on the net too. Thanks, Shaji On Friday, 14 August 2015 21:46:39 UTC+1, Eric Pyle wrote: Hi, Apparently 'cordova' is not on the %PATH% for the user running Jenkins. You may want to manually add the appropriate PATH entries before calling cordova, or you can set build variables in the job definition (Build Environment section, requires Envinject plugin). Regards, Eric On 8/14/2015 1:08 PM, Shajimon Paremmal wrote: HI, I'm trying to build a sample mobile app using Apache CORDOVA in the Jenkins Master-Slave environment. The source files are present on a Jenkins slave running Windows Server 2012. I've specified the cordova commands in a .bat file and specified its path in the Execute Windows batch command. The build fails saying that 'cordova' is not recognized as an internal or external command,operable program or batch file. I can very well run this batch file from cmd and it runs successfully. Can anyone help me with this issue? Additional info: Contents of the .bat file; echo Starting the CORDOVA Build process cd C:\Cordova_Projects\workshop call cordova platforms remove android call cordova platforms add android call cordova plugin add org.apache.cordova.device call cordova plugin add org.apache.cordova.console call cordova emulate android Jenkins work directory on slave - C:\Jenkins_Works Cordova project directory on slave - C:\Cordova_Projects\workshop Thanks, Shaji -- You received this message because you are subscribed to the Google Groups Jenkins Users group. To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-use...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-users/bacd4605-bf42-4aa3-a1e6-9a0a9339a777%40googlegroups.com https://groups.google.com/d/msgid/jenkinsci-users/bacd4605-bf42-4aa3-a1e6-9a0a9339a777%40googlegroups.com?utm_medium=emailutm_source=footer . For more options, visit https://groups.google.com/d/optout. -- You received this message because you are subscribed to the Google Groups Jenkins Users group. To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-users+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-users/638bb6bd-6dc6-4792-8b3d-a5215a181bb2%40googlegroups.com https://groups.google.com/d/msgid/jenkinsci-users/638bb6bd-6dc6-4792-8b3d-a5215a181bb2%40googlegroups.com?utm_medium=emailutm_source=footer . For more options, visit https://groups.google.com/d/optout. -- You received this message because you are subscribed to the Google Groups Jenkins Users group. To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-users+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-users/CAPrXuH3ZmMi7dbqcKDOZwPr1vgVZ9eoLo8zbEXqo7MFC2z%2BQLA%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout.
Jenkins 1.6XX master with old Linux (Red Hat 4) slaves
I've got a new Jenkins master (1.622) running on CentOS 6.6 x86_64, tomcat 8, java 1.8. All working ok. I've just had a request for a build on an old Linux slave - Red Hat 4 with Java 1.6 (32 bit). Yes, I know it's obsolete, and it ought to be upgraded to plug all the security holes - but that's what I need. Normally we connect to Linux slaves via ssh, however I know that these are basically incompatible. slave.jar needs jdk 1.7, at least and that won't run properly on Red Hat 4 because of glibc library. However it WILL connect using JNLP whilst launching the interactive java Jenkins Remoting Agent, but NOT whilst running the jnlp command line command from the slave. I can understand why the command line launch doesn't work with the java version incompatibilities. An old version of slave.jar from an old Jenkins master seems to work ok, and may be 'good-enough', but how robust is it? Are there any listings of version compatibilities? Does anyone have any ideas on how to get an old Linux machine enslaved to a new Jenkins master? Any alternative connection techniques? I guess the obvious solution is just to use an old Jenkins master which is compatible… -- You received this message because you are subscribed to the Google Groups Jenkins Users group. To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-users+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-users/c65091cb-6ec5-4c56-b531-efab07a4a8d3%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
Seek tools for text document variable substitution from a key / value input file ?
I am looking for tools to automatically update text documents with relevant build information such as version information, date of build, the new features included with a milestone. SubWCRev works well but is limited to Subversion properties: http://tortoisesvn.net/docs/nightly/TortoiseSVN_en/tsvn-subwcrev-example.html ReadMe Template File: --- Build date: $WCDATE$ I am looking for a tool could read an input text file containing key value pairs, and substitute variables in a document template for HTML files, readme.txt files, RSS news feed files, etc. Input File (Manually Maintained) --- ReleaseSummary=New Features and Bug Fixes Feature1=Cure for cancer DownloadUrl=http://acme/com/downloads/installer-1.2.3456.zip; Output Template File: - h1$ReleaseSummary$h1 a href=$DownloadUrl$ Download/a Thanks in advance for any suggestions, -Ed -- You received this message because you are subscribed to the Google Groups Jenkins Users group. To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-users+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-users/CAKas9STLEK1b%3Dh0RH%2BmJOWxK-FQW4arTSK1MowWnL6bNEdm3YQ%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout.
Re: Seek tools for text document variable substitution from a key / value input file ?
Ant and maven have filter functionality that can be used to update text files that use properties. May be handy if you are using ant or maven to create build. Sent from my iPad On Aug 17, 2015, at 10:16 AM, Daniel Beck m...@beckweb.net wrote: Use sed? https://en.wikipedia.org/wiki/Sed Gradle also does this if your build is based on that -- look for filter(…) on e.g. the copy task. Of course neither supports your file format out of the box. On 17.08.2015, at 16:11, Eddie Sutton edsut...@gmail.com wrote: I am looking for tools to automatically update text documents with relevant build information such as version information, date of build, the new features included with a milestone. SubWCRev works well but is limited to Subversion properties: http://tortoisesvn.net/docs/nightly/TortoiseSVN_en/tsvn-subwcrev-example.html ReadMe Template File: --- Build date: $WCDATE$ I am looking for a tool could read an input text file containing key value pairs, and substitute variables in a document template for HTML files, readme.txt files, RSS news feed files, etc. Input File (Manually Maintained) --- ReleaseSummary=New Features and Bug Fixes Feature1=Cure for cancer DownloadUrl=http://acme/com/downloads/installer-1.2.3456.zip; Output Template File: - h1$ReleaseSummary$h1 a href=$DownloadUrl$ Download/a Thanks in advance for any suggestions, -Ed -- You received this message because you are subscribed to the Google Groups Jenkins Users group. To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-users+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-users/CAKas9STLEK1b%3Dh0RH%2BmJOWxK-FQW4arTSK1MowWnL6bNEdm3YQ%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout. -- You received this message because you are subscribed to the Google Groups Jenkins Users group. To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-users+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-users/8FB112A8-ADD9-401F-8E8B-D6D8B7053EE7%40beckweb.net. For more options, visit https://groups.google.com/d/optout. -- You received this message because you are subscribed to the Google Groups Jenkins Users group. To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-users+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-users/451F1FC9-5AF9-4E74-B161-2D9282D08B53%40comcast.net. For more options, visit https://groups.google.com/d/optout.
Jenkins Git Plugin showing Unknown user for all recent changes
Hi Team, I have a Jenkins server version 1.623 running under WebSphere Liberty Profile. We are using LDAP for authentication and all authenticated users from LDAP are in a AimUsers group. You need to log into Jenkins with your LDAP account and Configure Global Security uses LDAP with Matrix-based security authorization. We are running Jenkins jobs against several GIT repositories, none of which are connected to this LDAP authentication. Some are open source projects, etc. When we look at the recent changes view in jobs building from the GIT repositories, all the changes show as: #51 (17-Aug-2015 15:38:18) — unknown / detail The unknown user link shows as: Jenkins User Id: unknown Groups: - AimUsers - ROLE_AIMUSERS Which seems to indicate the users are being looked up in LDAP and are showing as unknown. If I go to the asyncPeople view, I can see that all the users from the GIT repositories were correctly brought down, I can see the Userid and name from GIT. Is there some way to fix this issue? I do not want the Git Plugin to use anything from LDAP. Cheers... Anthony -- You received this message because you are subscribed to the Google Groups Jenkins Users group. To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-users+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-users/02678fb5-3108-4d04-9868-b7ad848bebbf%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
Re: Failed to parse Squish JSON with Cucumber json test reporting plugin
Output from Squish is looking like this ( I used _ to hide irrelevant ) : { version: { major: 1, minor: 0 }, tests: [ { name: suite__, start: 2015-08-12T16:43:28+02:00, type: testsuite, uri: _, tests: [ { name: tst__, start: 2015-08-12T16:51:04+02:00, type: testcase, uri: x-testsuite:/tst__, tests: [ { lineNo: 1, name: _, start: 2015-08-12T16:51:06+02:00, type: feature, uri: x-testcase:/test.feature, tests: [ { lineNo: 5, name: _, start: 2015-08-12T16:51:06+02:00, type: scenario, uri: x-testcase:/test.feature, tests: [ { lineNo: 6, name: Given _, start: 2015-08-12T16:51:06+02:00, type: step, uri: x-testcase:/test.feature, tests: [ { detail: [Error 3] The system cannot find the path specified: '_', lineNo: 19, result: WARNING, text: _, time: 2015-08-12T16:51:09+02:00, type: msg, uri: x-testsuite:/_ }, { detail: [Error 3] The system cannot find the path specified: '_', lineNo: 19, result: WARNING, text: _, time: 2015-08-12T16:51:09+02:00, type: msg, uri: x-testsuite:/_ }, { detail: LookupError: Object '_' not found. Could not match properties:\ntext for object name: '_', lineNo: _, result: ERROR, text: Script Error, time: 2015-08-12T16:51:31+02:00, type: msg, uri: x-testsuite:/_ } ], stop: 2015-08-12T16:51:31+02:00 }, { isSkipped: true, lineNo: 7, name: Then _, start: 2015-08-12T16:51:31+02:00, stop: 2015-08-12T16:51:31+02:00, type: step, uri: x-testcase:/test.feature }, { isSkipped: true, lineNo: 8, name: When _, start: 2015-08-12T16:51:31+02:00, stop: 2015-08-12T16:51:31+02:00, type: step, uri: x-testcase:/test.feature }, { isSkipped: true, lineNo: 9, name: Then _, start: 2015-08-12T16:51:31+02:00, stop: 2015-08-12T16:51:31+02:00, type: step, uri: x-testcase:/test.feature }, { isSkipped: true, lineNo: 10, name: Then _, start: 2015-08-12T16:51:31+02:00, stop: 2015-08-12T16:51:31+02:00, type: step, uri: x-testcase:/test.feature }, { isSkipped: true, lineNo: 11, name: Then _, start: 2015-08-12T16:51:31+02:00, stop: 2015-08-12T16:51:31+02:00, type: step, uri: x-testcase:/test.feature }, { isSkipped: true, lineNo: 12, name: And _, start: 2015-08-12T16:51:31+02:00, stop: 2015-08-12T16:51:31+02:00, type: step, uri: x-testcase:/test.feature }, { isSkipped: true, lineNo: 13, name: Then _, start: 2015-08-12T16:51:31+02:00, stop: 2015-08-12T16:51:31+02:00, type: step, uri: x-testcase:/test.feature } ], stop: 2015-08-12T16:51:31+02:00 } ], stop: 2015-08-12T16:51:31+02:00 } ], stop: 2015-08-12T16:51:31+02:00 } ], stop: 2015-08-12T16:51:31+02:00 } ] } -- You received this message because you are subscribed to the Google Groups Jenkins Users group. To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-users+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-users/8492b2e4-e4e5-4428-bad2-eddad5dd1aa5%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
Cloud Formation parameter field doesn't seem to parse variables.
I'm trying to pass an ami_id as an environment variable with: AmiId=${AMI_ID} in the parameters field of the plugin. When I look at the resulting stack, the plugin seems to be passing literally '${AMI_ID}' as the parameter value instead of ami-0283893 or whatever. The documentation says it's supposed to parse environment variables. Is there some trick to getting this to work, or is this a bug? If I run aws cloud-formation as a shell script with the environment variable, it seems to work fine. -- You received this message because you are subscribed to the Google Groups Jenkins Users group. To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-users+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-users/3e358dc6-492a-4808-987c-dc9fa7c03e7a%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
Re: Jenkins 1.6XX master with old Linux (Red Hat 4) slaves
1.622 is the other side of the Java 7 switch. As a result there are classes in core that have been compiled with Java 7 bytecode and references to methods / classes that are only available in Java 7. While you can get the remoting connection up - as that does not rely on classes from Jenkins itself - running a build will be a different problem entirely. You probably need to switch back to 1.609 LTS as that is the last LTS that is compiled against Java 1.6. You will also need to be careful with the plugins that you use. Plugins can send code to the remote slaves. If they try to send some Java 1.7 code to your slaves running 1.6... boom! On 17 August 2015 at 14:57, Carl Wilson carl.wil...@uk.thalesgroup.com wrote: I've got a new Jenkins master (1.622) running on CentOS 6.6 x86_64, tomcat 8, java 1.8. All working ok. I've just had a request for a build on an old Linux slave - Red Hat 4 with Java 1.6 (32 bit). Yes, I know it's obsolete, and it ought to be upgraded to plug all the security holes - but that's what I need. Normally we connect to Linux slaves via ssh, however I know that these are basically incompatible. slave.jar needs jdk 1.7, at least and that won't run properly on Red Hat 4 because of glibc library. However it WILL connect using JNLP whilst launching the interactive java Jenkins Remoting Agent, but NOT whilst running the jnlp command line command from the slave. I can understand why the command line launch doesn't work with the java version incompatibilities. An old version of slave.jar from an old Jenkins master seems to work ok, and may be 'good-enough', but how robust is it? Are there any listings of version compatibilities? Does anyone have any ideas on how to get an old Linux machine enslaved to a new Jenkins master? Any alternative connection techniques? I guess the obvious solution is just to use an old Jenkins master which is compatible… -- You received this message because you are subscribed to the Google Groups Jenkins Users group. To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-users+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-users/c65091cb-6ec5-4c56-b531-efab07a4a8d3%40googlegroups.com https://groups.google.com/d/msgid/jenkinsci-users/c65091cb-6ec5-4c56-b531-efab07a4a8d3%40googlegroups.com?utm_medium=emailutm_source=footer . For more options, visit https://groups.google.com/d/optout. -- You received this message because you are subscribed to the Google Groups Jenkins Users group. To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-users+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-users/CA%2BnPnMwJoWP1h5pHeVN0my08FZbbWdGxCPTjm6y3BeJxiOiSJw%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout.
Re: Failed to parse Squish JSON with Cucumber json test reporting plugin
Output from Squish is looking like this ( I used _ to hide irrelevant ) : { version: { major: 1, minor: 0 }, tests: [ { name: suite__, start: 2015-08-12T16:43:28+02:00, type: testsuite, uri: _, tests: [ { name: tst__, start: 2015-08-12T16:51:04+02:00, type: testcase, uri: x-testsuite:/tst__, tests: [ { lineNo: 1, name: _, start: 2015-08-12T16:51:06+02:00, type: feature, uri: x-testcase:/test.feature, tests: [ { lineNo: 5, name: _, start: 2015-08-12T16:51:06+02:00, type: scenario, uri: x-testcase:/test.feature, tests: [ { lineNo: 6, name: Given _, start: 2015-08-12T16:51:06+02:00, type: step, uri: x-testcase:/test.feature, tests: [ { detail: [Error 3] The system cannot find the path specified: '_', lineNo: _, result: WARNING, text: _, time: 2015-08-12T16:51:09+02:00, type: msg, uri: x-testsuite:/_ }, { detail: [Error 3] The system cannot find the path specified: '_', lineNo: _, result: WARNING, text: _, time: 2015-08-12T16:51:09+02:00, type: msg, uri: x-testsuite:/_ }, { detail: LookupError: Object '_' not found. Could not match properties:\ntext for object name: '_', lineNo: _, result: ERROR, text: Script Error, time: 2015-08-12T16:51:31+02:00, type: msg, uri: x-testsuite:/_ } ], stop: 2015-08-12T16:51:31+02:00 }, { isSkipped: true, lineNo: 7, name: Then _, start: 2015-08-12T16:51:31+02:00, stop: 2015-08-12T16:51:31+02:00, type: step, uri: x-testcase:/test.feature }, { isSkipped: true, lineNo: 8, name: When _, start: 2015-08-12T16:51:31+02:00, stop: 2015-08-12T16:51:31+02:00, type: step, uri: x-testcase:/test.feature }, { isSkipped: true, lineNo: 9, name: Then _, start: 2015-08-12T16:51:31+02:00, stop: 2015-08-12T16:51:31+02:00, type: step, uri: x-testcase:/test.feature }, { isSkipped: true, lineNo: 10, name: Then _, start: 2015-08-12T16:51:31+02:00, stop: 2015-08-12T16:51:31+02:00, type: step, uri: x-testcase:/test.feature }, { isSkipped: true, lineNo: 11, name: Then _, start: 2015-08-12T16:51:31+02:00, stop: 2015-08-12T16:51:31+02:00, type: step, uri: x-testcase:/test.feature }, { isSkipped: true, lineNo: 12, name: And _, start: 2015-08-12T16:51:31+02:00, stop: 2015-08-12T16:51:31+02:00, type: step, uri: x-testcase:/test.feature }, { isSkipped: true, lineNo: 13, name: Then _, start: 2015-08-12T16:51:31+02:00, stop: 2015-08-12T16:51:31+02:00, type: step, uri: x-testcase:/test.feature } ], stop: 2015-08-12T16:51:31+02:00 } ], stop: 2015-08-12T16:51:31+02:00 } ], stop: 2015-08-12T16:51:31+02:00 } ], stop: 2015-08-12T16:51:31+02:00 } ] } W dniu poniedziałek, 17 sierpnia 2015 10:54:25 UTC+2 użytkownik Marek Martyniak napisał: Hi, is support for .json results generated by Squish is going to be added for Cucumber json test reporting plugin ? [Cucumber Tests] Parsing results. [Cucumber Tests] parsing results.json ERROR: Build step failed with exception gherkin.deps.com.google.gson.JsonSyntaxException: java.lang.IllegalStateException: Expected BEGIN_ARRAY but was BEGIN_OBJECT at line 1 column 2 at
Bug or PEBKAC? Jenkins-Rally plugin
I did Git checkin of one of my projects with the following commit message: US496500: for task TA1117248 with status: completed; actuals: 2 hours, to do: 1 and the build failed with this in the console output: rally update plug-in error: could not update TaskDetails entry: JsonNull java.lang.UnsupportedOperationException: JsonNull at com.google.gson.JsonElement.getAsDouble(JsonElement.java:198) at com.jenkins.plugins.rally.utils.RallyQueryBuilder$RallyQueryResponseObject.getTaskAttributeAsDouble(RallyQueryBuilder.java:23) at com.jenkins.plugins.rally.service.RallyService.updateRallyTaskDetails(RallyService.java:81) at com.jenkins.plugins.rally.RallyPlugin.perform(RallyPlugin.java:116) at hudson.tasks.BuildStepMonitor$1.perform(BuildStepMonitor.java:20) at hudson.model.AbstractBuild$AbstractBuildExecution.perform(AbstractBuild.java:779) at hudson.model.Build$BuildExecution.build(Build.java:205) at hudson.model.Build$BuildExecution.doRun(Build.java:162) at hudson.model.AbstractBuild$AbstractBuildExecution.run(AbstractBuild.java:537) at hudson.model.Run.execute(Run.java:1744) at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:43) at hudson.model.ResourceController.execute(ResourceController.java:98) at hudson.model.Executor.run(Executor.java:374) Build step 'Update Rally Task and ChangeSet' marked build as failure [WARNINGS] Skipping publisher since build result is FAILURE Sending e-mails to: pb8...@att.com Finished: FAILURE Is it me or is there a bug? Please advise. -- You received this message because you are subscribed to the Google Groups Jenkins Users group. To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-users+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-users/CAArvnv2OXX%3DHSCG%3DkKSNko27zGxVsLvjkD%2Bh4CWx2qL%2Bs0p_Jg%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout.
How to know if jenkins is going to shutdown mode
I see jenkins is going to shutdown mode if a build takes very long time. Is there a way to stop this behavior, or at least to know when it is going into that mode. -- You received this message because you are subscribed to the Google Groups Jenkins Users group. To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-users+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-users/0412c760-c1e2-4579-b507-6c3dd5031838%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
Re: Remote Build Using Curl
You need to use -F for file and -F for data. Sent from my iPad On Aug 17, 2015, at 2:41 PM, Greg Nifor whitehotentr...@gmail.com wrote: Is there a way to use curl to send both a file and string parameter. I can do each individually, but not together. Works: curl -X POST jenkins_url/job/job/buildWithParameters -u user:password -F file=@/path/to curl -X POST jenkins_url/job/job/buildWithParameters -u user:password --data string0=foo --data string1=bar Doesn't Work: curl -X POST jenkins_url/job/job/buildWithParameters -u user:password -F file=@/path/to --data string0=foo --data string1=bar The result I get is: Warning: You can only select one HTTP request! Any ideas? -- You received this message because you are subscribed to the Google Groups Jenkins Users group. To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-users+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-users/65067202-61bf-40b8-8509-376d5ae79589%40googlegroups.com. For more options, visit https://groups.google.com/d/optout. -- You received this message because you are subscribed to the Google Groups Jenkins Users group. To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-users+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-users/550AF8A6-4019-4EE1-812F-33F4D9F3C606%40comcast.net. For more options, visit https://groups.google.com/d/optout.
Remote Build Using Curl
Is there a way to use curl to send both a file and string parameter. I can do each individually, but not together. Works: curl -X POST jenkins_url/job/job/buildWithParameters -u user:password -F file=@/path/to curl -X POST jenkins_url/job/job/buildWithParameters -u user:password --data string0=foo --data string1=bar Doesn't Work: curl -X POST jenkins_url/job/job/buildWithParameters -u user:password -F file=@/path/to --data string0=foo --data string1=bar The result I get is: Warning: You can only select one HTTP request! Any ideas? -- You received this message because you are subscribed to the Google Groups Jenkins Users group. To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-users+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-users/65067202-61bf-40b8-8509-376d5ae79589%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
DeliveryPipeline with Promoted Builds
We use promoted builds here due to the fact we don't live having hundreds of jobs to push the same code to dev/test/prod. However, one side effect is that we can't utilize the build or delivery pipeline views that would be very benficial to us. Has anyone gotten these or somethign similar working in a place where promoted builds were used instead of jobs? If there is a way to do it, i'l love to know how. -- You received this message because you are subscribed to the Google Groups Jenkins Users group. To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-users+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-users/7d1a65cd-4b80-4dfc-b4d9-71cfcdd23674%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
Re: Remote Build Using Curl
You need to use the curl -F switch to make it a multipart http submission. This will allow a file and parameter to be included with a single http post submission. Plenty of online examples available. Sent from my iPad On Aug 17, 2015, at 2:41 PM, Greg Nifor whitehotentr...@gmail.com wrote: Is there a way to use curl to send both a file and string parameter. I can do each individually, but not together. Works: curl -X POST jenkins_url/job/job/buildWithParameters -u user:password -F file=@/path/to curl -X POST jenkins_url/job/job/buildWithParameters -u user:password --data string0=foo --data string1=bar Doesn't Work: curl -X POST jenkins_url/job/job/buildWithParameters -u user:password -F file=@/path/to --data string0=foo --data string1=bar The result I get is: Warning: You can only select one HTTP request! Any ideas? -- You received this message because you are subscribed to the Google Groups Jenkins Users group. To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-users+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-users/65067202-61bf-40b8-8509-376d5ae79589%40googlegroups.com. For more options, visit https://groups.google.com/d/optout. -- You received this message because you are subscribed to the Google Groups Jenkins Users group. To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-users+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-users/696374BB-4DF9-4343-B8B9-A4680391429B%40comcast.net. For more options, visit https://groups.google.com/d/optout.
Job Orchestration: Interdependent maven projects
Hello, I have a set of interdependent maven projects and release jobs for each of them. I'd like to call them in a sequence and have the pom dependency sections updated intermittently. To illustrate, lets assume i have three projects A B C (A depends on B depends on C) I'd like to do the following: 1. Trigger Job for Release 'A' 2. Update 'B' POM for 'A' dependency 3. Trigger Job for Release 'B' 4. Update 'C' POM for 'B' dependency 5. Trigger Job for Release 'C' I want to be able to represent this into a single flow/orchestration. I would like to use the existing release jobs and the maven versions plugin to update pom dependency sections. I looked @ Build Flow Plugin but it doesn't seem to give me the option of executing a shell script so i can perform steps 2 and 4 Here is what i cannot do (due to our limitations) - Implement A,B,C as maven modules instead of maven projects - Refactor the existing release jobs and make a single workflow style job to release A,B and C.I would really like to use my existing jobs. I just want to tie them in a workflow i described earlier I am wondering how others have accomplished this because i don't think my problem is that unique. Any pointers would help Regards, Rahul -- You received this message because you are subscribed to the Google Groups Jenkins Users group. To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-users+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-users/a0d2879d-5c2f-450e-8d66-ee9a84cf7c45%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
Re: Remote Build Using Curl
When I try that the variables are empty. On Monday, August 17, 2015 at 11:49:09 AM UTC-7, walter.kelt wrote: You need to use -F for file and -F for data. Sent from my iPad On Aug 17, 2015, at 2:41 PM, Greg Nifor whiteho...@gmail.com javascript: wrote: Is there a way to use curl to send both a file and string parameter. I can do each individually, but not together. Works: curl -X POST jenkins_url/job/job/buildWithParameters -u user:password -F file=@/path/to curl -X POST jenkins_url/job/job/buildWithParameters -u user:password --data string0=foo --data string1=bar Doesn't Work: curl -X POST jenkins_url/job/job/buildWithParameters -u user:password -F file=@/path/to --data string0=foo --data string1=bar The result I get is: Warning: You can only select one HTTP request! Any ideas? -- You received this message because you are subscribed to the Google Groups Jenkins Users group. To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-use...@googlegroups.com javascript:. To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-users/65067202-61bf-40b8-8509-376d5ae79589%40googlegroups.com https://groups.google.com/d/msgid/jenkinsci-users/65067202-61bf-40b8-8509-376d5ae79589%40googlegroups.com?utm_medium=emailutm_source=footer . For more options, visit https://groups.google.com/d/optout. -- You received this message because you are subscribed to the Google Groups Jenkins Users group. To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-users+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-users/f0a472a1-78f1-4a96-a15c-cf116565cdf8%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
Re: Remote Build Using Curl
Please paste your full curl command Sent from my iPad On Aug 17, 2015, at 3:06 PM, Greg Nifor whitehotentr...@gmail.com wrote: When I try that the variables are empty. On Monday, August 17, 2015 at 11:49:09 AM UTC-7, walter.kelt wrote: You need to use -F for file and -F for data. Sent from my iPad On Aug 17, 2015, at 2:41 PM, Greg Nifor whiteho...@gmail.com wrote: Is there a way to use curl to send both a file and string parameter. I can do each individually, but not together. Works: curl -X POST jenkins_url/job/job/buildWithParameters -u user:password -F file=@/path/to curl -X POST jenkins_url/job/job/buildWithParameters -u user:password --data string0=foo --data string1=bar Doesn't Work: curl -X POST jenkins_url/job/job/buildWithParameters -u user:password -F file=@/path/to --data string0=foo --data string1=bar The result I get is: Warning: You can only select one HTTP request! Any ideas? -- You received this message because you are subscribed to the Google Groups Jenkins Users group. To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-use...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-users/65067202-61bf-40b8-8509-376d5ae79589%40googlegroups.com. For more options, visit https://groups.google.com/d/optout. -- You received this message because you are subscribed to the Google Groups Jenkins Users group. To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-users+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-users/f0a472a1-78f1-4a96-a15c-cf116565cdf8%40googlegroups.com. For more options, visit https://groups.google.com/d/optout. -- You received this message because you are subscribed to the Google Groups Jenkins Users group. To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-users+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-users/2E4FDB9D-A458-4239-98E1-495C3C080489%40comcast.net. For more options, visit https://groups.google.com/d/optout.
Re: Jenkins On Virtual Machine problem
So the tests run slow when you don't run with Jenkins too? If they do you might be best asking on a webdriver related forum. Richard. On Mon, 17 Aug 2015 6:25 pm Lilach Arviv lilach...@gmail.com wrote: Hello, we have 3 physical machines in our company and Server machine. when we run 50 tests in the physical machines (Web tests + Java + Selenium Webdriver) the scenario end in chrome after 1.5 H, in FF after 2 H. the physical machines have ssd drive and 8 GB Ram When we use new server we bought with Feature: *The host's configuration:* · *OS*: Windows Server 2012 R2 Standard · *Model*: Dell PowerEdge R320 · *Memory*: 96GB (6x 16GB Dual Rank RDIMMs 1600) · *Disks*: 2x 2TB Constellation ES.3 SATA 7200RPM disks, RAID 1 (Mirror) · *Processor*: Intel Xeon CPU E5-2407 v2 @ 2.40GHz 2.40 GHz · *Hypervisor*: Hyper-V 2012 R2 · *Networking*: 2x Broadcom NetXtreme Gigabit Ethernet (Microsoft Hyper-V Teaming) *The VMs' configuration:* · *OS*: Windows 7 Professional x64 SP1 · *Memory*: 8GB · *CPU*: 4 vCPU the 50 tests in chrome end after 2.5 H in FF after 5-6 H. all the machines are very slow. Did someone Encountered this problem? Thanks Lilach -- You received this message because you are subscribed to the Google Groups Jenkins Users group. To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-users+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-users/163a29c6-ed56-4758-9d0b-3a2bb2353381%40googlegroups.com https://groups.google.com/d/msgid/jenkinsci-users/163a29c6-ed56-4758-9d0b-3a2bb2353381%40googlegroups.com?utm_medium=emailutm_source=footer . For more options, visit https://groups.google.com/d/optout. -- You received this message because you are subscribed to the Google Groups Jenkins Users group. To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-users+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-users/CAMui946A8M%2B2%3DaMj%3DfqWUX1oPCqDB-_VTuxjhYGfY5uU%3DXnpzQ%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout.
Re: Remote Build Using Curl
I think you need quote signs around each of the -F itemssuch as -F git=test Sent from my iPad On Aug 17, 2015, at 3:15 PM, Greg Nifor whitehotentr...@gmail.com wrote: curl -X POST localhost/job/Test/buildWithParameters -u user:pass -F git=test -F root=root1 On Monday, August 17, 2015 at 12:11:08 PM UTC-7, walter.kelt wrote: Please paste your full curl command Sent from my iPad On Aug 17, 2015, at 3:06 PM, Greg Nifor whiteho...@gmail.com wrote: When I try that the variables are empty. On Monday, August 17, 2015 at 11:49:09 AM UTC-7, walter.kelt wrote: You need to use -F for file and -F for data. Sent from my iPad On Aug 17, 2015, at 2:41 PM, Greg Nifor whiteho...@gmail.com wrote: Is there a way to use curl to send both a file and string parameter. I can do each individually, but not together. Works: curl -X POST jenkins_url/job/job/buildWithParameters -u user:password -F file=@/path/to curl -X POST jenkins_url/job/job/buildWithParameters -u user:password --data string0=foo --data string1=bar Doesn't Work: curl -X POST jenkins_url/job/job/buildWithParameters -u user:password -F file=@/path/to --data string0=foo --data string1=bar The result I get is: Warning: You can only select one HTTP request! Any ideas? -- You received this message because you are subscribed to the Google Groups Jenkins Users group. To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-use...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-users/65067202-61bf-40b8-8509-376d5ae79589%40googlegroups.com. For more options, visit https://groups.google.com/d/optout. -- You received this message because you are subscribed to the Google Groups Jenkins Users group. To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-use...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-users/f0a472a1-78f1-4a96-a15c-cf116565cdf8%40googlegroups.com. For more options, visit https://groups.google.com/d/optout. -- You received this message because you are subscribed to the Google Groups Jenkins Users group. To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-users+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-users/235cdbdb-cd11-46e2-ac6e-c51787d835a3%40googlegroups.com. For more options, visit https://groups.google.com/d/optout. -- You received this message because you are subscribed to the Google Groups Jenkins Users group. To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-users+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-users/8405A568-7CC9-4917-8BDF-160D999C2D88%40comcast.net. For more options, visit https://groups.google.com/d/optout.
Re: Remote Build Using Curl
That didn't work. On Monday, August 17, 2015 at 12:19:24 PM UTC-7, walter.kelt wrote: I think you need quote signs around each of the -F itemssuch as -F git=test Sent from my iPad On Aug 17, 2015, at 3:15 PM, Greg Nifor whiteho...@gmail.com javascript: wrote: curl -X POST localhost/job/Test/buildWithParameters -u user:pass -F git=test -F root=root1 On Monday, August 17, 2015 at 12:11:08 PM UTC-7, walter.kelt wrote: Please paste your full curl command Sent from my iPad On Aug 17, 2015, at 3:06 PM, Greg Nifor whiteho...@gmail.com wrote: When I try that the variables are empty. On Monday, August 17, 2015 at 11:49:09 AM UTC-7, walter.kelt wrote: You need to use -F for file and -F for data. Sent from my iPad On Aug 17, 2015, at 2:41 PM, Greg Nifor whiteho...@gmail.com wrote: Is there a way to use curl to send both a file and string parameter. I can do each individually, but not together. Works: curl -X POST jenkins_url/job/job/buildWithParameters -u user:password -F file=@/path/to curl -X POST jenkins_url/job/job/buildWithParameters -u user:password --data string0=foo --data string1=bar Doesn't Work: curl -X POST jenkins_url/job/job/buildWithParameters -u user:password -F file=@/path/to --data string0=foo --data string1=bar The result I get is: Warning: You can only select one HTTP request! Any ideas? -- You received this message because you are subscribed to the Google Groups Jenkins Users group. To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-use...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-users/65067202-61bf-40b8-8509-376d5ae79589%40googlegroups.com https://groups.google.com/d/msgid/jenkinsci-users/65067202-61bf-40b8-8509-376d5ae79589%40googlegroups.com?utm_medium=emailutm_source=footer . For more options, visit https://groups.google.com/d/optout. -- You received this message because you are subscribed to the Google Groups Jenkins Users group. To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-use...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-users/f0a472a1-78f1-4a96-a15c-cf116565cdf8%40googlegroups.com https://groups.google.com/d/msgid/jenkinsci-users/f0a472a1-78f1-4a96-a15c-cf116565cdf8%40googlegroups.com?utm_medium=emailutm_source=footer . For more options, visit https://groups.google.com/d/optout. -- You received this message because you are subscribed to the Google Groups Jenkins Users group. To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-use...@googlegroups.com javascript:. To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-users/235cdbdb-cd11-46e2-ac6e-c51787d835a3%40googlegroups.com https://groups.google.com/d/msgid/jenkinsci-users/235cdbdb-cd11-46e2-ac6e-c51787d835a3%40googlegroups.com?utm_medium=emailutm_source=footer . For more options, visit https://groups.google.com/d/optout. -- You received this message because you are subscribed to the Google Groups Jenkins Users group. To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-users+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-users/17aa53ed-c460-4841-b074-4f7e83855dc0%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
Re: Remote Build Using Curl
No dice. On Monday, August 17, 2015 at 12:28:20 PM UTC-7, walter.kelt wrote: Also, the url is usually after all the switches. Not sure how strictly the format is checked. Sent from my iPad On Aug 17, 2015, at 3:19 PM, Walter Kelt wak...@comcast.net javascript: wrote: I think you need quote signs around each of the -F itemssuch as -F git=test Sent from my iPad On Aug 17, 2015, at 3:15 PM, Greg Nifor whiteho...@gmail.com javascript: wrote: curl -X POST localhost/job/Test/buildWithParameters -u user:pass -F git=test -F root=root1 On Monday, August 17, 2015 at 12:11:08 PM UTC-7, walter.kelt wrote: Please paste your full curl command Sent from my iPad On Aug 17, 2015, at 3:06 PM, Greg Nifor whiteho...@gmail.com wrote: When I try that the variables are empty. On Monday, August 17, 2015 at 11:49:09 AM UTC-7, walter.kelt wrote: You need to use -F for file and -F for data. Sent from my iPad On Aug 17, 2015, at 2:41 PM, Greg Nifor whiteho...@gmail.com wrote: Is there a way to use curl to send both a file and string parameter. I can do each individually, but not together. Works: curl -X POST jenkins_url/job/job/buildWithParameters -u user:password -F file=@/path/to curl -X POST jenkins_url/job/job/buildWithParameters -u user:password --data string0=foo --data string1=bar Doesn't Work: curl -X POST jenkins_url/job/job/buildWithParameters -u user:password -F file=@/path/to --data string0=foo --data string1=bar The result I get is: Warning: You can only select one HTTP request! Any ideas? -- You received this message because you are subscribed to the Google Groups Jenkins Users group. To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-use...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-users/65067202-61bf-40b8-8509-376d5ae79589%40googlegroups.com https://groups.google.com/d/msgid/jenkinsci-users/65067202-61bf-40b8-8509-376d5ae79589%40googlegroups.com?utm_medium=emailutm_source=footer . For more options, visit https://groups.google.com/d/optout. -- You received this message because you are subscribed to the Google Groups Jenkins Users group. To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-use...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-users/f0a472a1-78f1-4a96-a15c-cf116565cdf8%40googlegroups.com https://groups.google.com/d/msgid/jenkinsci-users/f0a472a1-78f1-4a96-a15c-cf116565cdf8%40googlegroups.com?utm_medium=emailutm_source=footer . For more options, visit https://groups.google.com/d/optout. -- You received this message because you are subscribed to the Google Groups Jenkins Users group. To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-use...@googlegroups.com javascript:. To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-users/235cdbdb-cd11-46e2-ac6e-c51787d835a3%40googlegroups.com https://groups.google.com/d/msgid/jenkinsci-users/235cdbdb-cd11-46e2-ac6e-c51787d835a3%40googlegroups.com?utm_medium=emailutm_source=footer . For more options, visit https://groups.google.com/d/optout. -- You received this message because you are subscribed to the Google Groups Jenkins Users group. To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-use...@googlegroups.com javascript:. To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-users/8405A568-7CC9-4917-8BDF-160D999C2D88%40comcast.net https://groups.google.com/d/msgid/jenkinsci-users/8405A568-7CC9-4917-8BDF-160D999C2D88%40comcast.net?utm_medium=emailutm_source=footer . For more options, visit https://groups.google.com/d/optout. -- You received this message because you are subscribed to the Google Groups Jenkins Users group. To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-users+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-users/7d2513e6-a541-42de-92e1-9b8cfcadee78%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
Re: Remote Build Using Curl
Linux, there's no errors. The command goes through, but Jenkins doesn't pick up on the variables when I echo them out this is the output: *12:31:06* + echo *12:31:06* *12:31:06* + echo root*12:31:06* root Top one echos git and the second one echoes root (it's default value is root) echo $git echo $root On Monday, August 17, 2015 at 12:32:48 PM UTC-7, walter.kelt wrote: What was the error message ? paste the most current command. Also, windows or Linux ? Sent from my iPad On Aug 17, 2015, at 3:27 PM, Greg Nifor whiteho...@gmail.com javascript: wrote: That didn't work. On Monday, August 17, 2015 at 12:19:24 PM UTC-7, walter.kelt wrote: I think you need quote signs around each of the -F itemssuch as -F git=test Sent from my iPad On Aug 17, 2015, at 3:15 PM, Greg Nifor whiteho...@gmail.com wrote: curl -X POST localhost/job/Test/buildWithParameters -u user:pass -F git=test -F root=root1 On Monday, August 17, 2015 at 12:11:08 PM UTC-7, walter.kelt wrote: Please paste your full curl command Sent from my iPad On Aug 17, 2015, at 3:06 PM, Greg Nifor whiteho...@gmail.com wrote: When I try that the variables are empty. On Monday, August 17, 2015 at 11:49:09 AM UTC-7, walter.kelt wrote: You need to use -F for file and -F for data. Sent from my iPad On Aug 17, 2015, at 2:41 PM, Greg Nifor whiteho...@gmail.com wrote: Is there a way to use curl to send both a file and string parameter. I can do each individually, but not together. Works: curl -X POST jenkins_url/job/job/buildWithParameters -u user:password -F file=@/path/to curl -X POST jenkins_url/job/job/buildWithParameters -u user:password --data string0=foo --data string1=bar Doesn't Work: curl -X POST jenkins_url/job/job/buildWithParameters -u user:password -F file=@/path/to --data string0=foo --data string1=bar The result I get is: Warning: You can only select one HTTP request! Any ideas? -- You received this message because you are subscribed to the Google Groups Jenkins Users group. To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-use...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-users/65067202-61bf-40b8-8509-376d5ae79589%40googlegroups.com https://groups.google.com/d/msgid/jenkinsci-users/65067202-61bf-40b8-8509-376d5ae79589%40googlegroups.com?utm_medium=emailutm_source=footer . For more options, visit https://groups.google.com/d/optout. -- You received this message because you are subscribed to the Google Groups Jenkins Users group. To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-use...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-users/f0a472a1-78f1-4a96-a15c-cf116565cdf8%40googlegroups.com https://groups.google.com/d/msgid/jenkinsci-users/f0a472a1-78f1-4a96-a15c-cf116565cdf8%40googlegroups.com?utm_medium=emailutm_source=footer . For more options, visit https://groups.google.com/d/optout. -- You received this message because you are subscribed to the Google Groups Jenkins Users group. To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-use...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-users/235cdbdb-cd11-46e2-ac6e-c51787d835a3%40googlegroups.com https://groups.google.com/d/msgid/jenkinsci-users/235cdbdb-cd11-46e2-ac6e-c51787d835a3%40googlegroups.com?utm_medium=emailutm_source=footer . For more options, visit https://groups.google.com/d/optout. -- You received this message because you are subscribed to the Google Groups Jenkins Users group. To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-use...@googlegroups.com javascript:. To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-users/17aa53ed-c460-4841-b074-4f7e83855dc0%40googlegroups.com https://groups.google.com/d/msgid/jenkinsci-users/17aa53ed-c460-4841-b074-4f7e83855dc0%40googlegroups.com?utm_medium=emailutm_source=footer . For more options, visit https://groups.google.com/d/optout. -- You received this message because you are subscribed to the Google Groups Jenkins Users group. To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-users+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-users/473e516e-f421-4b19-8a86-ed6ba6465a9f%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
Re: Remote Build Using Curl
Hmmm..when issuing a multipart form submission, i wouldn't expect the multipart parameters to become Linux shell variables unless the code receiving the http request took the parameters and made them so. Does your http endpoint do so ? Seems I am missing something. Sent from my iPad On Aug 17, 2015, at 3:45 PM, Greg Nifor whitehotentr...@gmail.com wrote: Linux, there's no errors. The command goes through, but Jenkins doesn't pick up on the variables when I echo them out this is the output: 12:31:06 + echo 12:31:06 12:31:06 + echo root 12:31:06 root Top one echos git and the second one echoes root (it's default value is root) echo $git echo $root On Monday, August 17, 2015 at 12:32:48 PM UTC-7, walter.kelt wrote: What was the error message ? paste the most current command. Also, windows or Linux ? Sent from my iPad On Aug 17, 2015, at 3:27 PM, Greg Nifor whiteho...@gmail.com wrote: That didn't work. On Monday, August 17, 2015 at 12:19:24 PM UTC-7, walter.kelt wrote: I think you need quote signs around each of the -F itemssuch as -F git=test Sent from my iPad On Aug 17, 2015, at 3:15 PM, Greg Nifor whiteho...@gmail.com wrote: curl -X POST localhost/job/Test/buildWithParameters -u user:pass -F git=test -F root=root1 On Monday, August 17, 2015 at 12:11:08 PM UTC-7, walter.kelt wrote: Please paste your full curl command Sent from my iPad On Aug 17, 2015, at 3:06 PM, Greg Nifor whiteho...@gmail.com wrote: When I try that the variables are empty. On Monday, August 17, 2015 at 11:49:09 AM UTC-7, walter.kelt wrote: You need to use -F for file and -F for data. Sent from my iPad On Aug 17, 2015, at 2:41 PM, Greg Nifor whiteho...@gmail.com wrote: Is there a way to use curl to send both a file and string parameter. I can do each individually, but not together. Works: curl -X POST jenkins_url/job/job/buildWithParameters -u user:password -F file=@/path/to curl -X POST jenkins_url/job/job/buildWithParameters -u user:password --data string0=foo --data string1=bar Doesn't Work: curl -X POST jenkins_url/job/job/buildWithParameters -u user:password -F file=@/path/to --data string0=foo --data string1=bar The result I get is: Warning: You can only select one HTTP request! Any ideas? -- You received this message because you are subscribed to the Google Groups Jenkins Users group. To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-use...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-users/65067202-61bf-40b8-8509-376d5ae79589%40googlegroups.com. For more options, visit https://groups.google.com/d/optout. -- You received this message because you are subscribed to the Google Groups Jenkins Users group. To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-use...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-users/f0a472a1-78f1-4a96-a15c-cf116565cdf8%40googlegroups.com. For more options, visit https://groups.google.com/d/optout. -- You received this message because you are subscribed to the Google Groups Jenkins Users group. To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-use...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-users/235cdbdb-cd11-46e2-ac6e-c51787d835a3%40googlegroups.com. For more options, visit https://groups.google.com/d/optout. -- You received this message because you are subscribed to the Google Groups Jenkins Users group. To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-use...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-users/17aa53ed-c460-4841-b074-4f7e83855dc0%40googlegroups.com. For more options, visit https://groups.google.com/d/optout. -- You received this message because you are subscribed to the Google Groups Jenkins Users group. To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-users+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-users/473e516e-f421-4b19-8a86-ed6ba6465a9f%40googlegroups.com. For more options, visit https://groups.google.com/d/optout. -- You received this message because you are subscribed to the Google Groups Jenkins Users group. To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-users+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-users/3E4BC9C2-F501-4787-860E-637BDC96D647%40comcast.net. For more options, visit https://groups.google.com/d/optout.
Re: Remote Build Using Curl
curl -X POST localhost/job/Test/buildWithParameters -u user:pass -F git=test -F root=root1 On Monday, August 17, 2015 at 12:11:08 PM UTC-7, walter.kelt wrote: Please paste your full curl command Sent from my iPad On Aug 17, 2015, at 3:06 PM, Greg Nifor whiteho...@gmail.com javascript: wrote: When I try that the variables are empty. On Monday, August 17, 2015 at 11:49:09 AM UTC-7, walter.kelt wrote: You need to use -F for file and -F for data. Sent from my iPad On Aug 17, 2015, at 2:41 PM, Greg Nifor whiteho...@gmail.com wrote: Is there a way to use curl to send both a file and string parameter. I can do each individually, but not together. Works: curl -X POST jenkins_url/job/job/buildWithParameters -u user:password -F file=@/path/to curl -X POST jenkins_url/job/job/buildWithParameters -u user:password --data string0=foo --data string1=bar Doesn't Work: curl -X POST jenkins_url/job/job/buildWithParameters -u user:password -F file=@/path/to --data string0=foo --data string1=bar The result I get is: Warning: You can only select one HTTP request! Any ideas? -- You received this message because you are subscribed to the Google Groups Jenkins Users group. To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-use...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-users/65067202-61bf-40b8-8509-376d5ae79589%40googlegroups.com https://groups.google.com/d/msgid/jenkinsci-users/65067202-61bf-40b8-8509-376d5ae79589%40googlegroups.com?utm_medium=emailutm_source=footer . For more options, visit https://groups.google.com/d/optout. -- You received this message because you are subscribed to the Google Groups Jenkins Users group. To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-use...@googlegroups.com javascript:. To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-users/f0a472a1-78f1-4a96-a15c-cf116565cdf8%40googlegroups.com https://groups.google.com/d/msgid/jenkinsci-users/f0a472a1-78f1-4a96-a15c-cf116565cdf8%40googlegroups.com?utm_medium=emailutm_source=footer . For more options, visit https://groups.google.com/d/optout. -- You received this message because you are subscribed to the Google Groups Jenkins Users group. To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-users+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-users/235cdbdb-cd11-46e2-ac6e-c51787d835a3%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
Re: Remote Build Using Curl
Also, the url is usually after all the switches. Not sure how strictly the format is checked. Sent from my iPad On Aug 17, 2015, at 3:19 PM, Walter Kelt wak...@comcast.net wrote: I think you need quote signs around each of the -F itemssuch as -F git=test Sent from my iPad On Aug 17, 2015, at 3:15 PM, Greg Nifor whitehotentr...@gmail.com wrote: curl -X POST localhost/job/Test/buildWithParameters -u user:pass -F git=test -F root=root1 On Monday, August 17, 2015 at 12:11:08 PM UTC-7, walter.kelt wrote: Please paste your full curl command Sent from my iPad On Aug 17, 2015, at 3:06 PM, Greg Nifor whiteho...@gmail.com wrote: When I try that the variables are empty. On Monday, August 17, 2015 at 11:49:09 AM UTC-7, walter.kelt wrote: You need to use -F for file and -F for data. Sent from my iPad On Aug 17, 2015, at 2:41 PM, Greg Nifor whiteho...@gmail.com wrote: Is there a way to use curl to send both a file and string parameter. I can do each individually, but not together. Works: curl -X POST jenkins_url/job/job/buildWithParameters -u user:password -F file=@/path/to curl -X POST jenkins_url/job/job/buildWithParameters -u user:password --data string0=foo --data string1=bar Doesn't Work: curl -X POST jenkins_url/job/job/buildWithParameters -u user:password -F file=@/path/to --data string0=foo --data string1=bar The result I get is: Warning: You can only select one HTTP request! Any ideas? -- You received this message because you are subscribed to the Google Groups Jenkins Users group. To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-use...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-users/65067202-61bf-40b8-8509-376d5ae79589%40googlegroups.com. For more options, visit https://groups.google.com/d/optout. -- You received this message because you are subscribed to the Google Groups Jenkins Users group. To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-use...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-users/f0a472a1-78f1-4a96-a15c-cf116565cdf8%40googlegroups.com. For more options, visit https://groups.google.com/d/optout. -- You received this message because you are subscribed to the Google Groups Jenkins Users group. To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-users+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-users/235cdbdb-cd11-46e2-ac6e-c51787d835a3%40googlegroups.com. For more options, visit https://groups.google.com/d/optout. -- You received this message because you are subscribed to the Google Groups Jenkins Users group. To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-users+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-users/8405A568-7CC9-4917-8BDF-160D999C2D88%40comcast.net. For more options, visit https://groups.google.com/d/optout. -- You received this message because you are subscribed to the Google Groups Jenkins Users group. To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-users+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-users/F696AC86-FE2F-49E0-A9F2-13E59B651074%40comcast.net. For more options, visit https://groups.google.com/d/optout.
Re: Remote Build Using Curl
What was the error message ? paste the most current command. Also, windows or Linux ? Sent from my iPad On Aug 17, 2015, at 3:27 PM, Greg Nifor whitehotentr...@gmail.com wrote: That didn't work. On Monday, August 17, 2015 at 12:19:24 PM UTC-7, walter.kelt wrote: I think you need quote signs around each of the -F itemssuch as -F git=test Sent from my iPad On Aug 17, 2015, at 3:15 PM, Greg Nifor whiteho...@gmail.com wrote: curl -X POST localhost/job/Test/buildWithParameters -u user:pass -F git=test -F root=root1 On Monday, August 17, 2015 at 12:11:08 PM UTC-7, walter.kelt wrote: Please paste your full curl command Sent from my iPad On Aug 17, 2015, at 3:06 PM, Greg Nifor whiteho...@gmail.com wrote: When I try that the variables are empty. On Monday, August 17, 2015 at 11:49:09 AM UTC-7, walter.kelt wrote: You need to use -F for file and -F for data. Sent from my iPad On Aug 17, 2015, at 2:41 PM, Greg Nifor whiteho...@gmail.com wrote: Is there a way to use curl to send both a file and string parameter. I can do each individually, but not together. Works: curl -X POST jenkins_url/job/job/buildWithParameters -u user:password -F file=@/path/to curl -X POST jenkins_url/job/job/buildWithParameters -u user:password --data string0=foo --data string1=bar Doesn't Work: curl -X POST jenkins_url/job/job/buildWithParameters -u user:password -F file=@/path/to --data string0=foo --data string1=bar The result I get is: Warning: You can only select one HTTP request! Any ideas? -- You received this message because you are subscribed to the Google Groups Jenkins Users group. To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-use...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-users/65067202-61bf-40b8-8509-376d5ae79589%40googlegroups.com. For more options, visit https://groups.google.com/d/optout. -- You received this message because you are subscribed to the Google Groups Jenkins Users group. To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-use...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-users/f0a472a1-78f1-4a96-a15c-cf116565cdf8%40googlegroups.com. For more options, visit https://groups.google.com/d/optout. -- You received this message because you are subscribed to the Google Groups Jenkins Users group. To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-use...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-users/235cdbdb-cd11-46e2-ac6e-c51787d835a3%40googlegroups.com. For more options, visit https://groups.google.com/d/optout. -- You received this message because you are subscribed to the Google Groups Jenkins Users group. To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-users+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-users/17aa53ed-c460-4841-b074-4f7e83855dc0%40googlegroups.com. For more options, visit https://groups.google.com/d/optout. -- You received this message because you are subscribed to the Google Groups Jenkins Users group. To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-users+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-users/B2DCF015-51A3-44C1-9411-ECD0E095EB72%40comcast.net. For more options, visit https://groups.google.com/d/optout.
Jenkins On Virtual Machine problem
Hello, we have 3 physical machines in our company and Server machine. when we run 50 tests in the physical machines (Web tests + Java + Selenium Webdriver) the scenario end in chrome after 1.5 H, in FF after 2 H. the physical machines have ssd drive and 8 GB Ram When we use new server we bought with Feature: *The host's configuration:* · *OS*: Windows Server 2012 R2 Standard · *Model*: Dell PowerEdge R320 · *Memory*: 96GB (6x 16GB Dual Rank RDIMMs 1600) · *Disks*: 2x 2TB Constellation ES.3 SATA 7200RPM disks, RAID 1 (Mirror) · *Processor*: Intel Xeon CPU E5-2407 v2 @ 2.40GHz 2.40 GHz · *Hypervisor*: Hyper-V 2012 R2 · *Networking*: 2x Broadcom NetXtreme Gigabit Ethernet (Microsoft Hyper-V Teaming) *The VMs' configuration:* · *OS*: Windows 7 Professional x64 SP1 · *Memory*: 8GB · *CPU*: 4 vCPU the 50 tests in chrome end after 2.5 H in FF after 5-6 H. all the machines are very slow. Did someone Encountered this problem? Thanks Lilach -- You received this message because you are subscribed to the Google Groups Jenkins Users group. To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-users+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-users/163a29c6-ed56-4758-9d0b-3a2bb2353381%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
ssh-agent 1.8
Hi all, I'm hoping to get some clarification. I keep received notice for an update to the ssh-agent plugin to 1.8. I tried to update but it failed with the following error: hudson.util.IOException2: Failed to download from http://updates.jenkins-ci.org/download/plugins/ssh-agent/1.8/ssh-agent.hpi (redirected to: http://mirror.xmission.com/jenkins/plugins/ssh-agent/1.8/ssh-agent.hpi) at hudson.model.UpdateCenter$UpdateCenterConfiguration.download(UpdateCenter.java:796) at hudson.model.UpdateCenter$DownloadJob._run(UpdateCenter.java:1143) at hudson.model.UpdateCenter$InstallationJob._run(UpdateCenter.java:1303) at hudson.model.UpdateCenter$DownloadJob.run(UpdateCenter.java:1121) at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511) at java.util.concurrent.FutureTask.run(FutureTask.java:266) at hudson.remoting.AtmostOneThreadExecutor$Worker.run(AtmostOneThreadExecutor.java:110) at java.lang.Thread.run(Thread.java:745) Caused by: java.io.IOException: Inconsistent file length: expected 4739069 but only got 6823 at hudson.model.UpdateCenter$UpdateCenterConfiguration.download(UpdateCenter.java:783) ... 7 more I was able to download the hpi from the xmission server via firefox. I also downloaded it from https://updates.jenkins-ci.org/download/plugins/ssh-agent/ (which went to http://ftp-nyc.osuosl.org/pub/jenkins/plugins/ssh-agent/1.8/ssh-agent.hpi). I noticed that there was a size difference between the two: $ ls -ltr -rwxrwx---+ 1 User None 6843 Aug 17 13:26 ssh-agent.xmirror.hpi -rwxrwx---+ 1 User None 6847 Aug 17 13:26 ssh-agent.jenkins.hpi I ran md5 against the two and could see they were different. $ md5sum ssh-agent.* 079875ab66ef1e2e81cbe628e3212d5e *ssh-agent.jenkins.hpi 28c260b7210872615f4a3055eb6b9c4e *ssh-agent.xmirror.hpi Is there a reason for the difference? It looks like the xmirror mirror is not providing the full download. Thanks, Ben -- You received this message because you are subscribed to the Google Groups Jenkins Users group. To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-users+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-users/0b476e48-c3e7-436b-a102-a3c437b7870a%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
Re: Having one slave attached to 2 different masters ?
We've done that with both ssh slaves and windows slaves with jnlp; ssh is definitely easier :) Both require separate root fs in the slave definition and for windows, had to modify the jenkins-slave.xml to change the name of the service so that each one is unique. On Thu, Aug 13, 2015 at 9:35 AM, Khai Do zaro0...@gmail.com wrote: Yes, we do that with ssh connected slaves. if what you are really after is multi-master configuration you should check out the gearman plugin: https://wiki.jenkins-ci.org/display/JENKINS/Gearman+Plugin On Thursday, August 13, 2015 at 12:09:50 AM UTC-7, Björn Pedersen wrote: Hi, it should be no problem to e.g. have ssh-slaves from to different masters running on the same machine(if you ensure to use different ports. But of course you will have 2 slave.jar running then. A single slave.jar process is always bound to a single master only. Am Donnerstag, 13. August 2015 02:54:49 UTC+2 schrieb Taher Furniturewala: *Hi , * *Does anyone know if this is possible and if they have done it ? ie Having a slave being attached to and working for 2 different Jenkins masters ? * *Thanks* *Taher .* -- This email and any attachments may contain confidential and privileged material for the sole use of the intended recipient. Any review, copying, or distribution of this email (or any attachments) by others is prohibited. If you are not the intended recipient, please contact the sender immediately and permanently delete this email and any attachments. No employee or agent of TiVo Inc. is authorized to conclude any binding agreement on behalf of TiVo Inc. by email. Binding agreements with TiVo Inc. may only be made by a signed written agreement. -- You received this message because you are subscribed to the Google Groups Jenkins Users group. To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-users+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-users/CAEMChJjT4ih8cPtNveARw4sWzZrxShhZQiCgz0%2B%3DA%2BJ-u0WozA%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout.
Re: Remote Build Using Curl
The job I'm triggering has two parameters, git and root. The curl sets those and I'm able to use those in my execute shell step. On Monday, August 17, 2015 at 12:57:38 PM UTC-7, walter.kelt wrote: Hmmm..when issuing a multipart form submission, i wouldn't expect the multipart parameters to become Linux shell variables unless the code receiving the http request took the parameters and made them so. Does your http endpoint do so ? Seems I am missing something. Sent from my iPad On Aug 17, 2015, at 3:45 PM, Greg Nifor whiteho...@gmail.com javascript: wrote: Linux, there's no errors. The command goes through, but Jenkins doesn't pick up on the variables when I echo them out this is the output: *12:31:06* + echo *12:31:06* *12:31:06* + echo root*12:31:06* root Top one echos git and the second one echoes root (it's default value is root) echo $git echo $root On Monday, August 17, 2015 at 12:32:48 PM UTC-7, walter.kelt wrote: What was the error message ? paste the most current command. Also, windows or Linux ? Sent from my iPad On Aug 17, 2015, at 3:27 PM, Greg Nifor whiteho...@gmail.com wrote: That didn't work. On Monday, August 17, 2015 at 12:19:24 PM UTC-7, walter.kelt wrote: I think you need quote signs around each of the -F itemssuch as -F git=test Sent from my iPad On Aug 17, 2015, at 3:15 PM, Greg Nifor whiteho...@gmail.com wrote: curl -X POST localhost/job/Test/buildWithParameters -u user:pass -F git=test -F root=root1 On Monday, August 17, 2015 at 12:11:08 PM UTC-7, walter.kelt wrote: Please paste your full curl command Sent from my iPad On Aug 17, 2015, at 3:06 PM, Greg Nifor whiteho...@gmail.com wrote: When I try that the variables are empty. On Monday, August 17, 2015 at 11:49:09 AM UTC-7, walter.kelt wrote: You need to use -F for file and -F for data. Sent from my iPad On Aug 17, 2015, at 2:41 PM, Greg Nifor whiteho...@gmail.com wrote: Is there a way to use curl to send both a file and string parameter. I can do each individually, but not together. Works: curl -X POST jenkins_url/job/job/buildWithParameters -u user:password -F file=@/path/to curl -X POST jenkins_url/job/job/buildWithParameters -u user:password --data string0=foo --data string1=bar Doesn't Work: curl -X POST jenkins_url/job/job/buildWithParameters -u user:password -F file=@/path/to --data string0=foo --data string1=bar The result I get is: Warning: You can only select one HTTP request! Any ideas? -- You received this message because you are subscribed to the Google Groups Jenkins Users group. To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-use...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-users/65067202-61bf-40b8-8509-376d5ae79589%40googlegroups.com https://groups.google.com/d/msgid/jenkinsci-users/65067202-61bf-40b8-8509-376d5ae79589%40googlegroups.com?utm_medium=emailutm_source=footer . For more options, visit https://groups.google.com/d/optout. -- You received this message because you are subscribed to the Google Groups Jenkins Users group. To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-use...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-users/f0a472a1-78f1-4a96-a15c-cf116565cdf8%40googlegroups.com https://groups.google.com/d/msgid/jenkinsci-users/f0a472a1-78f1-4a96-a15c-cf116565cdf8%40googlegroups.com?utm_medium=emailutm_source=footer . For more options, visit https://groups.google.com/d/optout. -- You received this message because you are subscribed to the Google Groups Jenkins Users group. To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-use...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-users/235cdbdb-cd11-46e2-ac6e-c51787d835a3%40googlegroups.com https://groups.google.com/d/msgid/jenkinsci-users/235cdbdb-cd11-46e2-ac6e-c51787d835a3%40googlegroups.com?utm_medium=emailutm_source=footer . For more options, visit https://groups.google.com/d/optout. -- You received this message because you are subscribed to the Google Groups Jenkins Users group. To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-use...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-users/17aa53ed-c460-4841-b074-4f7e83855dc0%40googlegroups.com https://groups.google.com/d/msgid/jenkinsci-users/17aa53ed-c460-4841-b074-4f7e83855dc0%40googlegroups.com?utm_medium=emailutm_source=footer . For more options, visit https://groups.google.com/d/optout. -- You received this message because you are subscribed to the Google Groups Jenkins Users group. To unsubscribe from this group and stop
Re: Remote Build Using Curl
Just looked at the Jenkins remote access api. Looks like file and parameters need to be passed into curl in a json format. Not sure what Jenkins version you are using, but you may want to check it out. If you are doing a parametrized build it looks to be a little more complicated and I don't see an example using -F Sent from my iPad On Aug 17, 2015, at 4:11 PM, Greg Nifor whitehotentr...@gmail.com wrote: The job I'm triggering has two parameters, git and root. The curl sets those and I'm able to use those in my execute shell step. On Monday, August 17, 2015 at 12:57:38 PM UTC-7, walter.kelt wrote: Hmmm..when issuing a multipart form submission, i wouldn't expect the multipart parameters to become Linux shell variables unless the code receiving the http request took the parameters and made them so. Does your http endpoint do so ? Seems I am missing something. Sent from my iPad On Aug 17, 2015, at 3:45 PM, Greg Nifor whiteho...@gmail.com wrote: Linux, there's no errors. The command goes through, but Jenkins doesn't pick up on the variables when I echo them out this is the output: 12:31:06 + echo 12:31:06 12:31:06 + echo root 12:31:06 root Top one echos git and the second one echoes root (it's default value is root) echo $git echo $root On Monday, August 17, 2015 at 12:32:48 PM UTC-7, walter.kelt wrote: What was the error message ? paste the most current command. Also, windows or Linux ? Sent from my iPad On Aug 17, 2015, at 3:27 PM, Greg Nifor whiteho...@gmail.com wrote: That didn't work. On Monday, August 17, 2015 at 12:19:24 PM UTC-7, walter.kelt wrote: I think you need quote signs around each of the -F itemssuch as -F git=test Sent from my iPad On Aug 17, 2015, at 3:15 PM, Greg Nifor whiteho...@gmail.com wrote: curl -X POST localhost/job/Test/buildWithParameters -u user:pass -F git=test -F root=root1 On Monday, August 17, 2015 at 12:11:08 PM UTC-7, walter.kelt wrote: Please paste your full curl command Sent from my iPad On Aug 17, 2015, at 3:06 PM, Greg Nifor whiteho...@gmail.com wrote: When I try that the variables are empty. On Monday, August 17, 2015 at 11:49:09 AM UTC-7, walter.kelt wrote: You need to use -F for file and -F for data. Sent from my iPad On Aug 17, 2015, at 2:41 PM, Greg Nifor whiteho...@gmail.com wrote: Is there a way to use curl to send both a file and string parameter. I can do each individually, but not together. Works: curl -X POST jenkins_url/job/job/buildWithParameters -u user:password -F file=@/path/to curl -X POST jenkins_url/job/job/buildWithParameters -u user:password --data string0=foo --data string1=bar Doesn't Work: curl -X POST jenkins_url/job/job/buildWithParameters -u user:password -F file=@/path/to --data string0=foo --data string1=bar The result I get is: Warning: You can only select one HTTP request! Any ideas? -- You received this message because you are subscribed to the Google Groups Jenkins Users group. To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-use...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-users/65067202-61bf-40b8-8509-376d5ae79589%40googlegroups.com. For more options, visit https://groups.google.com/d/optout. -- You received this message because you are subscribed to the Google Groups Jenkins Users group. To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-use...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-users/f0a472a1-78f1-4a96-a15c-cf116565cdf8%40googlegroups.com. For more options, visit https://groups.google.com/d/optout. -- You received this message because you are subscribed to the Google Groups Jenkins Users group. To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-use...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-users/235cdbdb-cd11-46e2-ac6e-c51787d835a3%40googlegroups.com. For more options, visit https://groups.google.com/d/optout. -- You received this message because you are subscribed to the Google Groups Jenkins Users group. To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-use...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-users/17aa53ed-c460-4841-b074-4f7e83855dc0%40googlegroups.com. For more options, visit https://groups.google.com/d/optout. -- You received this message because you are subscribed to the Google Groups Jenkins Users group. To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-use...@googlegroups.com. To view this discussion on the web visit
Re: Remote Build Using Curl
Will do, thank you! On Monday, August 17, 2015 at 1:39:26 PM UTC-7, walter.kelt wrote: Just looked at the Jenkins remote access api. Looks like file and parameters need to be passed into curl in a json format. Not sure what Jenkins version you are using, but you may want to check it out. If you are doing a parametrized build it looks to be a little more complicated and I don't see an example using -F Sent from my iPad On Aug 17, 2015, at 4:11 PM, Greg Nifor whiteho...@gmail.com javascript: wrote: The job I'm triggering has two parameters, git and root. The curl sets those and I'm able to use those in my execute shell step. On Monday, August 17, 2015 at 12:57:38 PM UTC-7, walter.kelt wrote: Hmmm..when issuing a multipart form submission, i wouldn't expect the multipart parameters to become Linux shell variables unless the code receiving the http request took the parameters and made them so. Does your http endpoint do so ? Seems I am missing something. Sent from my iPad On Aug 17, 2015, at 3:45 PM, Greg Nifor whiteho...@gmail.com wrote: Linux, there's no errors. The command goes through, but Jenkins doesn't pick up on the variables when I echo them out this is the output: *12:31:06* + echo *12:31:06* *12:31:06* + echo root*12:31:06* root Top one echos git and the second one echoes root (it's default value is root) echo $git echo $root On Monday, August 17, 2015 at 12:32:48 PM UTC-7, walter.kelt wrote: What was the error message ? paste the most current command. Also, windows or Linux ? Sent from my iPad On Aug 17, 2015, at 3:27 PM, Greg Nifor whiteho...@gmail.com wrote: That didn't work. On Monday, August 17, 2015 at 12:19:24 PM UTC-7, walter.kelt wrote: I think you need quote signs around each of the -F itemssuch as -F git=test Sent from my iPad On Aug 17, 2015, at 3:15 PM, Greg Nifor whiteho...@gmail.com wrote: curl -X POST localhost/job/Test/buildWithParameters -u user:pass -F git=test -F root=root1 On Monday, August 17, 2015 at 12:11:08 PM UTC-7, walter.kelt wrote: Please paste your full curl command Sent from my iPad On Aug 17, 2015, at 3:06 PM, Greg Nifor whiteho...@gmail.com wrote: When I try that the variables are empty. On Monday, August 17, 2015 at 11:49:09 AM UTC-7, walter.kelt wrote: You need to use -F for file and -F for data. Sent from my iPad On Aug 17, 2015, at 2:41 PM, Greg Nifor whiteho...@gmail.com wrote: Is there a way to use curl to send both a file and string parameter. I can do each individually, but not together. Works: curl -X POST jenkins_url/job/job/buildWithParameters -u user:password -F file=@/path/to curl -X POST jenkins_url/job/job/buildWithParameters -u user:password --data string0=foo --data string1=bar Doesn't Work: curl -X POST jenkins_url/job/job/buildWithParameters -u user:password -F file=@/path/to --data string0=foo --data string1=bar The result I get is: Warning: You can only select one HTTP request! Any ideas? -- You received this message because you are subscribed to the Google Groups Jenkins Users group. To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-use...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-users/65067202-61bf-40b8-8509-376d5ae79589%40googlegroups.com https://groups.google.com/d/msgid/jenkinsci-users/65067202-61bf-40b8-8509-376d5ae79589%40googlegroups.com?utm_medium=emailutm_source=footer . For more options, visit https://groups.google.com/d/optout. -- You received this message because you are subscribed to the Google Groups Jenkins Users group. To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-use...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-users/f0a472a1-78f1-4a96-a15c-cf116565cdf8%40googlegroups.com https://groups.google.com/d/msgid/jenkinsci-users/f0a472a1-78f1-4a96-a15c-cf116565cdf8%40googlegroups.com?utm_medium=emailutm_source=footer . For more options, visit https://groups.google.com/d/optout. -- You received this message because you are subscribed to the Google Groups Jenkins Users group. To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-use...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-users/235cdbdb-cd11-46e2-ac6e-c51787d835a3%40googlegroups.com https://groups.google.com/d/msgid/jenkinsci-users/235cdbdb-cd11-46e2-ac6e-c51787d835a3%40googlegroups.com?utm_medium=emailutm_source=footer . For more options, visit https://groups.google.com/d/optout. -- You received this message because you are subscribed to the Google Groups Jenkins Users group. To unsubscribe from this group and stop receiving emails from it, send an email to
Re: Change logs truncated
Thanks guys. Initially I was really looking for a comment like that doesn't sound right and that's what you've done, thanks. I'll try to do a fresh install on another system before filing an issue. Cheers, Lars On Mon, Aug 17, 2015 at 1:46 AM, Mark Waite mark.earl.wa...@gmail.com wrote: Also, please provide steps to duplicate the bug if you can find a way to duplicate it, or state that you were unable to duplicate it on a fresh system. On Sun, Aug 16, 2015 at 4:31 PM Oleg Nenashev o.v.nenas...@gmail.com wrote: It would be helpful to create a JIRA issue to Git plugin. Please attach screenshots and contents of the build folder there воскресенье, 16 августа 2015 г., 16:09:46 UTC+3 пользователь Lars Francke написал: Hi, I have a Jenkins 1.624 with the Git Plugin 2.4 running. I use the /changes page fairly often and I also use it in daily mails to get an overview of changes. Sometime this year the commit messages began to be truncated. Everything after the first new line seems to be discarded. This reduces the helpfulness of the daily mails tremendously. Does anyone have an idea which change caused this and/or how this can be disabled? I'm happy to provide an example if that helps. Cheers, Lars -- You received this message because you are subscribed to the Google Groups Jenkins Users group. To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-users+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-users/878979e8-8bc5-40c7-a565-2c5200a420ce%40googlegroups.com https://groups.google.com/d/msgid/jenkinsci-users/878979e8-8bc5-40c7-a565-2c5200a420ce%40googlegroups.com?utm_medium=emailutm_source=footer . For more options, visit https://groups.google.com/d/optout. -- You received this message because you are subscribed to the Google Groups Jenkins Users group. To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-users+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-users/CAO49JtFdNu2ypAPh-s%3DQFm6WDcO77ywxjPF9TXxxRQjc2d9FcA%40mail.gmail.com https://groups.google.com/d/msgid/jenkinsci-users/CAO49JtFdNu2ypAPh-s%3DQFm6WDcO77ywxjPF9TXxxRQjc2d9FcA%40mail.gmail.com?utm_medium=emailutm_source=footer . For more options, visit https://groups.google.com/d/optout. -- You received this message because you are subscribed to the Google Groups Jenkins Users group. To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-users+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-users/CAD-Ua_hha-2dnTih_GtoPpEye%2Bm16M%2B7CDzFmdXou-fkGjNHzg%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout.