Re: Has anyone implemented the one line Jenkinsfile?

2016-05-18 Thread John Chandra
Got it. Thanks a lot Daniel! On Wednesday, May 18, 2016 at 2:30:21 PM UTC-4, Daniel Beck wrote: > > > > On 18.05.2016, at 20:20, John Chandra > > wrote: > > > > I wonder how does a Jenkinsfile know where to look for that function? Is > there any

Re: Pipeline script for Build Trigger

2016-05-18 Thread John Chandra
I see. Thanks, Michael! On Tuesday, May 17, 2016 at 11:37:27 PM UTC-4, Michael Kobit wrote: > > Based on what I can see on that issue, I believe that is the open issue > you should follow. > > On Tue, May 17, 2016, 10:37 AM John Chandra > > wrote: > >> Hi Michael,

Has anyone implemented the one line Jenkinsfile?

2016-05-18 Thread John Chandra
Hello all, Has anyone tried to implement the one line Jenkinsfile according to this example: *One line Jenkinsfile* https://github.com/jenkins-inc/securitay/blob/dev/Jenkinsfile *and it is calling a function defined here:* https://github.com/jenkins-inc/release-engineering/blob/master/vars/micr

Re: Pipeline script for Build Trigger

2016-05-17 Thread John Chandra
at you > are looking for. > > On Monday, May 16, 2016 at 4:54:13 PM UTC-5, John Chandra wrote: >> >> Hi All, >> >> Is there any way to configure a build trigger using pipeline script in >> Jenkinsfile? We still want to trigger the build when a change is pushe

Re: Pipeline script for Build Trigger

2016-05-17 Thread John Chandra
ps://wiki.jenkins-ci.org/display/JENKINS/GitHub+Plugin#GitHubPlugin-TriggerabuildwhenachangeispushedtoGitHub > > > On Mon, May 16, 2016 at 2:54 PM, John Chandra > > wrote: > >> Hi All, >> >> Is there any way to configure a build trigger using pipeline script i

Pipeline script for Build Trigger

2016-05-16 Thread John Chandra
Hi All, Is there any way to configure a build trigger using pipeline script in Jenkinsfile? We still want to trigger the build when a change is pushed to GitHub. Is that still possible using Jenkinsfile in Jenkins 2.0? I've been searching around but I couldn't find a way to get this done. John