I have mutibranch job in jenkins. Is there any way i can do the multibranch job configurations in a Jenkinsfile? like branchsource , behaviours etc in multibranch job i want to store as a code
Asked
Active
Viewed 129 times
1 Answers
0
Short answer is NO.
But if you still want it, you can store job xml configuration in Git, and then update job through Jenkins API using a local script or even another Jenkins job. Don't recommend though.

Dumitru Gurjui
- 142
- 5
-
Thanks for the reply – sreejith p s Oct 10 '19 at 15:13