Re: How to use Throttle Concurrent in WorkFlow

2015-11-26 Thread sebastien . barthelemy
Hello, Le lundi 16 novembre 2015 19:00:32 UTC+1, Dave Lawrence a écrit : > > I am looking to use Throttle Concurrent Builds in a WorkFlow. > Concurrency can be limited using "stages", have a look at : https://github.com/jenkinsci/workflow-plugin/blob/master/TUTORIAL.md#creating-stages > I've

Re: LDAP plugin, warning after Jenkins upgrade v1.638

2015-11-26 Thread Stephen Connolly
In case you are having difficulty the change in question was: Turned the group membership lookup into a strategy. That changed the configuration format of the LDAP security realm. This is normally not a big deal... as long as you do not roll back the plugin... if you roll the plugin back to versi

Re: Groovy triggering build with both default and new parameters

2015-11-26 Thread Sverre Moe
Seems that was totally wrong. My latest attempt seems to work: def params = [] def extraParameterValue = new BooleanParameterValue('UPSTREAM_TRIGGER_CAUSE', true) params.add(extraParameterValue) def parametersDefProp = project.getProperty(ParametersDefinitionProperty.class) parametersDefProp.get

Re: Groovy triggering build with both default and new parameters

2015-11-26 Thread Sverre Moe
I have tried the following solution: def property = project.getProperty(ParametersDefinitionProperty.class) def jobParams = property.getParameterDefinitions(); def newParam = new StringParameterValue('UPSTREAM_TRIGGER_CAUSE', 'true') jobParams.add(newParam) def parametersAction = new ParametersAc

Re: LDAP plugin, warning after Jenkins upgrade v1.638

2015-11-26 Thread Daniel Beck
Click the plugin name and then scroll down. On 26.11.2015, at 08:57, Lavr L wrote: > Hi > > I upgraded Jenkins to last release 1.638 and now I have the following warning > for LDAP plugin: > Warning: the new version of this plugin claims to use a different settings > format than the installed

Groovy triggering build with both default and new parameters

2015-11-26 Thread Sverre Moe
Groovy Code for triggering a build with a parameter def params = [ new StringParameterValue('UPSTREAM_TRIGGER_CAUSE', 'true') ] def paramsAction = new ParametersAction(params) def cause = new UpstreamCause(build) def futureTask = project.scheduleBuild2(project.quietPeriod, cause, paramsActio

Re: LDAP authentication problem for multiple OUs

2015-11-26 Thread Rama
I tried keeping User search base (and also tried with User search filter as well) as blank, but that failed. I also tried with blank root DN, that also failed. :( On 11/26/15, James Nord wrote: > As you have country -> users. You need to have a common root. > In your case that is dc=ca which give

About Jenkins REST API

2015-11-26 Thread Sampath Bandara Liyanage
Hi, This is regarding Jenkins REST API endpoints. We are using Jenkins REST API. We found documentation only for Jenkins Remote API. Please send us the rest of API endpoints and the parameters to work with API. Or else if there any reference documentation to use Jenkins API endpoints, plea

Re: How to hide AWS secret key in AWS elastic beanstalk plugin of Jenkins?

2015-11-26 Thread Amrita Kanungo
Hii...Right now another issue am facing...In our pom.xml the version keeps on changing for each war. We are actually increasing the pom version so our war is also being generated by abc-0.1.16-SNAPSHOT.war. And this number keeps on increasing. So how to declare the path in the AWS Deployment plugin

Re: LDAP authentication problem for multiple OUs

2015-11-26 Thread James Nord
As you have country -> users. You need to have a common root. In your case that is dc=ca which given your root dn would be a blank entry. -- You received this message because you are subscribed to the Google Groups "Jenkins Users" group. To unsubscribe from this group and stop receiving emails

Re: How to hide AWS secret key in AWS elastic beanstalk plugin of Jenkins?

2015-11-26 Thread Amrita Kanungo
Thank you..But I am write now using AWS Elastic Beanstalk Publisher Plugin in which I am declaring the credentials globally and in the job level its hidden. Thank you all for your answers.. On Wed, Nov 25, 2015 at 5:30 AM, Peter Lai wrote: > > >

Re: Running a command before wiping the workspace

2015-11-26 Thread Björn Stabel
I don't want to run a build step pre-scm, but pre-wipe, i.e. when the user clicks "wipe workspace", but before the workspace is actually wiped. On 11/24/2015 12:43 PM, Mark Waite wrote: After you reviewed https://wiki.jenkins-ci.org/display/JENKINS/pre-scm-buildstep for the Pre-SCM Build Step?