Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

automate creation of new Releases to artifactory or automatic triggering of Jenkins job

Veljko April 12, 2022
  • In Jira fis.dev we have our project:
  • This project references the bitbucket project:

  • In jenkins instance we have our project referencing that Jira project as well
  • This Jenkins job has implemented pipelines which create builds that are uploaded to our artifactory repo.
  • From that perspective everything works perfectly fine.

    Now we would like to have automatically uploaded release to artifactory repo when selecting the action “Release” or “Build and release” from Jira level.

We see two options:

  1. to trigger Jenkins job from Jira (we do know how to write build script in Jenkins and how to upload that build to artifactory from Jenkins)  when pressing the action Release from Jira. Jenkins job should run some scripts to execute the build as the final product to be delivered to release folder in artifactory
  2. or to upload automatically release (for example latest build) to artifactory from Jira when selecting the Actions: “Release” or “Build and Release” in Jira.

 

Is something like this possible or how this common requirement is usually being done? I see in docs that Release action is just for marking. And also that Build and Release action is for integration with Bamboo which we do not have.

So what are our options  if someone can elaborate this in details? Thanks a lot!!!

0 answers

Suggest an answer

Log in or Sign up to answer