Re: How to pass in a param into Multi branch pipeline

2017-03-18 Thread Stephen Connolly
Dang! I thought that stuff was free. Oh well sorry... could have sworn... On Sat 18 Mar 2017 at 17:21, Dan Tran wrote: > hmm, looking further, I need 'Folder Plus' plugin. It is not free > > > https://go.cloudbees.com/docs/cloudbees-documentation/cje-user-guide/index.html#folder > > Thanks >

Re: How to pass in a param into Multi branch pipeline

2017-03-18 Thread Dan Tran
hmm, looking further, I need 'Folder Plus' plugin. It is not free https://go.cloudbees.com/docs/cloudbees-documentation/cje-user-guide/index.html#folder Thanks -Dan On Sat, Mar 18, 2017 at 10:15 AM, Stephen Connolly < stephen.alan.conno...@gmail.com> wrote: > Are you sure? > > On Sat 18 Ma

Re: How to pass in a param into Multi branch pipeline

2017-03-18 Thread Stephen Connolly
Are you sure? On Sat 18 Mar 2017 at 17:02, Dan Tran wrote: > Unfortunately, there is no Jenkins capability to inject environment vars > at folder level > > Thanks > > -Dan > > > On Saturday, March 18, 2017 at 1:15:34 AM UTC-7, Stephen Connolly wrote: > > You could also define env vars at the fol

Re: How to pass in a param into Multi branch pipeline

2017-03-18 Thread Dan Tran
Unfortunately, there is no Jenkins capability to inject environment vars at folder level Thanks -Dan On Saturday, March 18, 2017 at 1:15:34 AM UTC-7, Stephen Connolly wrote: > > You could also define env vars at the folder level (as multibranch is a > folder) and then use conditions based on t

Re: How to pass in a param into Multi branch pipeline

2017-03-18 Thread Stephen Connolly
You could also define env vars at the folder level (as multibranch is a folder) and then use conditions based on the env vars... less elegant I know On Sat 18 Mar 2017 at 07:22, Dan Tran wrote: > I have a requirement to run maven sonar:sonar against all branches. This > means my Jenkinsfile must

Re: How to pass in a param into Multi branch pipeline

2017-03-18 Thread Dan Tran
I have a requirement to run maven sonar:sonar against all branches. This means my Jenkinsfile must explicitly invoke sonar and can only run sonar only environment if jenkins pipline allows injection of a user env variable, my Jenkinsfile can react appropriately. However, I just found a promis

Re: How to pass in a param into Multi branch pipeline

2017-03-17 Thread Stephen Connolly
Could you describe your use-case more concretely? On Fri 17 Mar 2017 at 01:44, Dan Tran wrote: > anyone? or this is a limitation of multibranch pipeline? > > Thanks > > -Dan > > > On Wednesday, March 15, 2017 at 5:23:04 PM UTC-7, Dan Tran wrote: > > Hi > > My Jenkinsfile has a boolean paramete

Re: How to pass in a param into Multi branch pipeline

2017-03-16 Thread Dan Tran
anyone? or this is a limitation of multibranch pipeline? Thanks -Dan On Wednesday, March 15, 2017 at 5:23:04 PM UTC-7, Dan Tran wrote: > > Hi > > My Jenkinsfile has a boolean parameter, and I would like to enable a > parameter via > > - user selection > - ENV set at the job where my gro

How to pass in a param into Multi branch pipeline

2017-03-15 Thread Dan Tran
Hi My Jenkinsfile has a boolean parameter, and I would like to enable a parameter via - user selection - ENV set at the job where my groovy will detect and flip the param However, I can't find any hook into those 2 options at top folder level Thoughts? -D to be more concrete, this pa