mibexsoftware / bamboo-plan-dsl-plugin

Configuration as code with a Groovy-based DSL or YAML for Atlassian Bamboo.
https://marketplace.atlassian.com/plugins/ch.mibex.bamboo.plandsl/
Other
40 stars 16 forks source link

Monitor bitbucket project/repo - auto create build plans #77

Closed sbhakta99 closed 6 years ago

sbhakta99 commented 6 years ago

Can this plugin monitor a Bitbucket Project, so whenever a new repo is checked in, it will auto create all build plans and deployment plans relative to that project?

mrueegg commented 6 years ago

No, unfortunately not. AFAIK there is no way to detect that a reposiory is created in Bitbucket Server from Bamboo. I think the only solution would be to have a Bitbucket plug-in that recognizes this event and triggers some action in Bamboo (e.g., creating deployment projects, plans etc. with the Bamboo REST API). Would that be an option?

Thanks for your understanding.

Best regards, Michael

sbhakta99 commented 6 years ago

That is an option, but there a quick way to import bitbucket repos/slugs using bitbucket apis?

We want to have Bamboo DSL job scan a Bitbucket Project for new repos, once a new repo is checked it we want DSL job to run to create that repos Bamboo Plans.