BigW Consortium Gitlab

Commit 3b2c5a85 by Lin Jen-Shin

Touch it after builds were created, aligning with:

CreateCommitBuildsService
parent aa757288
......@@ -27,13 +27,13 @@ module Ci
end
pipeline.save!
pipeline.touch
unless pipeline.create_builds(current_user)
pipeline.errors.add(:base, 'No builds for this pipeline.')
end
pipeline.save
pipeline.touch
pipeline
end
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment