Re: Copy files from multiple downstream jobs

2014-09-09 Thread Adam Guja
There's no such option in "copy artifacts plugin", maybe there's a plugin that extends this one which I dont know about... Unless somebody comes up with a better solution your best bet is to write a shell script that will download the artifacts via wget http://jenkinsurl/job/job_name/build_numbe

Re: Using API to get node variables?

2014-08-21 Thread Adam Guja
I couldnt find anything as well, even the variables set in Jenkins for this node are not reachable from Jenkins API I think you'd be better of using Jenkins CLI running a groovy script to retrieve the variables, at least the ones set from inside Jenkins, and output them in an xml W dniu czwart

Re: how to run cmd as administrator on a slave

2014-08-18 Thread Adam Guja
if there's no password required: sample source: http://www.howtogeek.com/forum/topic/make-a-batch-file-to-run-cmd-as-administrator "runas /user:administrator C:\data\mybatchfile.bat" you can try using psexec, however I have never used in on localhost psexec \\localhost -u admin -p password "echo

Re: Fighting the Screensaver

2014-08-18 Thread Adam Guja
Not sure if this helps your case, but when I don't want the screensaver to lock my screen and it's impossible to turn it off - I'm launching Windows Media Player and play the sample video in a loop and minimize the player and the screen never locks the screen again. W dniu poniedziałek, 18 sier

Re: How can i upload a text file and use it as a parameter

2014-08-17 Thread Adam Guja
Yes, use this plugin W dniu poniedziałek, 18 sierpnia 2014 08:18:59 UTC+2 użytkownik Alex Brodov napisał: > > I want to put a path to a txt file, and each build this parameter will > read the content of the file. > Is it possible? > > Thanks, > Alex > On Aug 18,

Re: How can i pass build properties to downstream build ?

2014-08-17 Thread Adam Guja
The format should be like this: BASE_BUILD=$BUILD_NUMBER where BASE_BUILD is the variable that will be injected, and BUILD_NUMBER (remember about the $) is the environment variable you already have in this build (not necessarily a jenkins inbuilt variable, anything you have under $ BUILD_URL/inj

Re: How can i upload a text file and use it as a parameter

2014-08-17 Thread Adam Guja
Not sure, based on your description, which scenario would suit you best, but here's the plugin you need: https://wiki.jenkins-ci.org/display/JENKINS/EnvInject+Plugin Let me know if you need any help with it W dniu niedziela, 17 sierpnia 2014 17:25:43 UTC+2 użytkownik Alex Brodov napisał: > > I

Re: Problem Perform Maven Release

2014-08-15 Thread Adam Guja
You can use as stated here http://stackoverflow.com/questions/16199154/maven-releaseprepare-cannot-prepare-the-release-because-you-have-local-modifi if the changes are done during the release W dniu czwartek, 14 sierpnia 2014 18:35:43 UTC+2 użytkownik Leandro Andrade napisał: > > Hi guys. > I

Re: email-ext tokens for "Build Failure Analyzer"

2013-12-16 Thread Adam Guja
jelly script for obtaining information from Build Failure Analyzer plugin and using it in Email ext plugin Many thanks to Robert Sandell (one of the developers of BFA) for assisting me in creating this snippet! xmlns:d="jelly:define" > > > value="${it.getAction('com.sonyericsson.jenkins.