diff --git a/CHANGELOG.md b/CHANGELOG.md index 0434502..17ff87d 100755 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -6,6 +6,10 @@ and this project adheres to [Semantic Versioning](http://semver.org/). ## [Unreleased] - 2019-XX-YY +## [1.1.15] - 2019-06-28 +### Fixed +- Calling a log method that doesn't exist, now using `steps.echo` + ## [1.1.14] - 2019-06-28 ### Added - added logs for version ID changes & `Set-Cookie` header - thanks @thomaslhostis ! diff --git a/src/com/vsct/dt/hesperides/jenkins/pipelines/http/JenkinsHTTRequester.groovy b/src/com/vsct/dt/hesperides/jenkins/pipelines/http/JenkinsHTTRequester.groovy index 736624e..ada9d2f 100755 --- a/src/com/vsct/dt/hesperides/jenkins/pipelines/http/JenkinsHTTRequester.groovy +++ b/src/com/vsct/dt/hesperides/jenkins/pipelines/http/JenkinsHTTRequester.groovy @@ -45,7 +45,7 @@ class JenkinsHTTRequester implements Serializable { ignoreSslErrors: true, validResponseCodes: '100:600' - log('Response header Set-Cookie = ' + tryPrettyPrintJSON(response.headers['Set-Cookie'])) + steps.echo 'Response header Set-Cookie = ' + tryPrettyPrintJSON(response.headers['Set-Cookie']) if (!(response.status in [200, 201])) { this.steps.echo COLOR_RED + tryPrettyPrintJSON(tryParseJSON(response.content)) + COLOR_END