diff --git a/cwtch.node.jenkinsfile b/cwtch.node.jenkinsfile index df228c8..a40f2b0 100644 --- a/cwtch.node.jenkinsfile +++ b/cwtch.node.jenkinsfile @@ -41,8 +41,7 @@ node { sh """cat projectPaths | xargs go vet""" echo 'Linting' - // -set_exit_status to cause errors - sh """cat projectPaths | xargs golint""" + sh """cat projectPaths | xargs golint -set_exit_status""" } } @@ -108,4 +107,4 @@ def notifyBuild(String buildStatus = 'STARTED') { recipientProviders: [[$class: 'DevelopersRecipientProvider'], [$class: 'CulpritsRecipientProvider']], from: 'dan@openprivacy.ca' ) -} \ No newline at end of file +} diff --git a/cwtch.pipeline.jenkinsfile b/cwtch.pipeline.jenkinsfile index 2c4b3b3..ffef3a1 100644 --- a/cwtch.pipeline.jenkinsfile +++ b/cwtch.pipeline.jenkinsfile @@ -57,8 +57,7 @@ pipeline { sh """cat projectPaths | xargs go vet""" echo 'Linting' - // -set_exit_status to cause errors - sh """cat projectPaths | xargs golint""" + sh """cat projectPaths | xargs golint -set_exit_status""" } } }