diff --git a/Jenkinsfile b/Jenkinsfile new file mode 100644 index 0000000..d2dd6ec --- /dev/null +++ b/Jenkinsfile @@ -0,0 +1,29 @@ +pipeline { + agent any + tools { + } + environment { + } + stages { + stage('Initialize') { + steps { + sh 'echo "PATH = ${PATH}"' + } + } + stage('Build') { + steps { + } + } + stage('Testing') { + steps { + } + } + stage('SonarQube Analysis') { + steps { + // properties such as sonar.host.url and sonar.login are configured in the m2 settings.xml for this profile + // sh 'mvn clean verify -Psonar -Dsonar.projectKey=kcl' + } + } + } +} +