SSH Agent w/ passphrase

2015-12-07 Thread Graham Hay
Hi, Is there any way to make the ssh agent plugin prompt for a passphrase? I'd prefer not to store the passphrase on jenkins. I'm sure I can cobble something together with a build parameter and some shell, but I thought I'd make sure I wasn't missing something obvious first. Thanks, Graham -

Re: How to run/execute few tests of a job on multiple nodes in jenkins

2015-12-07 Thread Amit Mehrotra
Thanks Victor!! Just to elaborate our tests are some python scripts which are run on a system through SSH. Python scripts are available on system under test. When user triggers the job and select few tests then these tests should get executed on nodes. Suppose a job is supposed to run 6 tests on

Trigger build of other projects before this build

2015-12-07 Thread Sverre Moe
I have several projects of type Multi-Configuration. When a project starts a build I have a need to trigger builds of other projects (under certain conditions) before any of the configurations are started. However I cannot see how it would be possible. I have a rather complex workflow: 1) A new

Launching multijob remotely causes it to rebuild!

2015-12-07 Thread Steve Sumner
HI, I am trying to launch a multijob via postman and for some reason whatever the result of the job phases contained in it another build of the multijob is automatically triggered. The contained jobs just then sit there waiting to execute on the same node the multijob is now running on until I

Problem cloning project with Git plugin

2015-12-07 Thread Rodrigo Uchôa
Hi everyone! I'm having a problem that's driving me crazy. We have several jenkins installations and all of them are working except for one, so it's not like I haven't done this before. When cloning the project from Git, jenkins throws the following exception: (I changed the real URL because it

Re: Problem cloning project with Git plugin

2015-12-07 Thread Rodrigo Uchôa
The complete console output: Fetching upstream changes from http://git.xx.xx.xx/xxx/xxx.git > /usr/local/git/bin/git --version # timeout=10 using .gitcredentials to set credentials > /usr/local/git/bin/git config --local credential.username xxx.xxx #

Re: Problem cloning project with Git plugin

2015-12-07 Thread Mark Waite
I've never seen that message, so these are only guesses based on google search results. https://groups.google.com/forum/#!topic/git-users/89QwDlciXbo hints that there may be a configuration problem with your http server configuration on the problem git server. https://github.com/guzzle/guzzle/iss

[workflow-plugin] How to pass parameters to a Workflow: Multibranch subjobs?

2015-12-07 Thread mayhyr
Hi! Say, I have a Git repo that contains a Jenkinsfile. I created a Workflow Multibranch project that is point to that Git repo. It perfectly finds both my branches with different Jenkinsfiles - that's good. Now imagine I have two different Jenkins-based processes i.e. some automatic CI and so

Exit Conditional Build Step when error text appears

2015-12-07 Thread calvinmichel
I have a Jenkins project with several conditional build steps. I would like for Jenkins to exit out of the build if it encounters an error code in ANY of the build steps. It is not recognizing the Clearcase cleartool error code – Result: 1 and marks the step as successful and continues on t

Zero Day attack due to Apache Commons statement to widespread Java object de-serialisation vulnerability

2015-12-07 Thread Indra Gunawan (ingunawa)
https://blogs.apache.org/foundation/entry/apache_commons_statement_to_widespread Building on Frohoff's tool ysoserial, Stephen Breen (@breenmachine) of Foxglove Security inspected various products like WebSphere, JBoss, Jenk

Re: Zero Day attack due to Apache Commons statement to widespread Java object de-serialisation vulnerability

2015-12-07 Thread Mark Waite
Yes, based on https://jenkins-ci.org/content/mitigating-unauthenticated-remote-code-execution-0-day-jenkins-cli , that is impacting Jenkins. The link you posted states that Jenkins is affected. It includes the link to the above Jenkins blog posting which describes a remediation you can take with

Re: Trigger build of other projects before this build

2015-12-07 Thread Baptiste Mathus
Le 7 déc. 2015 1:05 PM, "Sverre Moe" a écrit : > > I have several projects of type Multi-Configuration. When a project starts a build I have a need to trigger builds of other projects (under certain conditions) before any of the configurations are started. However I cannot see how it would be poss

Re: Zero Day attack due to Apache Commons statement to widespread Java object de-serialisation vulnerability

2015-12-07 Thread Christopher Orr
Also note that, if you're planning a Jenkins upgrade anyway, there's another Jenkins release coming out tomorrow (1.625.3) to fix one or more new security issues: https://groups.google.com/forum/#!topic/jenkinsci-advisories/UbJeKl4Vxbw So, you may want to apply the CLI workaround from the blog pos

Exit Conditional Build Step when error text appears

2015-12-07 Thread Victor Martinez
Hi, IMO, you might need to fix your ant script rather than hacking your build steps, in case you want to hack your jobs look at 1) otherwise see my suggestions 2) which is not a Jenkins question IMO, but I hope it helps. 1) validating build step afterwards using a system groovy step you can ac