Run mvnDebug jenkins-dev:run successfully, but no page displayed

238 views
Skip to first unread message

Yan Dai

unread,
Oct 20, 2016, 6:09:12 AM10/20/16
to Jenkins Developers
Hi,

I've run the debugger command as the document said
mvnDebug jenkins-dev:run

And I got 


 

Preparing to Execute Maven in Debug Mode

Listening for transport dt_socket at address: 8000

[INFO] Scanning for projects...

[INFO] ------------------------------------------------------------------------

[INFO] Reactor Build Order:

[INFO]  

[INFO] Jenkins main module

[INFO] Jenkins cli

[INFO] Jenkins core

[INFO] Jenkins war

[INFO] Tests for Jenkins core

[WARNING] The POM for org.eclipse.m2e:lifecycle-mapping:jar:1.0.0 is missing, no dependency information available

[WARNING] Failed to retrieve plugin descriptor for org.eclipse.m2e:lifecycle-mapping:1.0.0: Plugin org.eclipse.m2e:lifecycle-mapping:1.0.0 or one of its dependencies could not be resolved: Failure to find org.eclipse.m2e:lifecycle-mapping:jar:1.0.0 in https://repo.jenkins-ci.org/public/ was cached in the local repository, resolution will not be reattempted until the update interval of repo.jenkins-ci.org has elapsed or updates are forced

[INFO]                                                                          

[INFO] ------------------------------------------------------------------------

[INFO] Building Jenkins main module 2.27-SNAPSHOT

[INFO] ------------------------------------------------------------------------

[WARNING] The POM for org.eclipse.m2e:lifecycle-mapping:jar:1.0.0 is missing, no dependency information available

[WARNING] Failed to retrieve plugin descriptor for org.eclipse.m2e:lifecycle-mapping:1.0.0: Plugin org.eclipse.m2e:lifecycle-mapping:1.0.0 or one of its dependencies could not be resolved: Failure to find org.eclipse.m2e:lifecycle-mapping:jar:1.0.0 in https://repo.jenkins-ci.org/public/ was cached in the local repository, resolution will not be reattempted until the update interval of repo.jenkins-ci.org has elapsed or updates are forced

[INFO]  

[INFO] >>> maven-jenkins-dev-plugin:9.2.15.v20160210-jenkins-1:run (default-cli) > test-compile @ pom >>>

[INFO]  

[INFO] --- maven-enforcer-plugin:1.0.1:enforce (enforce-maven) @ pom ---

[INFO]  

[INFO] --- maven-enforcer-plugin:1.0.1:display-info (display-info) @ pom ---

[INFO] Maven Version: 3.3.9

[INFO] JDK Version: 1.8.0_65 normalized as: 1.8.0-65

[INFO] OS Info: Arch: x86_64 Family: mac Name: mac os x Version: 10.11.6

[INFO]  

[INFO] --- maven-enforcer-plugin:1.0.1:enforce (default) @ pom ---

[INFO] Adding ignore: org.eclipse.jetty.spdy.*

[INFO]  

[INFO] --- maven-enforcer-plugin:1.0.1:enforce (enforce-banned-dependencies) @ pom ---

[INFO]  

[INFO] --- build-helper-maven-plugin:1.7:timestamp-property (timestamp-property) @ pom ---

[INFO] Setting property 'now' to '10/20/2016 10:01 GMT'.

[INFO]  

[INFO] --- build-helper-maven-plugin:1.7:regex-property (version-property) @ pom ---

[INFO] Setting property 'build.version' to '2.27-SNAPSHOT (private-10/20/2016 10:01 GMT-yan)'.

[INFO]  

[INFO] --- build-helper-maven-plugin:1.7:add-source (add-source) @ pom ---

[INFO] Source directory: /Users/yan/Dev/jenkins/target/generated-sources/localizer added.

[INFO]  

[INFO] --- gmaven-plugin:1.5-jenkins-3:generateStubs (default) @ pom ---

[INFO] No sources found for Java stub generation

[INFO]  

[INFO] --- maven-remote-resources-plugin:1.2.1:process (default) @ pom ---

