Skip to content

Commit c604484

Browse files
authored
Bump jenkins client to v0.0.13 (#708)
1 parent 1332ed9 commit c604484

File tree

4 files changed

+5
-7
lines changed

4 files changed

+5
-7
lines changed

app/cmd/plugin_formula.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -146,4 +146,4 @@ func removeSnapshotPlugins(plugins []jenkinsFormula.Plugin) (result []jenkinsFor
146146
result = append(result, plugins[i])
147147
}
148148
return
149-
}
149+
}

go.mod

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ require (
1717
github.com/hashicorp/go-version v1.2.1
1818
github.com/hinshun/vt10x v0.0.0-20180616224451-1954e6464174
1919
github.com/jedib0t/go-pretty/v6 v6.2.4
20-
github.com/jenkins-zh/jenkins-client v0.0.10-0.20220706065616-22f8c7675234
20+
github.com/jenkins-zh/jenkins-client v0.0.13
2121
github.com/jenkins-zh/jenkins-formulas v0.0.5
2222
github.com/linuxsuren/cobra-extension v0.0.10
2323
github.com/linuxsuren/go-cli-alias v0.0.6
@@ -42,5 +42,3 @@ require (
4242
gopkg.in/yaml.v2 v2.4.0
4343
moul.io/http2curl v1.0.0
4444
)
45-
46-
replace github.com/jenkins-zh/jenkins-client => github.com/linuxsuren/jenkins-client v0.0.0-20220721022519-ed7879df7251

go.sum

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -500,6 +500,8 @@ github.com/jbenet/go-context v0.0.0-20150711004518-d14ea06fba99/go.mod h1:1lJo3i
500500
github.com/jedib0t/go-pretty/v6 v6.2.4 h1:wdaj2KHD2W+mz8JgJ/Q6L/T5dB7kyqEFI16eLq7GEmk=
501501
github.com/jedib0t/go-pretty/v6 v6.2.4/go.mod h1:+nE9fyyHGil+PuISTCrp7avEdo6bqoMwqZnuiK2r2a0=
502502
github.com/jenkins-zh/jenkins-cli v0.0.32/go.mod h1:uE1mH9PNITrg0sugv6HXuM/CSddg0zxXoYu3w57I3JY=
503+
github.com/jenkins-zh/jenkins-client v0.0.13 h1:MIBq36M9RYaJTVOE9sHmD/NOXzf4el9qZ4RRr/1/Lxw=
504+
github.com/jenkins-zh/jenkins-client v0.0.13/go.mod h1:ICBk7OOoTafVP//f/VfKZ34c0ff8vJwVnOsF9btiMYU=
503505
github.com/jenkins-zh/jenkins-formulas v0.0.5 h1:6d/WoZCSdjTMRry1wHRe2rrf6zQHlfXmaPbp0Bi3I6w=
504506
github.com/jenkins-zh/jenkins-formulas v0.0.5/go.mod h1:zS8fm8u5L6FcjZM0QznXsLV9T2UtSVK+hT6Sm76iUZ4=
505507
github.com/jessevdk/go-flags v1.4.0/go.mod h1:4FA24M0QyGHXBuZZK/XkWh8h0e1EYbRYJSGM75WSRxI=
@@ -558,8 +560,6 @@ github.com/linuxsuren/http-downloader v0.0.10/go.mod h1:4hVRWYnIifme60jM0gCoEzgl
558560
github.com/linuxsuren/http-downloader v0.0.29/go.mod h1:bniEqpLyyydtCTDyjo3nco6LD2F90ruPH87fuqAznQg=
559561
github.com/linuxsuren/http-downloader v0.0.33 h1:ivAVsVS5zEr8F/oPCrdRdtFP+DLWQjGmVA9AVnUu/vo=
560562
github.com/linuxsuren/http-downloader v0.0.33/go.mod h1:qgMo/GRgQlU6EnIQ+Ul6e0rEJiDFM6+Jcz63ZH2Dhw4=
561-
github.com/linuxsuren/jenkins-client v0.0.0-20220721022519-ed7879df7251 h1:m1SVsk2LY6Inlnsb7MEcwY+5/8qUW3o9KHK8KTCrR/k=
562-
github.com/linuxsuren/jenkins-client v0.0.0-20220721022519-ed7879df7251/go.mod h1:ICBk7OOoTafVP//f/VfKZ34c0ff8vJwVnOsF9btiMYU=
563563
github.com/magiconair/properties v1.8.0/go.mod h1:PppfXfuXeibc/6YijjN8zIbojt8czPbwD3XqdrwzmxQ=
564564
github.com/magiconair/properties v1.8.1/go.mod h1:PppfXfuXeibc/6YijjN8zIbojt8czPbwD3XqdrwzmxQ=
565565
github.com/magiconair/properties v1.8.5 h1:b6kJs+EmPFMYGkow9GiUyCyOvIwYetYJ3fSaWak/Gls=

pkg/docker/start_jenkins.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,7 @@ func (o *RunOption) CreateImageAndRunContainer(cmd *cobra.Command, args []string
7070
},
7171
}
7272
exposedPorts := map[nat.Port]struct{}{
73-
jenkinsPort: struct{}{},
73+
jenkinsPort: {},
7474
}
7575
config := &container.Config{
7676
Image: imageName,

0 commit comments

Comments
 (0)