Skip to content

Commit

Permalink
Bumped golang version in Jenkins
Browse files Browse the repository at this point in the history
  • Loading branch information
abhishekdwivedi3060 committed Sep 3, 2024
1 parent 61448eb commit d685e88
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions Jenkinsfile
Original file line number Diff line number Diff line change
@@ -1,14 +1,12 @@
pipeline {
agent any
tools {
go 'go-1.21'
go 'go-1.22'
}

environment {
GOPATH="/var/lib/jenkins/go"
// Operator sdk command "operator-sdk" should be present in PATH or at
// /usr/local/operator-sdk-1.28.0/
PATH="/usr/local/operator-sdk-1.28.0/:${GOPATH}/bin:/usr/local/bin:${env.PATH}"
PATH="${GOPATH}/bin:/usr/local/bin:${env.PATH}"
GO_REPO_ROOT="${env.GOPATH}/src/github.com"
GO_REPO="${env.GO_REPO_ROOT}/aerospike-kubernetes-operator"
DOCKER_REGISTRY="docker.io"
Expand Down

0 comments on commit d685e88

Please sign in to comment.