Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

  1. Download Jenkins and JRE 6, 7/JDK 1.6, 1.7.
  2. Install JRE 6, 7/JDK 1.6, 1.7.
  3. Open the Command Prompt window and browse to the bin folder where JRE 6, 7/JDK 1.6, 1.7 exists.
  4. Execute command java -jar “<Jenkins installation location>\jenkins.war” httpport=<port number>Dhudson.model.DirectoryBrowserSupport.CSP="default-src 'self';img-src 'self'; style-src 'self' 'unsafe-inline'; child-src 'self'; frame-src 'self'; script-src 'self' 'unsafe-inline'; frame-ancestors 'self';" -jar jenkins.war.

    The default port is 8080.

    Info

    If Jenkins version is greater than 1.651 then execute the following command:

    java -Dhudson.model.DirectoryBrowserSupport.CSP= -jar “<Jenkins installation location>\jenkins.war”.

    The reason for the change is Jenkins 1.625.3 introduced the Content-Security-Policy that disables DirectoryBrowserSupport due to which Qualitia HTML report cannot get published.

    Please note that Jenkins needs to be started using above command only. If you use Jenkins as service, you won’t be able to see the browser during test case execution.


    Post successful execution of the command, a message is displayed confirming Jenkins installations in the Command Prompt window.

  5. Open URL:http://localhost:8080.
    This launches Jenkins’ home page.

...