Skip to content

Instantly share code, notes, and snippets.

@martinda
Created July 12, 2020 12:17
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save martinda/7f3f2012156f77c7c90a5e8602b7e840 to your computer and use it in GitHub Desktop.
Save martinda/7f3f2012156f77c7c90a5e8602b7e840 to your computer and use it in GitHub Desktop.
Custom Jenkins distro log
$ git pull upstream master
$ git checkout master
$ mvn clean test package
$ docker-compose up -d --build
$ docker-compose up
Starting cds_front-end ...
Starting cds_front-end ... done
Attaching to custom-distribution-service_app-server_1, cds_front-end
app-server_1 |
app-server_1 | . ____ _ __ _ _
app-server_1 | /\\ / ___'_ __ _ _(_)_ __ __ _ \ \ \ \
app-server_1 | ( ( )\___ | '_ | '_| | '_ \/ _` | \ \ \ \
app-server_1 | \\/ ___)| |_)| | | | | || (_| | ) ) ) )
app-server_1 | ' |____| .__|_| |_|_| |_\__, | / / / /
app-server_1 | =========|_|==============|___/=/_/_/_/
app-server_1 | :: Spring Boot :: (v2.3.0.RELEASE)
app-server_1 |
app-server_1 | 2020-07-12 12:14:11.667 INFO 1 --- [ main] tomJenkinsDistributionServiceApplication : Starting CustomJenkinsDistributionServiceApplication v0.0.1 on 85422c037d7e with PID 1 (/custom-distribution-service.jar started by root in /)
app-server_1 | 2020-07-12 12:14:11.669 INFO 1 --- [ main] tomJenkinsDistributionServiceApplication : No active profile set, falling back to default profiles: default
app-server_1 | 2020-07-12 12:14:12.428 INFO 1 --- [ main] o.s.b.w.embedded.tomcat.TomcatWebServer : Tomcat initialized with port(s): 8080 (http)
app-server_1 | 2020-07-12 12:14:12.437 INFO 1 --- [ main] o.apache.catalina.core.StandardService : Starting service [Tomcat]
app-server_1 | 2020-07-12 12:14:12.437 INFO 1 --- [ main] org.apache.catalina.core.StandardEngine : Starting Servlet engine: [Apache Tomcat/9.0.35]
app-server_1 | 2020-07-12 12:14:12.479 INFO 1 --- [ main] o.a.c.c.C.[Tomcat].[localhost].[/] : Initializing Spring embedded WebApplicationContext
app-server_1 | 2020-07-12 12:14:12.479 INFO 1 --- [ main] o.s.web.context.ContextLoader : Root WebApplicationContext: initialization completed in 773 ms
app-server_1 | 2020-07-12 12:14:12.597 INFO 1 --- [ main] o.s.s.concurrent.ThreadPoolTaskExecutor : Initializing ExecutorService 'applicationTaskExecutor'
app-server_1 | 2020-07-12 12:14:12.707 INFO 1 --- [ main] o.s.b.w.embedded.tomcat.TomcatWebServer : Tomcat started on port(s): 8080 (http) with context path ''
app-server_1 | 2020-07-12 12:14:12.717 INFO 1 --- [ main] tomJenkinsDistributionServiceApplication : Started CustomJenkinsDistributionServiceApplication in 1.342 seconds (JVM running for 1.694)
cds_front-end | npm ERR! code ENOENT
cds_front-end | npm ERR! syscall open
cds_front-end | npm ERR! path /app/package.json
cds_front-end | npm ERR! errno -2
cds_front-end | npm ERR! enoent ENOENT: no such file or directory, open '/app/package.json'
cds_front-end | npm ERR! enoent This is related to npm not being able to find a file.
cds_front-end | npm ERR! enoent
cds_front-end |
cds_front-end | npm ERR! A complete log of this run can be found in:
cds_front-end | npm ERR! /root/.npm/_logs/2020-07-12T12_14_18_623Z-debug.log
cds_front-end exited with code 254
app-server_1 | 2020-07-12 12:14:51.167 INFO 1 --- [nio-8080-exec-1] o.a.c.c.C.[Tomcat].[localhost].[/] : Initializing Spring DispatcherServlet 'dispatcherServlet'
app-server_1 | 2020-07-12 12:14:51.167 INFO 1 --- [nio-8080-exec-1] o.s.web.servlet.DispatcherServlet : Initializing Servlet 'dispatcherServlet'
app-server_1 | 2020-07-12 12:14:51.170 INFO 1 --- [nio-8080-exec-1] o.s.web.servlet.DispatcherServlet : Completed initialization in 3 ms
Then visit localhost:8080 results in:
Whitelabel Error Page
This application has no explicit mapping for /error, so you are seeing this as a fallback.
Sun Jul 12 12:15:29 GMT 2020
There was an unexpected error (type=Not Found, status=404).
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment