ECOM 1F0 2018-19 BTB GitLab CI/CD

From air
Revision as of 16:19, 23 October 2018 by Leo.Valette (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Initialisation

Exécuter la commande suivante à la racine de votre projet Jhipster :

jhipster ci-cd

Répondre aux questions de la manière suivante :

What CI/CD pipeline do you want to generate? (Use arrow keys)

 Jenkins pipeline 
 Azure Pipelines 
 GitLab CI 
 Travis CI 

Select Gitlab CI

In GitLab CI, perform the build in a docker container (hint: GitLab.com uses Docker container) ? (y/N)

y

What tasks/integrations do you want to include ? (Press <space> to select, <a> to toggle all, to invert selection)

◯ Deploy your application to an *Artifactory*
◯ Analyze your code with *Sonar* (requires SONAR_TOKEN set on CI service)
◯ Deploy to *Heroku* (requires HEROKU_API_KEY set on CI service)

select *Sonar*

*Sonar*: what is the URL of the Sonar server ? (https://sonarcloud.io)

Appuyez sur entrée

*Sonar*: what is the Organization of the Sonar server ? ()

Appuyez sur entrée