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

This commit is contained in:
2020-12-24 22:18:34 -06:00
parent b7241a4385
commit 93fb0f89b2

16
Jenkinsfile vendored
View File

@@ -5,17 +5,9 @@ pipeline {
}
environment {
GO115MODULE = 'on'
GOPATH = "${WORKSPACE}"
CGO_ENABLED = 0
}
stages {
stage('Pre Test') {
steps {
echo 'Installing dependencies'
sh 'go version'
sh 'go get -u golang.org/x/lint/golint'
}
}
stage('Compile') {
steps {
sh 'go build'
@@ -23,14 +15,6 @@ pipeline {
}
stage('Test') {
parallel{
stage('golint') {
steps {
withEnv(["PATH+GO=${GOPATH}/bin"]) {
echo 'Running linting'
sh 'golint .'
}
}
}
stage('go vet') {
steps {
echo 'Running vetting'