RE: Can Jenkins forget passwords?

2014-07-02 Thread Matthew.Webber
If a job requires credentials tied to a particular user scope, are those credentials accessible if the job is timer-triggered? Triggered by an upstream job? Triggered by an upstream job that was triggered by the user? … by some other user? I really like the credentials work you’ve done, Stephen

Re: Can Jenkins forget passwords?

2014-07-02 Thread Stephen Connolly
The user's credentials are only available from the user's authentication. A plugin could be written that "captures" a users authentication but that would be very bold if not written correctly On 2 July 2014 09:04, wrote: > If a job requires credentials tied to a particular user scope, are thos

Want to build Jenkins job every after 15 seconds

2014-07-02 Thread Swapnil Pawar
Hi, Can you please tell me How I can schedule Jenkins Job which will execute every after 15 seconds. Regards, Swapnil -- 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 e

RE: Want to build Jenkins job every after 15 seconds

2014-07-02 Thread Matthew.Webber
On the job configuration page, there is a section called “Build Triggers”. Select “Build periodically” and enter your schedule. There is help text available. From: Swapnil Pawar [mailto:vedant.swap...@gmail.com] Sent: 02 July 2014 09:42 To: jenkinsci-users@googlegroups.com Subject: Want to buil

Re: Want to build Jenkins job every after 15 seconds

2014-07-02 Thread Daniel Beck
You can't. Are you sure you're using the right tool for the job? https://en.wiktionary.org/wiki/if_all_you_have_is_a_hammer,_everything_looks_like_a_nail On 02.07.2014, at 10:42, Swapnil Pawar wrote: > Can you please tell me How I can schedule Jenkins Job which will execute > every after 15 se

Re: Want to build Jenkins job every after 15 seconds

2014-07-02 Thread Stephen Connolly
You could write a custom plugin. It's not to hard. The built in triggers are checked once every minute so the best resolution you will get with those is once per minute. There is nothing stopping you from implementing a custom trigger that causes builds to be triggered every second or every 15 seco

Re: Want to build Jenkins job every after 15 seconds

2014-07-02 Thread Stephen Connolly
I agree that it does sound like somebody trying to solve the wrong problem... we'll see which road he takes... does he push back on the "requirement" and find a better solution that does not involve running a job every 15 seconds... or does he get his feet wet and write a custom plugin (and a month

Jenkins slave machine - JNLP connection fails

2014-07-02 Thread Jan Řezníček
I have windows slave machine, that i need to connect to the Jenkins master server. I run slave.jar on that machine and the machine contact the Jenkins server (console informs me about the handshake and write the info status Connected). But the log (server/computer/offline-test-1/log) shows foll

RE: Want to build Jenkins job every after 15 seconds

2014-07-02 Thread Rob Mandeville
Not sure that running a job 4 times per minute is stupid without more information; one use case would be polling an unusual USB input device, like a thermometer or a strain gauge or other scientific/engineering instrument. I would agree that Jenkins is probably the wrong thing to do this on. S

Re: Want to build Jenkins job every after 15 seconds

2014-07-02 Thread Swapnil Pawar
Hi Rob, 1: Do you want each job to launch 15 seconds after the previous one *launched*, or after the previous one *finished*? - yes..have to laucnh the after previous one finished Context : I am executing the Jmeter scripts after every 15 seconds through the Jenkins to check the health of API.

RE: Want to build Jenkins job every after 15 seconds

2014-07-02 Thread Rob Mandeville
Right, so you have a good reason to launch every 15 seconds from Jenkins. Presumably, you want to use the Performance Plugin, and want it to run every 15 seconds. So build your Jmeter job, adding a “Trigger builds remotely (e.g.,

Re: Want to build Jenkins job every after 15 seconds

2014-07-02 Thread Geoff Cummings
how accurate to the 15 seconds does it need to be? If it is only between job finishing and starting again, you could have it trigger itself again in a post build action to setup the running loop. then set the quiet period to 15 seconds to get the delay between finished and started. Geoff On Wed

Get build duration using post-build Groovy script

2014-07-02 Thread heinst
I have a post build script and am trying to get the build duration. I am trying to get it like so: def build = manager.build build.duration.toString() but that just yields 0. Is there a way I can get the build duration using a post build groovy script? -- View this message in context: http://

RE: Get build duration using post-build Groovy script

2014-07-02 Thread Rob Mandeville
Install the EnvInject plugin (https://wiki.jenkins-ci.org/display/JENKINS/EnvInject+Plugin). In your job, make your first step get the current time in the format you prefer and write that out to a file called times.properties. Here is how in Linux: touch times.properties # create the file TIME

Createing job through CLI

2014-07-02 Thread Mike Craig
Hello, I am using the Jenkins CLI to pull down a list of 'template' jobs, search and replace for our release version, then "create" a job using the job XML which I have pulled from Jenkins. The template job uses "promoted builds" plugin to have CI, "Directed Build", ReleaseCandidate, ReleasetoPro

Re: Jenkins update failed

2014-07-02 Thread Jurica Krizanic
Solved, it was local issue with yum and recognizing the repository! On Wednesday, July 2, 2014 7:53:42 AM UTC+2, Jurica Krizanic wrote: > > Hello, > I am trying to update Jenkins from 1.569 to 1.570 via *yum update jenkins* > and getting "No Packages marked for Update". > > Performed *yum clean a

Jenkins Stash Notifier Plugin

2014-07-02 Thread Rajesh Patwardhan
Hello, We are trying to use the Jenkins Stash notifier plugin. https://wiki.jenkins-ci.org/display/JENKINS/StashNotifier+Plugin Wondering if there is a way to use authentication using ssh keys instead of plain user name and password when configuring the plugin to work on Jenkins. It asks for Stas

Re: Jenkins Stash Notifier Plugin

2014-07-02 Thread Richard Bywater
I haven't looked at the code but I'm assuming the plugin uses the Stash REST API to do its job. As far as I'm aware, there is no option to use ssh keys to authenticate against the REST API so therefore there wouldn't be an option in the plugin. Richard. On Thu, Jul 3, 2014 at 8:51 AM, Rajesh Pat

Jobs' configuration takes too long to load

2014-07-02 Thread Sam K
Hi It takes almost 5 - 6 mins each time for a job's configuration to load. We have about 15 - 20 jobs and the behaviour is the same if there are any other builds running or not. Our Jenkins is version 1.525 running in Tomcat 7.0 container. The Jenkins server is a solaris box with 128GB

Re: Jenkins plugin to display or interact with local file-system?

2014-07-02 Thread Sam K
You could use the 'execute shell' option and put all your commands in there. Its basically a shell script that runs on the system you desire. You could 'restrict where this job is run' to the machine you want and it'll execute those commands over there. Sam On Tuesday, July 1, 2014 10:28:32