This commit is contained in:
9
Jenkinsfile
vendored
9
Jenkinsfile
vendored
@@ -44,8 +44,7 @@ pipeline {
|
||||
def json = """
|
||||
{"username": "${PORTAINER_CREDENTIALS_USR}", "password": "${PORTAINER_CREDENTIALS_PSW}"}
|
||||
"""
|
||||
def jwtResponse = httpRequest
|
||||
acceptType: 'APPLICATION_JSON',
|
||||
def jwtResponse = httpRequest acceptType: 'APPLICATION_JSON',
|
||||
contentType: 'APPLICATION_JSON',
|
||||
validResponseCodes: '200',
|
||||
httpMode: 'POST',
|
||||
@@ -61,8 +60,7 @@ pipeline {
|
||||
def json = """
|
||||
|
||||
"""
|
||||
def response = httpRequest
|
||||
acceptType: 'APPLICATION_JSON',
|
||||
def response = httpRequest acceptType: 'APPLICATION_JSON',
|
||||
contentType: 'APPLICATION_JSON',
|
||||
validResponseCodes: '204',
|
||||
httpMode: 'POST',
|
||||
@@ -78,8 +76,7 @@ pipeline {
|
||||
def json = """
|
||||
|
||||
"""
|
||||
def response = httpRequest
|
||||
acceptType: 'APPLICATION_JSON',
|
||||
def response = httpRequest acceptType: 'APPLICATION_JSON',
|
||||
contentType: 'APPLICATION_JSON',
|
||||
validResponseCodes: '204',
|
||||
httpMode: 'POST',
|
||||
|
||||
Reference in New Issue
Block a user