[HAP-503] Create a REST api in Jenkins plugin for Release Staging Created: 18/Jul/14  Updated: 14/Nov/17  Resolved: 21/Aug/14

Status: Resolved
Project: Jenkins Artifactory Plug-in
Component/s: Release Management
Affects Version/s: 2.2.3
Fix Version/s: 2.2.4

Type: New Feature Priority: Normal
Reporter: Michal Reuven (Inactive) Assignee: Eyal Ben Moshe (Inactive)
Resolution: Fixed Votes: 1
Labels: None

Issue Links:
Duplicate
is duplicated by HAP-613 Create a REST interface for Jenkins A... Will Not Implement

 Description   

Many clients request Artifactory to have a Rest api to enable them perform the Jenkins release staging.
This ticket is somewhat related to ticket HAP-263



 Comments   
Comment by Kavin Kankeshwar [ 18/Jul/14 ]

This is a Critical feature for automating releases.

Comment by Eyal Ben Moshe (Inactive) [ 21/Aug/14 ]

The format of the API is as follows:
<Jenkins Server>/jenkins/job/<Project Name>/artifactory/staging?<Parameters List>

If you do not specify any of the below parameters, the Release Management API will use the values provided by the configured Artifactory Staging User Plugin.

Example (for a maven project):

http://myJenkins.com/jenkins/job/myProject/artifactory/staging?versioning=GLOBAL&releaseVersion=2.0&nextVersion=2.1-SNAPSHOT&createReleaseBranch=true&releaseBranch=REL-BRANCH-20&createVcsTag=false&nextDevelCommitComment=Version_2.0_committed&repositoryKey=libs-staging-local&stagingComment=Version_2.0_moving_to_staging_repo

A. Parameters list for Maven projects:

1. versioning

NONE: Use existing module versions
GLOBAL: One version for all modules
PER_MODULE : Version per module

2. releaseVersion
3. nextVersion
4. release.<Artifact GroupID>:<Artifact ID>
5. next.<Artifact GroupID>:<Artifact ID>
6. releaseBranch
7. createVcsTag
8. tagUrl
9. tagComment
10. nextDevelCommitComment
11. repositoryKey
12. stagingComment

B. Parameters list for Gradle projects:

1. versioning
2. releaseVersion
3. nextVersion
4. release.<Property version name in gradle.properties>
5. next.<Property version name in gradle.properties>

The full documentation will be soon available at:

https://wiki.jenkins-ci.org/display/JENKINS/Jenkins+Artifactory+Plugin+-+Release+Management

Generated at Sat Jul 20 02:50:25 UTC 2019 using JIRA 7.6.3#76005-sha1:8a4e38d34af948780dbf52044e7aafb13a7cae58.