summaryrefslogtreecommitdiffstats
path: root/cns-libs/templates/jenkins/groovy/install_jdk8.groovy
diff options
context:
space:
mode:
Diffstat (limited to 'cns-libs/templates/jenkins/groovy/install_jdk8.groovy')
-rw-r--r--cns-libs/templates/jenkins/groovy/install_jdk8.groovy23
1 files changed, 0 insertions, 23 deletions
diff --git a/cns-libs/templates/jenkins/groovy/install_jdk8.groovy b/cns-libs/templates/jenkins/groovy/install_jdk8.groovy
deleted file mode 100644
index fb104cdb..00000000
--- a/cns-libs/templates/jenkins/groovy/install_jdk8.groovy
+++ /dev/null
@@ -1,23 +0,0 @@
-import jenkins.model.*
-import hudson.model.*
-import hudson.tools.*
-
-def inst = Jenkins.getInstance()
-
-def desc = inst.getDescriptor("hudson.model.JDK")
-
-def versions = [
- "jdk8": "jdk-8u172-oth-JPR"
-]
-def installations = [];
-
-for (v in versions) {
- def installer = new JDKInstaller(v.value, true)
- def installerProps = new InstallSourceProperty([installer])
- def installation = new JDK(v.key, "", [installerProps])
- installations.push(installation)
-}
-
-desc.setInstallations(installations.toArray(new JDK[0]))
-
-desc.save()