Hi
Could you help out. I'm using .war file for Jenkins ver. 2.32.1. I gave input on command line -Dhudson.model.DirectoryBrowserSupport.CSP= "sandbox allow-scripts; default-src 'self'; style-src 'self' 'unsafe-inline';" -jar jenkins.war
But still the HTML reports are not getting published on jenkins . FYI my system properties shows hudson.model.DirectoryBrowserSupport.CSP with the mentioned value
Could you correct me on the command line argument set up which would be helpful .Thanking you on helping me on this.
Please be informed that i tired for java -Dhudson.model.DirectoryBrowserSupport.CSP= -Dhudson.lifecycle=hudson.lifecycle.WindowsServiceLifecycle -jar "jenkins.war" and got the command line outputs . But the property in jenkins for hudson.model.DirectoryBrowserSupport.CSP is set empty
C:\jenkins>java -Dhudson.model.DirectoryBrowserSupport.CSP= -Dhudson.lifecycle=h
udson.lifecycle.WindowsServiceLifecycle -jar "jenkins.war"
Running from: C:\jenkins\jenkins.war
webroot: $user.home/.jenkins
←[33mApr 05, 2017 12:49:59 PM Main deleteWinstoneTempContents
WARNING: Failed to delete the temporary Winstone file C:\Users\SRAJAM~1\AppData\
Local\Temp\winstone\jenkins.war
←[0mApr 05, 2017 12:49:59 PM org.eclipse.jetty.util.log.JavaUtilLog info
INFO: Logging initialized @343ms
Apr 05, 2017 12:49:59 PM winstone.Logger logInternal
INFO: Beginning extraction from war file
←[33mApr 05, 2017 12:49:59 PM org.eclipse.jetty.util.log.JavaUtilLog warn
WARNING: Empty contextPath
←[0mApr 05, 2017 12:49:59 PM org.eclipse.jetty.util.log.JavaUtilLog info
INFO: jetty-9.2.z-SNAPSHOT
Apr 05, 2017 12:49:59 PM org.eclipse.jetty.util.log.JavaUtilLog info
INFO: NO JSP Support for /, did not find org.eclipse.jetty.jsp.JettyJspServlet
Jenkins home directory: C:\Users\srajamanickam\.jenkins found at: $user.home/.je
nkins
Apr 05, 2017 12:50:00 PM org.eclipse.jetty.util.log.JavaUtilLog info
INFO: Started w.@5ab956d7{/,file:/C:/Users/srajamanickam/.jenkins/war/,AVAILABLE
}{C:\Users\srajamanickam\.jenkins\war}
Apr 05, 2017 12:50:00 PM org.eclipse.jetty.util.log.JavaUtilLog info
INFO: Started ServerConnector@74ea2410{HTTP/1.1}{0.0.0.0:8080}
Apr 05, 2017 12:50:00 PM org.eclipse.jetty.util.log.JavaUtilLog info
INFO: Started @1339ms
Apr 05, 2017 12:50:00 PM winstone.Logger logInternal
INFO: Winstone Servlet Engine v2.0 running: controlPort=disabled
Apr 05, 2017 12:50:00 PM jenkins.InitReactorRunner$1 onAttained
INFO: Started initialization
Apr 05, 2017 12:50:00 PM jenkins.InitReactorRunner$1 onAttained
INFO: Listed all plugins
Apr 05, 2017 12:50:00 PM jenkins.bouncycastle.api.SecurityProviderInitializer ad
dSecurityProvider
INFO: Initializing Bouncy Castle security provider.
Apr 05, 2017 12:50:00 PM jenkins.bouncycastle.api.SecurityProviderInitializer ad
dSecurityProvider
INFO: Bouncy Castle security provider initialized.
Apr 05, 2017 12:50:02 PM jenkins.InitReactorRunner$1 onAttained
INFO: Prepared all plugins
Apr 05, 2017 12:50:02 PM jenkins.InitReactorRunner$1 onAttained
INFO: Started all plugins
Apr 05, 2017 12:50:02 PM jenkins.InitReactorRunner$1 onAttained
INFO: Augmented all extensions
Apr 05, 2017 12:50:03 PM jenkins.InitReactorRunner$1 onAttained
INFO: Loaded all jobs
Apr 05, 2017 12:50:03 PM hudson.model.AsyncPeriodicWork$1 run
INFO: Started Download metadata
Apr 05, 2017 12:50:03 PM hudson.model.AsyncPeriodicWork$1 run
INFO: Finished Download metadata. 32 ms
Apr 05, 2017 12:50:03 PM org.jenkinsci.main.modules.sshd.SSHD start
INFO: Started SSHD at port 60316
Apr 05, 2017 12:50:03 PM jenkins.InitReactorRunner$1 onAttained
INFO: Completed initialization
Apr 05, 2017 12:50:03 PM org.springframework.context.support.AbstractApplication
Context prepareRefresh
INFO: Refreshing org.springframework.web.context.support.StaticWebApplicationCon
text@6787c8e1: display name [Root WebApplicationContext]; startup date [Wed Apr
05 12:50:03 IST 2017]; root of context hierarchy
Apr 05, 2017 12:50:03 PM org.springframework.context.support.AbstractApplication
Context obtainFreshBeanFactory
INFO: Bean factory for application context [org.springframework.web.context.supp
ort.StaticWebApplicationContext@6787c8e1]: org.springframework.beans.factory.sup
port.DefaultListableBeanFactory@2e691d3d
Apr 05, 2017 12:50:03 PM org.springframework.beans.factory.support.DefaultListab
leBeanFactory preInstantiateSingletons
INFO: Pre-instantiating singletons in org.springframework.beans.factory.support.
DefaultListableBeanFactory@2e691d3d: defining beans [authenticationManager]; roo
t of factory hierarchy
Apr 05, 2017 12:50:03 PM org.springframework.context.support.AbstractApplication
Context prepareRefresh
INFO: Refreshing org.springframework.web.context.support.StaticWebApplicationCon
text@1bd9b9e: display name [Root WebApplicationContext]; startup date [Wed Apr 0
5 12:50:03 IST 2017]; root of context hierarchy
Apr 05, 2017 12:50:03 PM org.springframework.context.support.AbstractApplication
Context obtainFreshBeanFactory
INFO: Bean factory for application context [org.springframework.web.context.supp
ort.StaticWebApplicationContext@1bd9b9e]: org.springframework.beans.factory.supp
ort.DefaultListableBeanFactory@6be9642b
Apr 05, 2017 12:50:03 PM org.springframework.beans.factory.support.DefaultListab
leBeanFactory preInstantiateSingletons
INFO: Pre-instantiating singletons in org.springframework.beans.factory.support.
DefaultListableBeanFactory@6be9642b: defining beans [filter,legacy]; root of fac
tory hierarchy
Apr 05, 2017 12:50:05 PM hudson.WebAppMain$3 run
INFO: Jenkins is fully up and running
←[33mApr 05, 2017 12:50:27 PM hudson.security.csrf.CrumbFilter doFilter
WARNING: Found invalid crumb 95b0b15f46e645e2e8abfd35000deb8a. Will check remai
ning parameters for a valid one...
←[0m←[33mApr 05, 2017 12:50:27 PM hudson.security.csrf.CrumbFilter doFilter
WARNING: Found invalid crumb 95b0b15f46e645e2e8abfd35000deb8a. Will check remai
ning parameters for a valid one...
←[0m←[33mApr 05, 2017 12:50:27 PM hudson.security.csrf.CrumbFilter doFilter
WARNING: No valid crumb was included in request for /ajaxBuildQueue. Returning 4
03.
←[0m←[33mApr 05, 2017 12:50:27 PM hudson.security.csrf.CrumbFilter doFilter
WARNING: No valid crumb was included in request for /ajaxExecutors. Returning 40
3.
←[0m