Re: Bamboo step plugin?

2017-08-14 Thread Jesse Glick
On Tue, Aug 8, 2017 at 6:24 PM, Kyle Flavin  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 jenkinsci-dev+unsubscr...@googlegroups.com.
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.


Re: Bamboo step plugin?

2017-08-10 Thread 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 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 jenkinsci-dev+unsubscr...@googlegroups.com.
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.


Re: Bamboo step plugin?

2017-08-08 Thread 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 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 jenkinsci-dev+unsubscr...@googlegroups.com.
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.