![]() |
1
2
是的,可以使用shell脚本从Jenkinsfile调用kubectl,例如:
不过,我的建议是使用shell脚本并将命令放在其中。 例如,请参见: https://wade.be/development/2018/04/30/jenkinsfiles.html 您的shell脚本根本不需要在VM中,只需要Jenkins服务器可以访问它。 把它放在存储jenkins文件的代码库中。 |
![]() |
sschoof · 在docker hub映像更新后触发VSTS生成 7 年前 |
![]() |
MoB · 未找到Docker pull公共图像存储库 7 年前 |
![]() |
Reinis · Docker提交不会对容器联合文件系统进行更改 9 年前 |