Skip to content

Commit

Permalink
[CI] do not update go.mod during linting
Browse files Browse the repository at this point in the history
  • Loading branch information
v1v committed Jul 13, 2020
1 parent 0027486 commit 4ca8fed
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions Jenkinsfile
Original file line number Diff line number Diff line change
Expand Up @@ -85,6 +85,10 @@ pipeline {
}
stage('Lint'){
options { skipDefaultCheckout() }
environment {
// See https://github.com/elastic/beats/pull/19823
GOFLAGS = '-mod=readonly'
}
steps {
makeTarget(context: "Lint", target: "check")
}
Expand Down

0 comments on commit 4ca8fed

Please sign in to comment.