Bamboo step plugin?

32 views
Skip to first unread message

Kyle Flavin

unread,
Aug 8, 2017, 6:28:41 PM8/8/17
to Jenkins Developers
We have a custom Bamboo step plugin that we're using in our Jenkinsfile to call build plans on our Bamboo server from Jenkins.  I'm wondering if I should try to get hosting for it in the community repositories, as there doesn't seem to be anything else out there.  There's the Bamboo Notifier, but it isn't specifically built for use with pipeline.

Here's an example usage from our Jenkinsfile:

pipeline {
   
...
    stages
{
        stage
("Build Bamboo job") {
            steps
{
                script
{
                    buildBamboo
(projectKey: "PROJECT-KEY", planKey: "PKEY", serverAddress: 'https://bamboo-server', 'username': env.BAMBOO_USER, 'password': env.BAMBOO_PASS)
               
}
           
}
       
}
   
}
   
...
}


Just curious.  Will pursue if it makes sense.  We have one for BuildForge as well.

Thanks!

James Dumay

unread,
Aug 9, 2017, 2:42:18 AM8/9/17
to Jenkins Developers
New contributions and plugins are always welcome :)

Kyle Flavin

unread,
Aug 10, 2017, 7:55:49 PM8/10/17
to Jenkins Developers
Great!  Thanks James.  I'll work on getting internal approval to open source it.

Jesse Glick

unread,
Aug 14, 2017, 11:04:16 AM8/14/17
to Jenkins Dev
On Tue, Aug 8, 2017 at 6:24 PM, Kyle Flavin <kyle....@gmail.com> wrote:
> There's the Bamboo Notifier,
> but it isn't specifically built for use with pipeline.

Best to amend the existing plugin.

https://github.com/jenkinsci/bamboo-notifier-plugin/blob/37fb624a29ff66865d07e243103eb55ca944b230/src/main/java/hudson/plugins/bamboo/BambooNotifier.java#L28

*could* be made a `SimpleBuildStep`, but it would not work that well
pending JENKINS-46175. Just file a PR adding a dep on
`workflow-step-api` to this plugin and put the step there.
Reply all
Reply to author
Forward
0 new messages