gpt4 book ai didi

docker - 在 docker 容器内的 Jenkins 中配置 MSBuild 路径

转载 作者:行者123 更新时间:2023-12-02 18:00:18 25 4
gpt4 key购买 nike

我的 jenkins 容器在 docker 里面。由于 Docker 是基于 linux 的,它不接受任何路径,如“C:\Windows\Microsoft.NET\Framework64\v4.0.30319\MsBuild.exe”。

docker 容器内 jenkins 的 msbuild 路径是什么?

我收到类似“致命:无法在此类操作系统上使用此插件”的错误消息

最佳答案

而是将 windowsservercore docker 镜像与 MSBuild 一起使用。
Docker 还支持 linux 和 windows 平台。
有关 Windows docker 镜像的详细信息,请参阅以下链接。

https://blog.alexellis.io/3-steps-to-msbuild-with-docker/

关于docker - 在 docker 容器内的 Jenkins 中配置 MSBuild 路径,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/47805060/

25 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com