Hi all.
I'm trying to develop an automatic CI chain with Jenkins, and I would like to use Jenkins Job DSL plugin in order to access (using SSH credentials) our Stash (Bitbucket) server project, in order to let Jenkins to automatically retrieve the entire set of repositories containing a Jenkinsfile inside their root folder, and generate one pipeline for each repository.
I'm not finding any helpful documentation about how to write the related Groovy script to be assigned to my Seed Job DSL item.
I noticed that there is a Job DSL API command (organizationFolder) to generate one job to generate what I need, but I really don't know how to configure it.
I found also this link https://issues.jenkins-ci.org/browse/JENKINS-46202 but I'm not so sure it could be the right solution for my issue.
Anyone can help me about it?
I'm looking for your kind reply
Thanks in advance,
Regards
Francesco
Use the Bitbucket Branch Source Plugin and store the configuration in a credentials store for access. One can setup a Pipeline Library so that the projects have a consistent way to build too.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.