Bamboo step plugin?

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
4 messages Options
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Bamboo step plugin?

Kyle Flavin
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!

--
You received this message because you are subscribed to the Google Groups "Jenkins Developers" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-dev/b9e91553-6511-4c60-9ff1-65fc7d3b761d%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: Bamboo step plugin?

James Dumay
New contributions and plugins are always welcome :)

On Wednesday, August 9, 2017 at 8:28:41 AM UTC+10, Kyle Flavin wrote:
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 <a href="https://plugins.jenkins.io/bamboo-notifier" target="_blank" rel="nofollow" onmousedown="this.href=&#39;https://www.google.com/url?q\x3dhttps%3A%2F%2Fplugins.jenkins.io%2Fbamboo-notifier\x26sa\x3dD\x26sntz\x3d1\x26usg\x3dAFQjCNEUgFWdBXCnqnAe25-Z5L4a_t1YRg&#39;;return true;" onclick="this.href=&#39;https://www.google.com/url?q\x3dhttps%3A%2F%2Fplugins.jenkins.io%2Fbamboo-notifier\x26sa\x3dD\x26sntz\x3d1\x26usg\x3dAFQjCNEUgFWdBXCnqnAe25-Z5L4a_t1YRg&#39;;return true;">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: '<a href="https://bamboo-server" target="_blank" rel="nofollow" onmousedown="this.href=&#39;https://www.google.com/url?q\x3dhttps%3A%2F%2Fbamboo-server\x26sa\x3dD\x26sntz\x3d1\x26usg\x3dAFQjCNEynWzcN93m2_I01fcmOELzc-0pcA&#39;;return true;" onclick="this.href=&#39;https://www.google.com/url?q\x3dhttps%3A%2F%2Fbamboo-server\x26sa\x3dD\x26sntz\x3d1\x26usg\x3dAFQjCNEynWzcN93m2_I01fcmOELzc-0pcA&#39;;return true;">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!

--
You received this message because you are subscribed to the Google Groups "Jenkins Developers" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-dev/77ea403d-c824-4556-bac9-de233396e632%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: Bamboo step plugin?

Kyle Flavin
Great!  Thanks James.  I'll work on getting internal approval to open source it.

On Tuesday, August 8, 2017 at 11:42:18 PM UTC-7, James Dumay wrote:
New contributions and plugins are always welcome :)

On Wednesday, August 9, 2017 at 8:28:41 AM UTC+10, Kyle Flavin wrote:
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 <a href="https://plugins.jenkins.io/bamboo-notifier" rel="nofollow" target="_blank" onmousedown="this.href=&#39;https://www.google.com/url?q\x3dhttps%3A%2F%2Fplugins.jenkins.io%2Fbamboo-notifier\x26sa\x3dD\x26sntz\x3d1\x26usg\x3dAFQjCNEUgFWdBXCnqnAe25-Z5L4a_t1YRg&#39;;return true;" onclick="this.href=&#39;https://www.google.com/url?q\x3dhttps%3A%2F%2Fplugins.jenkins.io%2Fbamboo-notifier\x26sa\x3dD\x26sntz\x3d1\x26usg\x3dAFQjCNEUgFWdBXCnqnAe25-Z5L4a_t1YRg&#39;;return true;">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: '<a href="https://bamboo-server" rel="nofollow" target="_blank" onmousedown="this.href=&#39;https://www.google.com/url?q\x3dhttps%3A%2F%2Fbamboo-server\x26sa\x3dD\x26sntz\x3d1\x26usg\x3dAFQjCNEynWzcN93m2_I01fcmOELzc-0pcA&#39;;return true;" onclick="this.href=&#39;https://www.google.com/url?q\x3dhttps%3A%2F%2Fbamboo-server\x26sa\x3dD\x26sntz\x3d1\x26usg\x3dAFQjCNEynWzcN93m2_I01fcmOELzc-0pcA&#39;;return true;">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!

--
You received this message because you are subscribed to the Google Groups "Jenkins Developers" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-dev/3b71ecb4-3110-4630-8e20-b361c6ec7a63%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: Bamboo step plugin?

Jesse Glick-4
In reply to this post by Kyle Flavin
On Tue, Aug 8, 2017 at 6:24 PM, Kyle Flavin <[hidden email]> 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.

--
You received this message because you are subscribed to the Google Groups "Jenkins Developers" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-dev/CANfRfr1%2B7okYrGa6rf14PePY9x%3DxE0E3%2BENLKRS6NCZxFPzG7g%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.
Loading...