diff options
author | Bernard Ogden <bernie.ogden@linaro.org> | 2015-10-30 13:25:55 +0000 |
---|---|---|
committer | Bernard Ogden <bernie.ogden@linaro.org> | 2015-11-05 10:08:36 +0000 |
commit | f3d4fcf23ae2acda38118e35aae462c5797ee49b (patch) | |
tree | 4f0d0ccd5a22b9d6ff23c32107c1177819e8504c /post-build-lava.groovy | |
parent | 8d42d9ef617695547627e801f6cff599c77e0cb7 (diff) |
Use https in preference to http
Important for LAVA interactions that might transmit authentication or contain
other secrets. Last time I checked, the main instance redirects http to https
anyway, but that might not be true for all instances, or forever.
Probably allows us to validate that we're on the expected server in other cases.
Change-Id: I8c4d55c949062224b8eb4e0a2bb4d0f465ebb357
Diffstat (limited to 'post-build-lava.groovy')
-rw-r--r-- | post-build-lava.groovy | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/post-build-lava.groovy b/post-build-lava.groovy index 4cf5304..8c3634c 100644 --- a/post-build-lava.groovy +++ b/post-build-lava.groovy @@ -13,7 +13,7 @@ if (matcher?.matches()) { if (serverMatcher.matches()) { lavaServer = serverMatcher.group(0).split("://")[1].split("/")[0] } - def lavaJobUrl = "http://${lavaServer}/scheduler/job/${lavaJobId}" + def lavaJobUrl = "https://${lavaServer}/scheduler/job/${lavaJobId}" def lavaDescription = " LAVA Job Id: <a href='${lavaJobUrl}'>${lavaJobId}</a>" def cause = manager.build.getAction(hudson.model.CauseAction.class).getCauses() |