mirror of
https://github.com/elastic/kibana.git
synced 2025-04-23 17:28:26 -04:00
Co-authored-by: spalger <spalger@users.noreply.github.com> Co-authored-by: spalger <spalger@users.noreply.github.com>
This commit is contained in:
parent
60e7984ccd
commit
1f0ecfbfc1
1 changed files with 6 additions and 1 deletions
|
@ -300,7 +300,12 @@ def getDocsChangesLink() {
|
|||
|
||||
try {
|
||||
// httpRequest throws on status codes >400 and failures
|
||||
httpRequest([ method: "GET", url: url ])
|
||||
def resp = httpRequest([ method: "GET", url: url ])
|
||||
|
||||
if (resp.contains("There aren't any differences!")) {
|
||||
return ""
|
||||
}
|
||||
|
||||
return "* [Documentation Changes](${url})"
|
||||
} catch (ex) {
|
||||
print "Failed to reach ${url}"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue