O'Reilly logo

Continuous Integration, Delivery, and Deployment by Sander Rossel

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

On commit

Getting a Jenkins build to start on commit is a little tricky, but well worth it. Unlike a poll, this option can build any commit instantly so you get direct feedback on every single commit. We need the GitLab plugin, so install it and, this time, restart after success (check Restart Jenkins when installation is complete and no jobs are running). After you have installed the plugin and Jenkins has restarted, head over to GitLab. In GitLab, go to the profile settings of your account. Now, go to Access Tokens. Create an access token by entering a name and select the API scope. Make sure you copy the token, as this will be the only time you get to see it. If you lose it, it is really gone. Don't worry, you can create as many access ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required