Skip to content
Permalink
Browse files

Merge pull request #1171 from gboucherie/JENKINS-22462

[JENKINS-22462] update cookie name and value
  • Loading branch information
olivergondza committed Apr 3, 2014
2 parents 9313b5f + ef22ba2 commit d67600e7d70e0f6bb1e12054b5b4aba26bd581e0
Showing with 1 addition and 1 deletion.
  1. +1 −1 core/src/main/java/hudson/tools/JDKInstaller.java
@@ -388,7 +388,7 @@ public URL locate(TaskListener log, Platform platform, CPU cpu) throws IOExcepti
int authCount=0, totalPageCount=0; // counters for avoiding infinite loop

HttpMethodBase m = new GetMethod(primary.filepath);
hc.getState().addCookie(new Cookie(".oracle.com","gpw_e24",".", "/", -1, false));
hc.getState().addCookie(new Cookie(".oracle.com","oraclelicense","accept-securebackup-cookie", "/", -1, false));
try {
while (true) {
if (totalPageCount++>16) // looping too much

0 comments on commit d67600e

Please sign in to comment.
You can’t perform that action at this time.