Check to see if a Pipeline step exist?

2017-04-14 Thread Cuong Tran
All, I need to be able to run the same pipeline code under Jenkins 1.x and Jenkins 2.x servers so I want to detect if a step exists and provide alternative. For example, the "archiveArtifacts" step doesn't exist in Jenkins 1.x. Does anyone have a similar problem? Thanks. -- You received

Re: LDAP fails with no details in the logs

2017-04-14 Thread Mark Waite
I cloned the master branch of the ldap-plugin, then pulled PR18 into it and built it. If it helps you, the code can be downloaded from https://drive.google.com/open?id=0B9GyYWyfT1N5c1pabnBkbnVyRjA Thanks, Mark Waite On Fri, Apr 14, 2017 at 1:05 PM Stephen Connolly < stephen.alan.conno...@gmail.c

Re: Groovy Security Advisory

2017-04-14 Thread Andrew Bayer
Basically, the Groovy plugin (and a bunch of other plugins with Groovy scripting involved) now go through the script security process. So by default, not everything is white listed in a system Groovy script. There are no changes to non-system Groovy scripts, and you can approve scripts or signature

Re: LDAP fails with no details in the logs

2017-04-14 Thread Stephen Connolly
Oh well, it will be Wednesday before I am back at computer... maybe some kind soul will help you out On Fri 14 Apr 2017 at 16:52, Daniel Watrous wrote: > I'm not sure how to do that. I assume you mean a pull request, but I think > this might be beyond me at this point. > > > On Friday, April 14,

Groovy Security Advisory

2017-04-14 Thread Emory Penney
Hi, Does anyone know what's going on with the Groovy plugin right now? My Jenkins instance is bugging me to update Groovy from 1.30 to 2.0 because of this remote code execution security advisory and when I visit plugin manager I see the wonde

We offer high quality COUNTERFEIT NOTES for the following currencies;

2017-04-14 Thread brandon homan
This bills are not home made but industrial and professional manufacturing. >From High Quality IT techinicians from US,Russia,Korea and China We offer high quality COUNTERFEIT NOTES for the following currencies; EUR - Euro USD - US Dollar DNR - DINAR GBP - British Pound INR - Indian Rupee AUD -

BitBucket Plugin for Jenkins doesn't fire release pipeline job likely because release pipeline script not in SCM, how to trick it?

2017-04-14 Thread David Karr
My enterprise uses BitBucket Server and Jenkins. For my project, I wrote a pipeline script that is fully parameterized, and can properly build PR branches, release branches, and the master branch. Several condition checks do different things depending on what the branch is. I store the Jenkin

Re: LDAP fails with no details in the logs

2017-04-14 Thread Daniel Watrous
I'm not sure how to do that. I assume you mean a pull request, but I think this might be beyond me at this point. On Friday, April 14, 2017 at 10:40:33 AM UTC-5, Stephen Connolly wrote: > > Try building my PR against the ldap plugin that adds a validate button and > using that. See if the valida

Re: LDAP fails with no details in the logs

2017-04-14 Thread Stephen Connolly
Try building my PR against the ldap plugin that adds a validate button and using that. See if the validate button helps diagnose and fix the issue! On Fri 14 Apr 2017 at 16:34, Daniel Watrous wrote: > Hi, > > I'm trying to use LDAP authentication, but I can't get it to work and I > don't see any

LDAP fails with no details in the logs

2017-04-14 Thread Daniel Watrous
Hi, I'm trying to use LDAP authentication, but I can't get it to work and I don't see anything in the logs to help. Here's the only thing I get from a failed login. Apr 14, 2017 3:29:19 PM jenkins.security.SecurityListener fireFailedToLogIn FINE: failed to log in: my.n...@company.com I can't e

Re: Declarative Syntax: agent scope

2017-04-14 Thread Baptiste Mathus
Hello, IMO, you want to file an argued JIRA for each evolution you'd like. The things you ask for don't appear crazy, but declarative being about straightforwardness and opinionated, almost by definition nothing will be added without deep thinking basically. Hence why each addition request somehow

Re: Declarative Syntax: agent scope

2017-04-14 Thread Kenneth Brooks
Can we add *agent* as a child of *steps* so that we can decide which nodes we want those steps to run on and that way we could then set the agent to none for the overall stage? And make *post* also available as a sibling of *stage* so that it can run after a stage but not require a node? I'm tr

Pipeline build fails using "withAWS"

2017-04-14 Thread Ramanathan Muthaiah
Hello, Pls excuse for the lengthy post. Am looking to make use of IAM roles in the given AWS account (jenkins master runs in the same account) and run packer build to generate AMI. This is to avoid storing / using AWS keys in Jenkins master. For this purpose, I wanted to make use of this plugi

Re: Is there a script that check that some users got overlapping permissions in jenkins?

2017-04-14 Thread Daniel Beck
> On 14.04.2017, at 03:31, Luc Ibata wrote: > > Is there a script that check that some users got overlapping permissions in > jenkins? > > In order to prove that a team is not seeing another team jobs or folders I > need to come up with a measurable solution that validate that.How can I test

Re: adding custom parameters to configure publishers in withMaven pipeline step

2017-04-14 Thread Cyrille Le Clerc
Hello Valentina, We are going to look at this soon. We have requests to have a more elegant solution to disable reporters (see JENKINS-43596 Add withMaven options for skipping ). We don't know yet what would be the right syntax to add configu

Is there a script that check that some users got overlapping permissions in jenkins?

2017-04-14 Thread Victor Martinez
Off the top of my head, maybe you can find some test examples in the source code, then you could write some system groovy script to validate those permissions. Cheers -- You received this message because you are subscribed to the Google Groups "Jenkins Users" group. To unsubscribe from this g