+ 3

Continious Integration ( CI )

I wanto to make sure if I understand CI correctly. Lets say I have a project in gitlab, and 3 more people are working on it. We need to implement a new feature in our app. One of the integrants is in charge of this new feature. He writes the source code and commits. After 2 weeks we finally try to deploy our app and it turns out it is broken. We spend hours figuring out what happened. If we, as a team, had implemented CI, we could have noticed there was a bug when the person in charge of the new feature commited, and therefore would have fixed that error faster. Is my example correct? Is this what CI is useful for?

11th Jun 2018, 7:33 PM
Jhon - avatar
2 Answers
+ 12
Yes, your ci tool can build the whole project, run all implemented tests automatically and even deploy a new version on success. And will notify about build errors and tests that went wrong (unstable).
11th Jun 2018, 7:36 PM
Tashi N
Tashi N - avatar
the deploy part corresponds to the CD?
11th Jun 2018, 9:50 PM
Jhon - avatar