diff --git a/jenkinsfile b/jenkinsfile index 9b8c585..a9565ca 100644 --- a/jenkinsfile +++ b/jenkinsfile @@ -1,6 +1,8 @@ pipeline { agent { label 'linux' } - tool name: 'Latest', type: 'go' + tools { + go 'Latest' + } options { buildDiscarder(logRotator(numToKeepStr: '10', artifactNumToKeepStr: '10')) }