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.
“END POINT URL”的值是多少。我正在使用 Jenkins URL="http://localhost:8080"。您能解释一下所有步骤吗?当我们提交(PUSH)存储库中的代码时,我们如何触发 Jenkins Job。
阅读手册。
您将在管理 Jenkins > 配置系统中找到/配置端点。
在下面更改您的网址是正确的
localhost 替换为 ip 地址http://198.162.1.25
http://198.162.1.25
第二张图片来源:Jesly Varghese
要触发构建,请确保您的工作可以首先成功签出您的项目。然后在 Build Triggers 检查 Poll SCM
在文本框中,将构建触发器设置为在签入后 3 分钟(左右)内触发。这是为了减少 CPU 负载: