GitLab CI-生成未运行配置的作业

GitLab CI-生成未运行配置的作业,git,continuous-integration,gitlab,gitlab-ci,gitlab-ci-runner,Git,Continuous Integration,Gitlab,Gitlab Ci,Gitlab Ci Runner,我使用的是GitLab CI,它与GitLab集成,并且是推荐的用于运行程序的辅助服务器。一切似乎都配置正确。它检测我的提交并运行构建步骤,我可以看到输出 至少对于以下默认作业: git submodule update --init ls -la 我尝试通过两个步骤添加第二个作业: npm install gulp ci 我正在使用git clone,所以每次都要运行安装 我运行了构建,但是,它只是重复了第一项工作。然后我删除了第二份工作,并将所有步骤放在一起: npm install g

我使用的是GitLab CI,它与GitLab集成,并且是推荐的用于运行程序的辅助服务器。一切似乎都配置正确。它检测我的提交并运行构建步骤,我可以看到输出

至少对于以下默认作业:

git submodule update --init
ls -la
我尝试通过两个步骤添加第二个作业:

npm install
gulp ci
我正在使用git clone,所以每次都要运行安装

我运行了构建,但是,它只是重复了第一项工作。然后我删除了第二份工作,并将所有步骤放在一起:

npm install
gulp ci
git submodule update --init
ls -la
但是,生成的输出仍然与默认作业时完全相同。大概是这样的:

cd /home/gitlab_ci_runner/gitlab-ci-runner/tmp/builds && git clone https://gitlab-ci-token:<my-git-project-in-gitlab> project-3 && cd project-3 && git checkout aded9a5a66d754ef41504669e09fbd7393490a24
Cloning into 'project-3'...
Note: checking out 'aded9a5a66d754ef41504669e09fbd7393490a24'.

You are in 'detached HEAD' state. You can look around, make experimental
changes and commit them, and you can discard any commits you make in this
state without impacting any branches by performing another checkout.

If you want to create a new branch to retain commits you create, you may
do so (now or later) by using -b with the checkout command again. Example:

  git checkout -b new_branch_name

HEAD is now at aded9a5... Merge branch 'master' of <my-repo>
cd /home/gitlab_ci_runner/gitlab-ci-runner/tmp/builds/project-3 && git reset --hard && git checkout aded9a5a66d754ef41504669e09fbd7393490a24
HEAD is now at aded9a5 Merge branch 'master' of <my-repo>
HEAD is now at aded9a5... Merge branch 'master' of <my-repo>
git submodule update --init
ls -la
<ls file list>
有什么想法吗?除了保存对设置的更改(我在更改构建脚本以使其生效时所做的更改)之外,是否还需要清除一些缓存或单击一些按钮


谢谢。

这似乎是一点用户错误,一点糟糕的用户界面

我试图通过进入一个构建并按Retry来测试我的新构建设置。显然,这将重新运行与以前相同的构建步骤。它不使用当前的项目构建步骤

当我对项目本身做出新的承诺时,它被新的构建步骤所使用

就我所见,没有一个按钮可以用当前的构建步骤运行新的构建。似乎唯一的方法是将新提交推送到代码库本身=


看起来唯一的方法是通过GitLab从服务>GitLab CI点击测试设置。。。但是,现在的运行显然存在一个bug:

目前从7.8.1开始,唯一的方法是进行提交

这并没有提供问题的答案。若要评论或要求作者澄清,请在其帖子下方留下评论-您可以随时在自己的帖子上发表评论,一旦您有足够的评论,您就可以发表评论了。我刚刚升级到gitlab和gitlabci的7.10.2,这为我修复了一些未运行构建的问题,这些是:-测试设置链接现在触发构建。-未触发除master之外的分支中的版本尚未修复我在合并请求页面上遇到的问题,该页面显示尝试连接到ci服务器时出错。我建议尝试最新版本,因为在过去2个月内发生了很大变化