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

Triggering builds remotely

In the previous chapters, we have looked at the various build triggers that are available to us. We even added the GitLab trigger with the GitLab plugin. There is one trigger we have not tried yet, which is the remote trigger. So, create a new project; I am simply naming it Remote Test, and check the Trigger builds remotely (for example, from scripts) trigger. You are now presented with an authentication token. This is your secret token that allows anyone who has it to remotely trigger the build. So, you best pick something that is not easy to guess (something like 47d6753c6f307c13edf010a2730f03a6). However, for our test, we are going to pick something that is a bit more readable and easy to type, so just put

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