Skip to content
Merged
Show file tree
Hide file tree
Changes from 2 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions Jenkinsfile
Original file line number Diff line number Diff line change
Expand Up @@ -87,6 +87,10 @@ pipeline {
steps {
withGithubNotify(context: "Lint") {
stageStatusCache(id: 'Lint'){
// test the ./dev-tools/run_with_go_ver used by the Unified Release process
dir("${BASE_DIR}") {
sh "GO_VERSION=${GO_VERSION} ./dev-tools/run_with_go_ver mage dumpVariables"
}
Comment on lines +91 to +93

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This works

image

withBeatsEnv(archive: false, id: "lint") {
dumpVariables()
whenTrue(env.ONLY_DOCS == 'false') {
Expand Down
2 changes: 1 addition & 1 deletion dev-tools/common.bash
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ setup_go_path() {
export GOPATH="${gopath}"

# Add GOPATH to PATH.
export PATH="${GOPATH}/bin:${PATH}"
export PATH="${GOPATH}/bin:${GOPATH}/go/bin:${PATH}"

debug "GOPATH=${GOPATH}"
}
Expand Down