Problem with runnig Jenkins Slave using ssh key

2016-05-06 Thread Stefan Gehrig
Hi I can't manage to run a slave jenkins job on SUSE SLES 12. I got the error: [05/06/16 11:51:12] [SSH] Opening SSH connection to pnsapp01-x:22. Key exchange was not finished, connection is closed. ERROR: Unexpected error in launching a slave. This is probably a bug in Jenkins.java.lang.Illegal

Re: Stack trace error in configure jenkins page

2016-05-06 Thread Daniel Beck
> On 06.05.2016, at 02:22, Zohaib Naman wrote: > > Hi ALL > this is the error i am seeing at the bottom of configue jenkins page . I am > unable to save any changes there > You installed a version of email-ext that is incompatible with the version of Jenkins you're running, either ignoring t

Job pointing to svn subdirectory not being polled

2016-05-06 Thread frankcai89
I have two Jobs in Jenkins, one which has a working copy of "subversion/repos/mainframe" and another that has a working copy of "subversion/repos/mainframe/subdir". I then created a hook on the mainframe repository to call Jenkins on any commit. This hook has been triggering my first Job witho

Re: Workflow manual input step: how do I use it the right way?

2016-05-06 Thread Antonio Muñiz
On Thu, May 5, 2016 at 3:45 PM, Guest wrote: > because I'm unable to start second pipeline instance while the first one > is waiting for input It should not be the behavior, unless you explicitly disabled "Execute concurrent builds if necessary". -- Antonio Muñiz Software Engineer CloudBees,

Re: pipeline post-action in Jenkinsfile ?

2016-05-06 Thread Antonio Muñiz
Take special precautions about unexpected exceptions thrown inside the finally block. In that case script-security-plugin is not going to interpret approval requests correctly. On Thu, May 5, 2016 at 9:47 PM, Mike Caspar wrote: > Awesome. > > This worked great. > > I managed to simply wrap a try

Re: Job pointing to svn subdirectory not being polled

2016-05-06 Thread Daniel Beck
> On 06.05.2016, at 13:45, frankca...@gmail.com wrote: > > The only difference is that the second Job is set to a subdirectory inside > the repository and i'd like to keep it that way. Even when i commit a file > inside "subversion/repos/mainframe/subdir" the second Job doesn't get polled, >

Re: Job pointing to svn subdirectory not being polled

2016-05-06 Thread frankcai89
I know about that, it's enabled for both Jobs. The only difference between them is that the second Job is set to a subdirectory inside the repository. Am Freitag, 6. Mai 2016 14:00:01 UTC+2 schrieb Daniel Beck: > > > On 06.05.2016, at 13:45, frank...@gmail.com wrote: > > > > The only differ

build parameter problem

2016-05-06 Thread John Gregg
Hi all, I'm using Jenkins 1.640 and HP Application Automation Tools 4.0. The HP plugin sets a variable like this: // This allows a user to access the runId from within Jenkins using a build variable. build.addAction(new ParametersAction(new StringParameterValue(RUNID_BUILD_VARIABLE, "" + runI

Jenkins Job Builder vs. "Jenkins 2.0 Pipeline as Code"

2016-05-06 Thread David M. Karr
I work in an OpenStack-related community that uses "Jenkins Job Builder" to build Jenkins jobs. I don't know a lot about it, but I did manage, with a lot of help from our infra team, to make the changes required to build the new project I was adding. I'm also pretty familiar with Groovy, alth

Jenkins fails to start with error 'Failed to load org.jenkinsci.plugins.scriptler.git.GitScriptlerRepository'

2016-05-06 Thread Vivek Payala
*Issue*: I plan to use the Active Choices plugin. It has Scriptler as its dependency which in turn requires GIT Server. Upon installing GIT Server plugin jenkins fails to start with the following exception in the startup logs. May 06, 2016 1:45:29 AM hudson.ExtensionFinder$Sezpoz _find WARNING:

v2 pipeline Deploy step only for branch master.?

2016-05-06 Thread Mike Caspar
In a multi-branch scenario, are there some examples anywhere of how to make sure the deploy happens only from the master branch? I am guessing I need to build an if statement of some sort in groovy to confirm which branch I am on? Thanks for any help. Mike -- You received this message bec

Re: pipeline post-action in Jenkinsfile ?

2016-05-06 Thread Mike Caspar
Thanks. That explains some of the weirdness I am having. Much appreciated. Mike On 16-05-06 07:56 AM, Antonio Muñiz wrote: Take special precautions about unexpected exceptions thrown inside the finally block. In that case script-security-plugin is not going to interpret approval requests cor

Is it possible to put existing jobs into a "folder."

2016-05-06 Thread Richard Landon
Is it possible to take jobs in: ${JENKINS_HOME}/jobs/some-job-1 ${JENKINS_HOME}/jobs/some-job-2 and move them to folder, say ${JENKINS_HOME}/jobs/SomeJobs? (More explicitly: ${JENKINS_HOME}/jobs/some-job-1 MOVED to ${JENKINS_HOME}/jobs/SomeJobs/some-job-1 (and) ${JENKINS_HOME}/jobs/some-jo

Re: Is it possible to put existing jobs into a "folder."

2016-05-06 Thread Daniel Beck
> On 07.05.2016, at 01:33, Richard Landon wrote: > > Is it possible to take jobs in: > ${JENKINS_HOME}/jobs/some-job-1 > ${JENKINS_HOME}/jobs/some-job-2 > > and move them to folder, say ${JENKINS_HOME}/jobs/SomeJobs? > (More explicitly: > ${JENKINS_HOME}/jobs/some-job-1 MOVED to > ${JENKINS_

Secure Jenkins and mutlibranch github pipeline trigger

2016-05-06 Thread Lionel Orellana
Hi All How can I trigger a build on a multibranch pipeline where there is a push in github and Jenkins requires authentication. I tried "Trigger builds remotely (e.g., from scripts)" but the token generated here isn't enough for a github webhook to authenticate with Jenkins. Github throws "Au

Re: Secure Jenkins and mutlibranch github pipeline trigger

2016-05-06 Thread Lionel Orellana
Sorry found my answer. Nothing to do with pipeline. http://:@/job//build?token=job token On Saturday, 7 May 2016 12:29:22 UTC+10, Lionel Orellana wrote: > > Hi All > > How can I trigger a build on a multibranch pipeline where there is a push > in github and Jenkins requires authentication. > >

Re: Secure Jenkins and mutlibranch github pipeline trigger

2016-05-06 Thread Lionel Orellana
Actually something's not quite right. Firstly, the configuration in the Multibranch project to "Trigger builds remotely" disappears after I save. Select the option, put a token, save and reopen. They are gone. Secondly, assuming the configuration is actually saved, the url to trigger the buil

Re: Secure Jenkins and mutlibranch github pipeline trigger

2016-05-06 Thread Lionel Orellana
Invoking without the branch name in the url triggers the indexing job of course. So it seems I need a different webhook per branch? On 7 May 2016 at 14:17, Lionel Orellana wrote: > Actually something's not quite right. > > Firstly, the configuration in the Multibranch project to "Trigger builds

Re: Secure Jenkins and mutlibranch github pipeline trigger

2016-05-06 Thread Lionel Orellana
Well seems like the solution would for the GitHub Plugin to support Multibranch pipelines On Saturday, 7 May 2016 12:29:22 UTC+10, Lionel Orellana wrote: > > Hi All > > How can I trigger a build on a multibranch pipeline where there is a push > in github and Jenkins requires authentication. > >