try default tooling on ubuntu latest

This commit is contained in:
Michael Shaw 2022-10-14 11:59:05 -04:00
parent 1274f883a6
commit 89cce6ea41

17
Jenkinsfile vendored
View File

@ -16,19 +16,22 @@ pipeline {
stage('Test') {
agent {
docker {
image 'cerc-io/foundation:jenkinscicd'
//image 'cerc-io/go-ethereum:jenkinscicd'
//image 'cerc-io/foundation:jenkinscicd'
image 'ubuntu:latest'
}
}
tools {
go 'go-1.18.6'
}
environment {
GO111MODULE = 'on'
CGO_ENABLED = 1
//GOPATH = "${JENKINS_HOME}/jobs/${JOB_NAME}/builds/${BUILD_ID}"
GOPATH = "${JENKINS_HOME}/jobs/${JOB_NAME}/builds/${BUILD_ID}"
//GOPATH = "/tmp/go"
GOPATH = "${WORKSPACE}"
GOMODCACHE = "${WORKSPACE}/pkg/mod"
GOCACHE = "${WORKSPACE}/.cache/go-build"
GOENV = "${WORKSPACE}/.config/go/env"
//GOPATH = "${WORKSPACE}"
//GOMODCACHE = "${WORKSPACE}/pkg/mod"
//GOCACHE = "${WORKSPACE}/.cache/go-build"
//GOENV = "${WORKSPACE}/.config/go/env"
//GOMODCACHE = "/tmp/go/pkg/mod"
//GOMOD="/dev/null"
//GOFLAGS=""