Skip to content

Commit 149150b

Browse files
committed
reverted to keep the java download path the same as before
1 parent c8e4e0a commit 149150b

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

plugin/src/test/resources/jenkins/plugins/openstack/compute/JCloudsCloudTest/globalConfigMigrationFromV1/expected-userData

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ runcmd:
1717
- [ "chmod", "777", "/home/jenkins/.ssh/" ]
1818
- [ "chown", "jenkins", "/home/jenkins" ] # Not sure why this is needed - othwrvise owned by root
1919
- [ "mkdir", "/usr/local/java/" ] # Location searched by ssh-slaves plugin, though not controlled by it
20-
- [ "curl", "-L", "-o", "/usr/local/java/java.tar.gz", "https://download.oracle.com/java/17/latest/jdk-17_linux-x64_bin.tar.gz", "-H", "Cookie: oraclelicense=accept-securebackup-cookie" ]
20+
- [ "curl", "-L", "-o", "/usr/local/java/java.tar.gz", "http://download.oracle.com/otn-pub/java/jdk/8u51-b16/jdk-8u51-linux-x64.tar.gz", "-H", "Cookie: oraclelicense=accept-securebackup-cookie" ]
2121
- [ "tar", "xf", "/usr/local/java/java.tar.gz", "-C", "/usr/local/java/", "--strip-components=1" ]
2222
# Fix auth
2323
- [ "chmod", "700", "/home/jenkins/.ssh/" ]

plugin/src/test/resources/jenkins/plugins/openstack/compute/JCloudsCloudTest/globalConfigMigrationFromV1/jenkins.plugins.openstack.compute.UserDataConfig.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ runcmd:
2626
- [ "chmod", "777", "/home/jenkins/.ssh/" ]
2727
- [ "chown", "jenkins", "/home/jenkins" ] # Not sure why this is needed - othwrvise owned by root
2828
- [ "mkdir", "/usr/local/java/" ] # Location searched by ssh-slaves plugin, though not controlled by it
29-
- [ "curl", "-L", "-o", "/usr/local/java/java.tar.gz", "https://download.oracle.com/java/17/latest/jdk-17_linux-x64_bin.tar.gz", "-H", "Cookie: oraclelicense=accept-securebackup-cookie" ]
29+
- [ "curl", "-L", "-o", "/usr/local/java/java.tar.gz", "http://download.oracle.com/otn-pub/java/jdk/8u51-b16/jdk-8u51-linux-x64.tar.gz", "-H", "Cookie: oraclelicense=accept-securebackup-cookie" ]
3030
- [ "tar", "xf", "/usr/local/java/java.tar.gz", "-C", "/usr/local/java/", "--strip-components=1" ]
3131
# Fix auth
3232
- [ "chmod", "700", "/home/jenkins/.ssh/" ]

0 commit comments

Comments
 (0)