Vulnerable-Web-Application/Jenkinsfile
shobikaramasubbarayalu 37ef792014 New change
2022-02-18 13:23:22 -05:00

22 lines
518 B
Groovy

pipeline {
agent any
stages{
stage('Checkout Code from GitHub Repository'){
steps{
git 'https://github.com/Shobika/Vulnerable-Web-Application.git'
}
}
stage('SonarQube Analysis') {
environment {
SCANNER_HOME = tool 'sonarscanner6'
}
steps {
withSonarQubeEnv('sonar6') {
sh "${SCANNER_HOME}/bin/sonar-scanner"
}
}
}
}
}