Skip to Main Content
The DevOps 2.2 Toolkit
book

The DevOps 2.2 Toolkit

by Viktor Farcic
March 2018
Intermediate to advanced content levelIntermediate to advanced
360 pages
7h 52m
English
Packt Publishing
Content preview from The DevOps 2.2 Toolkit

Creating a scaling pipeline

Now comes the exciting part. We're about to start writing a Pipeline job that will serve as the base for the first self-adaptation script.

open "http://$(docker-machine ip swarm-1)/jenkins/newJob"

Once inside the New Job screen, please type service-scale as the item name. Select Pipeline as job type and click the OK button.

Since Jenkins service we created comes with enabled authorization, we need an authentication mechanism for triggering builds. We could use the administrative username and password. A better option is to make a trigger that will be independent of any particular user. That can be accomplished with tokens.

Please select the Trigger builds remotely checkbox from the Build Trigger section of the ...

Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Start your free trial

You might also like

The DevOps 2.4 Toolkit

The DevOps 2.4 Toolkit

Viktor Farcic

Publisher Resources

ISBN: 9781788991278Supplemental Content