fixing jenkinsfile
Some checks failed
gitea-deepak/gogmagog/pipeline/head There was a failure building this commit

This commit is contained in:
2020-12-24 22:06:19 -06:00
parent 56f747640f
commit a4094ba801

20
Jenkinsfile vendored
View File

@@ -20,21 +20,29 @@ pipeline {
}
}
stage('Test') {
parallel{
stage('golint') {
steps {
echo 'Running linting'
sh 'golint .'
}
}
stage('go vet') {
steps {
echo 'Running vetting'
sh 'go vet .'
echo 'Running linting'
sh 'golint .'
}
}
stage('test') {
steps {
echo 'Running test'
sh 'go test -v ./...'
}
}
stage('Code Analysis') {
steps {
}
}
}
}
}
post {
always {
emailext body: "${currentBuild.currentResult}: Job ${env.JOB_NAME} build ${env.BUILD_NUMBER}\n More info at: ${env.BUILD_URL}",