Skip to content
This repository has been archived by the owner on Sep 8, 2022. It is now read-only.

Commit

Permalink
JENKINS-34287 - CLI over HTTP no longer functions without environment
Browse files Browse the repository at this point in the history
property hudson.diyChunking=false
  • Loading branch information
kzantow committed Apr 18, 2016
1 parent f44c32e commit bea2f0a
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions src/main/java/Main.java
Expand Up @@ -170,11 +170,6 @@ private static void _main(String[] args) throws Exception {
// this is so that JFreeChart can work nicely even if we are launched as a daemon
System.setProperty("java.awt.headless","true");

// tell Jenkins that Winstone doesn't support chunked encoding.
// this is no longer neede for Winstone 2.x
if(System.getProperty("hudson.diyChunking")==null)
System.setProperty("hudson.diyChunking","true");

File me = whoAmI(extractedFilesFolder);
System.out.println("Running from: " + me);
System.setProperty("executable-war",me.getAbsolutePath()); // remember the location so that we can access it from within webapp
Expand Down

0 comments on commit bea2f0a

Please sign in to comment.