-
- Downloads
Prevent retried builds from being retried again
Previously if a build were retried, we would still allow it to be retried again. While this is convenient for running a build again, it also means that a build can be retried again even if there is another build running. Relates to https://gitlab.com/gitlab-org/gitlab/-/issues/331361 Changelog: changed
Showing
- app/models/ci/build.rb 7 additions, 1 deletionapp/models/ci/build.rb
- config/feature_flags/development/prevent_retry_of_retried_jobs.yml 8 additions, 0 deletions...ature_flags/development/prevent_retry_of_retried_jobs.yml
- spec/models/ci/build_spec.rb 20 additions, 0 deletionsspec/models/ci/build_spec.rb
Please register or sign in to comment