Re: declarative pipeline with File Data Provider

2017-01-02 Thread Dan Tran
here you go https://issues.jenkins-ci.org/browse/JENKINS-40756 Thanks -Dan On Monday, January 2, 2017 at 2:54:14 PM UTC-8, Andrew Bayer wrote: > > Could you open a JIRA regarding configFileProvider support in Declarative? > Feels like this is something we should make more elegant. > -- You

Re: declarative pipeline with File Data Provider

2017-01-02 Thread Andrew Bayer
Could you open a JIRA regarding configFileProvider support in Declarative? Feels like this is something we should make more elegant. A. On Jan 1, 2017 01:16, "Dan Tran" wrote: Hi, I am experimenting with declarative pipeline and try to port this configFileProvider([configFile(fileId: 'mav

Re: declarative pipeline with File Data Provider

2017-01-01 Thread Dan Tran
I cant use that plugin ATM since it is not compatible with latest File data provider plugin and it cant run inside docker Thanks -D On Sunday, January 1, 2017 at 5:49:18 AM UTC-8, Baptiste Mathus wrote: > > Hi Dan, > > Did you try using the Pipeline Maven Plugin >

Re: declarative pipeline with File Data Provider

2017-01-01 Thread Baptiste Mathus
Hi Dan, Did you try using the Pipeline Maven Plugin ? It should make that quite simpler. Cheers 2017-01-01 11:00 GMT+01:00 Dan Tran : > I got it working with > > steps { > script { > configFil

Re: declarative pipeline with File Data Provider

2017-01-01 Thread Dan Tran
I got it working with steps { script { configFileProvider([configFile(fileId: 'maven-user-settings', variable: 'MVN_USER_SETTINGS'), configFile(fileId: 'maven-global-settings', variable: 'MVN_GLOBAL_SETTINGS')]){ def MVN = "mvn -U -B -g

declarative pipeline with File Data Provider

2017-01-01 Thread Dan Tran
Hi, I am experimenting with declarative pipeline and try to port this configFileProvider([configFile(fileId: 'maven-user-settings', variable: 'MVN_USER_SETTINGS'), configFile(fileId: 'maven-global-settings', variable: 'MVN_GLOBAL_SETTINGS')]) { def MVN = 'mvn -B -gs $MVN_GLOBAL_SETT