【发布时间】:2018-09-07 04:30:57
【问题描述】:
真的不明白如何在 gitlab 中设置每日调度程序。我有一个简单的应用程序,我需要每天早上 8 点自动构建它。 我试过关注https://gitlab.com/help/ci/triggers/README.md, 但我不明白如何运行这个 cron 作业?
30 0 * * * curl --request POST --form token=TOKEN --form ref=master https://gitlab.example.com/api/v3/projects/9/trigger/builds
这也是不能接受的http://cloudlady911.com/index.php/2016/11/02/how-to-schedule-a-job-in-gitlab-8-13/
因为我必须从管道手动运行它。
有什么解决办法吗?
【问题讨论】:
标签: gitlab gitlab-ci gitlab-ci-runner