diff --git a/Jenkinsfile b/Jenkinsfile index f18e689..45b4ffb 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -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',