Add more difference infrastructure; Check with Jira
This commit is contained in:
parent
39e4ff5409
commit
4910f27a7b
1 changed files with 2 additions and 1 deletions
|
|
@ -189,7 +189,8 @@ def extractmerges(String line) {
|
|||
|
||||
def jiraticketexists(String jiraticket) {
|
||||
def String URI = "${JIRA_URI}/browse/${jiraticket}"
|
||||
def get = new URL(URI).openConnection();
|
||||
def String URIforsummary = "${URI}?fields=summary"
|
||||
def get = new URL(URIforsummary).openConnection();
|
||||
get.setRequestProperty( 'X-AUSERNAME', "${JIRA_USERNAME}" )
|
||||
get.setRequestProperty( 'Authorization', "Basic ${JIRA_ENCODED_PASSWORD}" )
|
||||
get.setRequestProperty( 'User-Agent', 'groovy-2.4.4' )
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue