[workflow-plugin] Null Pointer Failure when launching multiple downstream workflow jobs

2015-10-01 Thread Anshu Arya
I have a parent workflow job that launches 10-15 downstream workflow jobs with the build step. Something like this: for(int i = 0; i < 15; i++) { build job: 'downstream_workflow_job', quietPeriod: 0, wait: false } When I run this I get this error randomly in *some* of the downstream job lo

Using Remote Access API to Add Binding?

2015-10-01 Thread Kevin Meredith
Given a Jenkins build using the Remote Access API , is it possible to create Secret Text values? Also, is it possible to specify that a Build should use a particular Binding, as well as its corresponding environment variable? Examp

Re: Active Directory Plugin is not working

2015-10-01 Thread Kevin Meredith
LDAP Error Code 49: indicates that during a bind operation one of the following occurred: The client passed either an incorrect DN or password, or the password is incorrect because it has expired, intruder detection has locked the account, or another similar reason. See the data code for more

Re: [workflow-plugin] Sample script for deleting a workflow workspace?

2015-10-01 Thread Craig Rodrigues
On Thu, Oct 1, 2015 at 1:02 AM, Oleg Nenashev wrote: > Thanks a lot for your feedback regarding the documentation. As you > probably see, it's being reworked now. I'll forward your proposal to Esther > , who works on the docs now. BTW, also > feel free to contrib

Active Directory Plugin is not working

2015-10-01 Thread Viviana Chévez
Hello, I´ve been having issues with the Active Directory Plugin, I´ve been using Jenkins for 3 months, and this is the first time that this happen. Im using Jenkins version 1.631. Today, suddenly, I cannot login in Jenkins, this is the log. Oct 01, 2015 3:24:55 PM hudson.plugins.active_dir

Re: Git plugin unable to acces local repository

2015-10-01 Thread Henk van Voorthuijsen
OK, I set the service's WorkingDirectory to $JENKINS_HOME - unfortunately that doesn't help - I'm still getting the same error On Thursday, October 1, 2015 at 10:38:38 PM UTC+2, Henk van Voorthuijsen wrote: > > I did - there is a credential for user "git" in the global credentials. > But I noti

Re: Git plugin unable to acces local repository

2015-10-01 Thread Henk van Voorthuijsen
I did - there is a credential for user "git" in the global credentials. But I noticed that $PWD is set to "/" - which is probably not what I want... I'll investigate further.. On Thursday, October 1, 2015 at 7:35:59 PM UTC+2, Mark Waite wrote: > > Did you define a credential and reference that cr

Templates Plugin (Jenkins Enterprise)

2015-10-01 Thread Martin Ba.
Hello users. I'm looking for independent opinions on the Jenkins Enterprise Templates Plugin. It would be one of the main reasons for us to adopt Jenkins Enterprise, but I was quite shocked to learn (see http://documentation.cloudbees.com/docs/cje-user-guide/temolate-sect-job-template-tutori

Re: Git plugin unable to acces local repository

2015-10-01 Thread Mark Waite
Did you define a credential and reference that credential when you defined the git settings in the job definition? The run time environment may be different between your logging in as the jenkins user with an interactive shell and your running jenkins as a CentOS 7 service. Mark Waite On Thu, Oc

Odd behavior with bundled plugins

2015-10-01 Thread gtirloni
Hello, I'm trying to devise a process where all Jenkins plugins get upgraded through a script and I've noticed that bundled plugins (e.g. mailer) get downgraded back to their original versions after Jenkins is restarted. 1. Install fresh instance of Jenkins 2. Download newer plugins into ~/p

[workflow-plugin] docker sh steps hang

2015-10-01 Thread Ross Vandegrift
Hello all, I'm using the workflow and docker workflow plugins to run jenkins jobs with steps executed inside of docker containers. Things are sort of working - containers get run, but any sh step in a container causes the job to hang forever. Symptoms are the same as [1], but I don't think write

