如何使用“docker with pipeline”在詹金斯?

发布于 2025-01-16 18:56:16 字数 453 浏览 3 评论 0原文

在 Jenkins 中,我想 将 docker 与管道结合使用。 该文档说:

从 Pipeline 2.5 及更高版本开始,Pipeline 内置了 支持与 Docker 交互

我们的 Jenkins 目前使用的是 2.305 (2021-08-03) 版本。目前 jenkins 的最新版本是 2.340 (2022-03-22)

如何找到我们系统中使用的“Pipeline”版本?

我发现很多已安装的名为“Pipeline: ...”的插件具有不同的版本。为了使 docker 功能可用,哪一个应该是 2.5?

In Jenkins I would like to use docker with pipeline.
That documentation says:

Starting with Pipeline versions 2.5 and higher, Pipeline has built-in
support for interacting with Docker

Our Jenkins is using version 2.305 (2021-08-03) right now. The latest version of jenkins currently is 2.340 (2022-03-22).

How can I find the version of "Pipeline" used at our system?

I found quite a few installed plugins called "Pipeline: ..." with various versions. Which one should be 2.5 in order to make the docker feature available?

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

拥抱我好吗 2025-01-23 18:56:16

哦,我找到了:

https://plugins.jenkins.io/workflow-aggregator/

https://github.com/jenkinsci/workflow-aggregator-plugin/blob/master/CHANGELOG.md

该插件根本就没有安装。 (只有许多依赖项是独立安装的。)

Oh, I found it:

https://plugins.jenkins.io/workflow-aggregator/

https://github.com/jenkinsci/workflow-aggregator-plugin/blob/master/CHANGELOG.md

The Plugin was simply not installed at all. (Only many of it's dependencies where installed independently.)

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文