Skip to content

khouloudRb/GMC_CI

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

59 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

GMC_CI

  • Prerequisite :
    • run the command : sudo docker-compose -f tools.yml up
    • add JDK installations in Jenkins : jdk 11 and jdk 8

1. Docker images :

2. Stage('Unit tests') : using Jest and Enzyme

Two basic unit tests were created in Movies_App/frontend/src/tests

3. Stage('Code quality inspection')

  • a Jenkins freestyle job named Sonarqube must be created using the plugin SonarQube Scanner for Jenkins.
  • Configuration :
    • sonar.host.url=http://localhost:9000
    • sonar.projectKey=React_APP
    • sonar.login=admin
    • sonar.password=admin
    • sonar.sources=/var/lib/jenkins/workspace/Sonarqube

4. Stage('Katalon tests') :

  • a jenkins freestyle job named Katalon2 must be created using the plugin Katalon TestOps Plugin.
  • Configuration :
    • Download Katalon Studio version : 8.0.5
    • Command arguments : -retry=0 -apiKey="*****" -testSuitePath="Test Suites/Simple test suite" -executionProfile="default" -browserType="Chrome (headless)" --config -webui.autoUpdateDrivers=true

About

Continuous integration pipeline

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published