Conventions used
There are a number of text conventions used throughout this book.
Code in text
: Indicates code words in text, database table names, folder names, filenames, file extensions, pathnames, dummy URLs, user input, and Twitter handles. Here is an example: "We can create a new pipeline called calculator
and, as pipeline script, put the code in a stage called Checkout
."
A block of code is set as follows:
pipeline { agent any stages { stage("Checkout") { steps { git url: 'https://github.com/leszko/calculator.git', branch: 'main' } } } }
Any command-line input or output is written as follows:
$ sudo apt-get update
Bold: Indicates a new term, an important word, or words that you see onscreen. For example, words in menus or dialog boxes appear in the text like this. Here is an example: "Select Gradle Project instead of Maven Project (you can choose Maven if you prefer it to Gradle)."
Tips or Important Notes
Appear like this.