You likely need to change the Trustmodel.

By default the Jenkinsfile from the branch being merged into is used.

Please consider carefully the impact of allowing users to modify 
Jenkinsfiles. In my use case this isn't acceptable, however, it might be in 
yours.

Best,

-b


On Monday, August 6, 2018 at 9:50:36 AM UTC-4, Daniel Anechitoaie wrote:
>
> Hi,
>
> I'm using Jenkins Pipeline job type and I have it build all branches (**) 
> when a push to BitBucket is made.
> Currently the configuration is inside Jenkins but I'd like to have it 
> inside a Jenkinsfile.
> From what I see I need to specify a different repo/branch from where to 
> take that file. 
> Can I somehow make is use the Jenkins file from current branch that's 
> being built?
>

-- 
You received this message because you are subscribed to the Google Groups 
"Jenkins Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to jenkinsci-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/jenkinsci-users/208dcc9b-2e3b-42da-99a6-36374c7b6aae%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to