Difference between revisions of "ECOM 1F0 2018-19 BTB GitLab CI/CD"

From air
Jump to navigation Jump to search
(Created page with "= 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 pip...")
 
Line 19: Line 19:
 
'''
 
'''
 
''select *Sonar*''
 
''select *Sonar*''
  +
 
'''*Sonar*: what is the URL of the Sonar server ? (https://sonarcloud.io) '''
 
'''*Sonar*: what is the URL of the Sonar server ? (https://sonarcloud.io) '''
 
''Appuyez sur entrée''
 
''Appuyez sur entrée''

Revision as of 16:18, 23 October 2018

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