File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 11module jenkinsci.org/plugins/durabletask/bash
22
3- go 1.24
3+ go 1.24.0
44
55replace jenkinsci.org/plugins/durabletask/common => ../../pkg/common
66
77require (
8- golang.org/x/sys v0.7 .0
8+ golang.org/x/sys v0.38 .0
99 jenkinsci.org/plugins/durabletask/common v0.0.0-00010101000000-000000000000
1010)
Original file line number Diff line number Diff line change 1- golang.org/x/sys v0.7 .0 h1:3jlCCIQZPdOYu1h8BkNvLz8Kgwtae2cagcG/VamtZRU =
2- golang.org/x/sys v0.7 .0 /go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg =
1+ golang.org/x/sys v0.38 .0 h1:3yZWxaJjBmCWXqhN1qh02AkOnCQ1poK6oF+a7xWL6Gc =
2+ golang.org/x/sys v0.38 .0 /go.mod h1:OgkHotnGiDImocRcuBABYBEXf8A9a87e/uXjp9XT3ks =
Original file line number Diff line number Diff line change 11module jenkinsci.org/plugins/durabletask/windows
22
3- go 1.24
3+ go 1.24.0
44
55replace jenkinsci.org/plugins/durabletask/common => ../../pkg/common
66
77require (
8- golang.org/x/sys v0.7 .0
8+ golang.org/x/sys v0.38 .0
99 jenkinsci.org/plugins/durabletask/common v0.0.0-00010101000000-000000000000
1010)
Original file line number Diff line number Diff line change 1- golang.org/x/sys v0.7 .0 h1:3jlCCIQZPdOYu1h8BkNvLz8Kgwtae2cagcG/VamtZRU =
2- golang.org/x/sys v0.7 .0 /go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg =
1+ golang.org/x/sys v0.38 .0 h1:3yZWxaJjBmCWXqhN1qh02AkOnCQ1poK6oF+a7xWL6Gc =
2+ golang.org/x/sys v0.38 .0 /go.mod h1:OgkHotnGiDImocRcuBABYBEXf8A9a87e/uXjp9XT3ks =
Original file line number Diff line number Diff line change @@ -13,7 +13,8 @@ WORKDIR $BASE_DIR/cmd/bash
1313# see golang.org/issue/31481
1414# RUN go mod tidy
1515RUN go get -modcacherw jenkinsci.org/plugins/durabletask/common
16- RUN go get -modcacherw golang.org/x/sys@v0.7.0
16+ # TODO find some way to inject specific version of x/sys based on go.mod definitions
17+ RUN go get -modcacherw golang.org/x/sys@v0.38.0
1718# can't test bash on windows
1819RUN set CGO_ENABLED=0&& set GOOS=darwin&& set GOARCH=amd64&& go build -a -ldflags="-s -w" -trimpath -o %NAME%_darwin_amd64
1920RUN set CGO_ENABLED=0&& set GOOS=darwin&& set GOARCH=arm64&& go build -a -ldflags="-s -w" -trimpath -o %NAME%_darwin_arm64
@@ -24,7 +25,7 @@ RUN set CGO_ENABLED=0&& set GOOS=linux&& set GOARCH=arm64&& go build -a -ldflags
2425WORKDIR $BASE_DIR/cmd/windows
2526# RUN go mod tidy
2627RUN go get -modcacherw jenkinsci.org/plugins/durabletask/common
27- RUN go get -modcacherw golang.org/x/sys@v0.7 .0
28+ RUN go get -modcacherw golang.org/x/sys@v0.38 .0
2829RUN go test -v
2930RUN set CGO_ENABLED=0& set GOOS=windows& set GOARCH=amd64& go build -a -ldflags="-s -w" -trimpath -o %NAME%_win_64.exe
3031RUN set CGO_ENABLED=0& set GOOS=windows& set GOARCH=386& go build -a -ldflags="-s -w" -trimpath -o %NAME%_win_32.exe
You can’t perform that action at this time.
0 commit comments