[workflow-plugin] docker sh steps hang

2015-10-01 Thread Ross Vandegrift
Hello all, I'm using the workflow plugin with the jenkins:latest docker container, and I need to run jobs inside of other containers. I've given jenkins access to /var/run/docker.sock and it can run a new container from a workflow. But if there's a sh step in that container, the jenkins job free

Git plugin unable to acces local repository

2015-10-01 Thread Henk van Voorthuijsen
Hi, I'm having trouble getting access to a local git repository: System: CentOS 7 I'm running Jenkins as a service using system When I try to set up a job with Git, the URL field shows the following error: Failed to connect to repository : Command "git -c core.askpass=true ls-remote -h git@

Re: Deleting Jenkins Bindings

2015-10-01 Thread Kevin Meredith
Note - I posted this question in Stackoverflow too - http://stackoverflow.com/questions/32890683/deleting-jenkins-bindings. -- 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

Re: Projects tied to NODES

2015-10-01 Thread Victor Martinez
Hi Eric, Check the below javadoc: - http://javadoc.jenkins-ci.org/hudson/model/Computer.html#getTiedJobs() - http://javadoc.jenkins-ci.org/hudson/model/AbstractProject.html#getAssignedLabel() It depends on if you iterate through your Jenkins jobs or Jenkins slaves. I hope it helps Cheers

Projects tied to NODES

2015-10-01 Thread Eric Naitove
Is there a way via the console, to list all jobs WITH displaying the NODE assigned via "Restrict where this project can run" -- 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

RE: Script executed. The exit code is 255.

2015-10-01 Thread John Mellor
Nayan Jyoti Gogoi (2015-09-30 14:44): Hi All, I am executing a shell script using jenkins on a hpux machine. It goes like this. -- set +e set +x #!/bin/sh cd /tmp/ rm -rf bc_env.txt echo "SANDBOX:${sandbox}" >> /tmp/bc_env.txt

Re: [workflow-plugin] Sample script for deleting a workflow workspace?

2015-10-01 Thread Jesse Glick
On Tuesday, September 29, 2015 at 4:51:09 PM UTC-4, Craig Rodrigues wrote: > > It might be worth it to take the deleteDir() example from > DeleteDirStepTest.java and put it in help.html > I am not seeing anything in the test not covered by the help; maybe I am missing something? I would recomme

RE: Pass parent workspace in build flow

2015-10-01 Thread Ginga, Dick
I’m not sure “workspace” is a field of “build”. From: jenkinsci-users@googlegroups.com [mailto:jenkinsci-users@googlegroups.com] On Behalf Of GS_L Sent: Thursday, October 01, 2015 7:53 AM To: Jenkins Users Subject: Pass parent workspace in build flow Hi I have a build flow that runs several bui

Pass parent workspace in build flow

2015-10-01 Thread GS_L
Hi I have a build flow that runs several builds. I want that all builds workspace will be under the parent workspace. I pass the parent workspace through DSL: The parent workspace is 'NightlyBuild'. build("job1", parent_workspace:build.workspace) In job1 - I changed the workspace by checking t

Re: [workflow-plugin] Sample script for deleting a workflow workspace?

2015-10-01 Thread Oleg Nenashev
Hi Craig, I noticed that the deleteDir() feature has not been released yet. It should appear in workflow-1.11. Can be temporarily replaced by a script invocation via "sh". Thanks a lot for your feedback regarding the documentation. As you probably see, it's being reworked now. I'll forward your p

Re: Script executed. The exit code is 255.

2015-10-01 Thread Maciej Jaros
Nayan Jyoti Gogoi (2015-09-30 14:44): Hi All, I am executing a shell script using jenkins on a hpux machine. It goes like this. -- set +e set +x #!/bin/sh cd /tmp/ rm -rf bc_env.txt echo "SANDBOX:${sandbox}" >> /tmp/bc_env.t