Skip to content

Commit

Permalink
Bump jenkins client to v0.0.13 (#708)
Browse files Browse the repository at this point in the history
  • Loading branch information
LinuxSuRen authored Aug 11, 2022
1 parent 1332ed9 commit c604484
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 7 deletions.
2 changes: 1 addition & 1 deletion app/cmd/plugin_formula.go
Original file line number Diff line number Diff line change
Expand Up @@ -146,4 +146,4 @@ func removeSnapshotPlugins(plugins []jenkinsFormula.Plugin) (result []jenkinsFor
result = append(result, plugins[i])
}
return
}
}
4 changes: 1 addition & 3 deletions go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ require (
github.com/hashicorp/go-version v1.2.1
github.com/hinshun/vt10x v0.0.0-20180616224451-1954e6464174
github.com/jedib0t/go-pretty/v6 v6.2.4
github.com/jenkins-zh/jenkins-client v0.0.10-0.20220706065616-22f8c7675234
github.com/jenkins-zh/jenkins-client v0.0.13
github.com/jenkins-zh/jenkins-formulas v0.0.5
github.com/linuxsuren/cobra-extension v0.0.10
github.com/linuxsuren/go-cli-alias v0.0.6
Expand All @@ -42,5 +42,3 @@ require (
gopkg.in/yaml.v2 v2.4.0
moul.io/http2curl v1.0.0
)

replace github.com/jenkins-zh/jenkins-client => github.com/linuxsuren/jenkins-client v0.0.0-20220721022519-ed7879df7251
4 changes: 2 additions & 2 deletions go.sum
Original file line number Diff line number Diff line change
Expand Up @@ -500,6 +500,8 @@ github.com/jbenet/go-context v0.0.0-20150711004518-d14ea06fba99/go.mod h1:1lJo3i
github.com/jedib0t/go-pretty/v6 v6.2.4 h1:wdaj2KHD2W+mz8JgJ/Q6L/T5dB7kyqEFI16eLq7GEmk=
github.com/jedib0t/go-pretty/v6 v6.2.4/go.mod h1:+nE9fyyHGil+PuISTCrp7avEdo6bqoMwqZnuiK2r2a0=
github.com/jenkins-zh/jenkins-cli v0.0.32/go.mod h1:uE1mH9PNITrg0sugv6HXuM/CSddg0zxXoYu3w57I3JY=
github.com/jenkins-zh/jenkins-client v0.0.13 h1:MIBq36M9RYaJTVOE9sHmD/NOXzf4el9qZ4RRr/1/Lxw=
github.com/jenkins-zh/jenkins-client v0.0.13/go.mod h1:ICBk7OOoTafVP//f/VfKZ34c0ff8vJwVnOsF9btiMYU=
github.com/jenkins-zh/jenkins-formulas v0.0.5 h1:6d/WoZCSdjTMRry1wHRe2rrf6zQHlfXmaPbp0Bi3I6w=
github.com/jenkins-zh/jenkins-formulas v0.0.5/go.mod h1:zS8fm8u5L6FcjZM0QznXsLV9T2UtSVK+hT6Sm76iUZ4=
github.com/jessevdk/go-flags v1.4.0/go.mod h1:4FA24M0QyGHXBuZZK/XkWh8h0e1EYbRYJSGM75WSRxI=
Expand Down Expand Up @@ -558,8 +560,6 @@ github.com/linuxsuren/http-downloader v0.0.10/go.mod h1:4hVRWYnIifme60jM0gCoEzgl
github.com/linuxsuren/http-downloader v0.0.29/go.mod h1:bniEqpLyyydtCTDyjo3nco6LD2F90ruPH87fuqAznQg=
github.com/linuxsuren/http-downloader v0.0.33 h1:ivAVsVS5zEr8F/oPCrdRdtFP+DLWQjGmVA9AVnUu/vo=
github.com/linuxsuren/http-downloader v0.0.33/go.mod h1:qgMo/GRgQlU6EnIQ+Ul6e0rEJiDFM6+Jcz63ZH2Dhw4=
github.com/linuxsuren/jenkins-client v0.0.0-20220721022519-ed7879df7251 h1:m1SVsk2LY6Inlnsb7MEcwY+5/8qUW3o9KHK8KTCrR/k=
github.com/linuxsuren/jenkins-client v0.0.0-20220721022519-ed7879df7251/go.mod h1:ICBk7OOoTafVP//f/VfKZ34c0ff8vJwVnOsF9btiMYU=
github.com/magiconair/properties v1.8.0/go.mod h1:PppfXfuXeibc/6YijjN8zIbojt8czPbwD3XqdrwzmxQ=
github.com/magiconair/properties v1.8.1/go.mod h1:PppfXfuXeibc/6YijjN8zIbojt8czPbwD3XqdrwzmxQ=
github.com/magiconair/properties v1.8.5 h1:b6kJs+EmPFMYGkow9GiUyCyOvIwYetYJ3fSaWak/Gls=
Expand Down
2 changes: 1 addition & 1 deletion pkg/docker/start_jenkins.go
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ func (o *RunOption) CreateImageAndRunContainer(cmd *cobra.Command, args []string
},
}
exposedPorts := map[nat.Port]struct{}{
jenkinsPort: struct{}{},
jenkinsPort: {},
}
config := &container.Config{
Image: imageName,
Expand Down

0 comments on commit c604484

Please sign in to comment.