0

https://wiki.jenkins.io/display/JENKINS/Release+Plugin

Right now we have jenkins release plugin that works with freestyle jobs. Any idea if we have release plugin compatible with mutlibranch and multipipeline jobs.

I just want Release button to be there on Jenkins job and on clicking, it should work as build button do. I have release functionality defined in Jenkinsfile.

Thanks,

LifeIsButifool
  • 129
  • 2
  • 12

1 Answers1

0

Release plugin is compatible already with jenkins pipeline, more information in this Jenkins ticket.

You can just use the release step from your pipeline.

hakamairi
  • 4,464
  • 4
  • 30
  • 53
  • Thanks hakamairi, as per ticket, it was released in 2.7 but I have release plugin 2.10.1 installed and I don't see Release button being display. – LifeIsButifool Jul 19 '18 at 20:07
  • So if I understand u correctly, the release button will only be available when we configure release step in Jenkinsfile. If so, could you please provide example code of release plugin configuration. The link is not informative, neither I could generate code from pipeline syntax – LifeIsButifool Jul 19 '18 at 20:40
  • I am using pipeline syntax to generate code but it says 'WorkflowJob does not implement BuildableItemWithBuildWrappers'. How do I solve this – LifeIsButifool Aug 03 '18 at 00:44