jenkins + sonarqube
parent
627235c305
commit
1ba77f9b81
@ -0,0 +1,27 @@
|
||||
# Jenkins & Sonarqube
|
||||
|
||||
```shell
|
||||
$ docker-compose up
|
||||
|
||||
# Jenkins initial password from logs
|
||||
|
||||
# jenkins_1 | *************************************************************
|
||||
# jenkins_1 | *************************************************************
|
||||
# jenkins_1 | *************************************************************
|
||||
# jenkins_1 |
|
||||
# jenkins_1 | Jenkins initial setup is required. An admin user has been created and a password generated.
|
||||
# jenkins_1 | Please use the following password to proceed to installation:
|
||||
# jenkins_1 |
|
||||
# jenkins_1 | afd7922699d4468fbc4ec453d05d57fb
|
||||
# jenkins_1 |
|
||||
# jenkins_1 | This may also be found at: /var/jenkins_home/secrets/initialAdminPassword
|
||||
# jenkins_1 |
|
||||
# jenkins_1 | *************************************************************
|
||||
# jenkins_1 | *************************************************************
|
||||
# jenkins_1 | *************************************************************
|
||||
|
||||
# Sonarqube initial password: admin / admin
|
||||
```
|
||||
|
||||
- [Jenkins](http://localhost:8080)
|
||||
- [Sonarqube](http://localhost:9000)
|
||||
@ -0,0 +1,18 @@
|
||||
version: "3"
|
||||
services:
|
||||
sonarqube:
|
||||
image: sonarqube:lts
|
||||
ports:
|
||||
- 9000:9000
|
||||
networks:
|
||||
- cicd
|
||||
environment:
|
||||
- SONAR_FORCEAUTHENTICATION=false
|
||||
jenkins:
|
||||
image: jenkins/jenkins:latest
|
||||
ports:
|
||||
- 8080:8080
|
||||
networks:
|
||||
- cicd
|
||||
networks:
|
||||
cicd:
|
||||
Loading…
Reference in New Issue