-
Bug
-
Resolution: Duplicate
-
Minor
-
None
JOB_URL environment variable in a promotion script has value:
http://hudson.host:8080/job/<JOB>/promotion//<PROMOTION>/
This link is broken.
JOB_URL should point to a main promotion page so as:
- ${JOB_URL}api/ - entry point to the promotion remote API.
- ${JOB_URL}23/ - link to the promotion execution 23.
JOB_URL is useful for accessing remote API and retrieving of artifacts.
- duplicates
-
JENKINS-6922 PROJECT_URL variable not correctly set when email is sent by Promoted Build Plugin
-
- Open
-
[JENKINS-8961] JOB_URL is broken for a promotion
Resolution | New: Not A Defect [ 7 ] | |
Status | Original: Open [ 1 ] | New: Resolved [ 5 ] |
Resolution | Original: Not A Defect [ 7 ] | |
Status | Original: Resolved [ 5 ] | New: Reopened [ 4 ] |
Link |
New:
This issue duplicates |
Resolution | New: Duplicate [ 3 ] | |
Status | Original: Reopened [ 4 ] | New: Resolved [ 5 ] |
Link | New: This issue duplicates JENKINS-6922 [ JENKINS-6922 ] |
Link |
Original:
This issue duplicates |
You can use PROMOTED_URL variable.
You can also use PROMOTED_JOB_NAME, PROMOTED_NUMBER and PROMOTED_ID to get original values.