Skip to content

Bump Jenkins Go tool to 1.26.8 - #67

Merged
daniel-garcia merged 1 commit into
ibfrom
jenkins-go-1268
Sep 18, 2026
Merged

daniel-garcia merged 1 commit into
ibfrom
jenkins-go-1268

Conversation

@daniel-garcia

Copy link
Copy Markdown
   tools {
-    go "Go 1.25.5"
+    go "Go 1.26.8"
   }

Brings the Jenkins toolchain in line with the Docker builder and the GitHub Actions workflows, both already on 1.26.8. The previous value could not build this module at all — go.mod requires go 1.26.0, so 1.25.5 would be rejected outright.

This changes no pipeline behaviour today

Verified that nothing in the repo uses the provisioned toolchain:

step what it runs
make build docker build only — compilation happens inside golang:1.26.8-alpine3.24
make test commented out (Jenkinsfile:30)
make list-of-images @echo
make clean rm -r ./cli/build

The tools block, along with GOPATH = "$WORKSPACE" and checkoutToSubdirectory, is left over from when this pipeline ran Go directly rather than delegating to a Docker build. So this is a consistency fix that also stops the declaration being actively wrong — it would start mattering the moment someone uncomments make test.

Not verified: prepareBuild() and finalizeBuild() come from @Library('jenkins.shared.library'), which isn't in this repo. If those shell out to go, they'd use the provisioned toolchain — and they'd currently be getting a version that can't build this module.

Required Jenkins-side change

This value is a tool-installation name, not a version string. "Go 1.26.8" must exist in Jenkins' global tool configuration or the pipeline fails at startup with No tool named Go 1.26.8 found. Repo history shows exact-patch names throughout (Go 1.14.4, 1.17, 1.20, 1.22.4, 1.24.2, 1.25.5), so each bump has been paired with a Jenkins config entry. Please confirm that entry exists before relying on this.

No GitHub Actions workflow reads Jenkinsfile, so CI here cannot exercise the change either way.

🤖 Generated with Claude Code

Matches the Docker builder and the CI workflows, both of which are on
1.26.8. The previous value, 1.25.5, could not build this module at all
since go.mod requires go 1.26.0.

This does not change pipeline behaviour today: nothing in the repo uses
the provisioned toolchain. `make build` shells out to `docker build`, so
compilation happens inside golang:1.26.8-alpine3.24; `make test` is
commented out; and `make list-of-images` and `make clean` are an echo and
an rm. The tools block, GOPATH and checkoutToSubdirectory are left over
from when the pipeline ran go directly.

Note the value is a Jenkins tool-installation name, not a version string,
so "Go 1.26.8" has to exist in the Jenkins global tool configuration or
the pipeline fails at startup.
@daniel-garcia
daniel-garcia merged commit edaa4ad into ib Sep 18, 2026
2 checks passed
@daniel-garcia
daniel-garcia deleted the jenkins-go-1268 branch September 18, 2026 02:31
@github-actions

Copy link
Copy Markdown

Coverage Report for CI Build 35299659971

Warning

Build has drifted: This PR's base is out of sync with its target branch, so coverage data may include unrelated changes.
Quick fix: rebase this PR. Learn more →

Coverage remained the same at 52.649%

Details

  • Coverage remained the same as the base build.
  • Patch coverage: No coverable lines changed in this PR.
  • No coverage regressions found.

Uncovered Changes

No uncovered changes found.

Coverage Regressions

No coverage regressions found.


Coverage Stats

Coverage Status
Relevant Lines: 8437
Covered Lines: 4442
Line Coverage: 52.65%
Coverage Strength: 6455.07 hits per line

💛 - Coveralls

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant