Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我看到了本教程,我想知道使用 Make 设置目标以进行构建和测试与使用 sh 脚本或事件单独的 Jenkins 作业进行构建和测试相比有什么优势?我是 CI 和脚本的新手,如果这是一个愚蠢的问题,我很抱歉。
您应该选择最适合您需要的语言。首先从你所知道的开始,如果它是使文件使用它们。如果您的项目已经使用了 make 文件,那么您应该使用它们。
其他项目使用不同的东西,ruby 有 rake。
sh 脚本是如果您已经了解它们并且需要在 jenkins 中运行一些任务。它可以很容易地成为 ruby 或 php 脚本。