Skip to content
Permalink
Browse files

[JENKINS-22462] update cookie name and value

  • Loading branch information
Guillaume Boucherie
Guillaume Boucherie committed Apr 2, 2014
1 parent 9313b5f commit ef22ba2e568e820750fa977683fa2c862be35eb4
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 ef22ba2

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