[INFO]  

[INFO] --- gmaven-plugin:1.5-jenkins-3:compile (default) @ pom ---

[INFO] No sources found to compile

[INFO]  

[INFO] --- animal-sniffer-maven-plugin:1.15:check (default) @ pom ---

[INFO] Checking unresolved references to org.codehaus.mojo.signature:java17:1.0

[INFO]  

[INFO] --- gmaven-plugin:1.5-jenkins-3:generateTestStubs (default) @ pom ---

[INFO] No sources found for Java stub generation

[INFO]  

[INFO] --- gmaven-plugin:1.5-jenkins-3:testCompile (default) @ pom ---

[INFO] No sources found to compile

[INFO]  

[INFO] <<< maven-jenkins-dev-plugin:9.2.15.v20160210-jenkins-1:run (default-cli) < test-compile @ pom <<<

[INFO]  

[INFO] --- maven-jenkins-dev-plugin:9.2.15.v20160210-jenkins-1:run (default-cli) @ pom ---

[INFO] Logging initialized @35229ms

[INFO] Configuring Jetty for project: Jenkins main module

[INFO] webAppSourceDirectory not set. Trying src/main/webapp

[INFO] webAppSourceDirectory /Users/yan/Dev/jenkins/src/main/webapp does not exist. Trying /Users/yan/Dev/jenkins/target/webapp-tmp

[INFO] Reload Mechanic: automatic

[INFO] Classes directory /Users/yan/Dev/jenkins/target/classes does not exist

[INFO] Context path = /

[INFO] Tmp directory = /
Users/yan/Dev/jenkins/target/tmp

[INFO] Web defaults = org/eclipse/jetty/webapp/webdefault.xml

[INFO] Web overrides =  none

[INFO] web.xml file = null

[INFO] Webapp directory = /Users/yan/Dev/jenkins/target/webapp-tmp

[INFO] jetty-9.2.15.v20160210

[INFO] Started o.e.j.m.p.JettyWebAppContext@36c07c75{/,file:/Users/yan/Dev/jenkins/target/webapp-tmp/,AVAILABLE}{file:/Users/yan/Dev/jenkins/target/webapp-tmp/}

[WARNING] !RequestLog

[INFO] Started ServerConnector@214b166c{HTTP/1.1}{0.0.0.0:8080}

[INFO] Started @35812ms

[INFO] Started Jetty Server


But when I open localhost:8080 in the browser, I only get a Directory:/. Is there a configuration problem I have?

Jesse Glick

unread,
Oct 20, 2016, 8:29:13 AM10/20/16
to Jenkins Dev
You need to add `-f war`, and the home page will be
http://localhost:8080/jenkins/ after it starts.

Yan Dai

unread,
Oct 21, 2016, 6:10:49 AM10/21/16
to jenkin...@googlegroups.com
This works. Great. So My question is what is mvnDebug jerkins-dev:run running then?
> On 21/10/2016, at 1:28 AM, Jesse Glick <jgl...@cloudbees.com> wrote:
>
> You need to add `-f war`, and the home page will be
> http://localhost:8080/jenkins/ after it starts.
>
> --
> You received this message because you are subscribed to a topic in the Google Groups "Jenkins Developers" group.
> To unsubscribe from this topic, visit https://groups.google.com/d/topic/jenkinsci-dev/BAal1GCjvJE/unsubscribe.
> To unsubscribe from this group and all its topics, send an email to jenkinsci-de...@googlegroups.com.
> To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-dev/CANfRfr2oLep8C1P4W7Aj_0iG3GgCC64vUjvXiqc___HeJoMUYA%40mail.gmail.com.
> For more options, visit https://groups.google.com/d/optout.

Jesse Glick

unread,
Oct 21, 2016, 12:39:44 PM10/21/16
to Jenkins Dev
On Fri, Oct 21, 2016 at 6:10 AM, Yan Dai <alvin...@gmail.com> wrote:
> what is mvnDebug jerkins-dev:run running then?

Just starts Jenkins from development sources on a local home dir.
Reply all
Reply to author
Forward
0 new messages