Configuring pipeline options
This recipe will show you the general structure of the bitbucket-pipelines.yml
file and the options for general configuration. We created the file that describes the pipeline to execute (bitbucket-pipelines.yml
) in Chapter 5. Let’s look at the configuration found in bitbucket-pipelines.yml
now.
A sample of the possible configurations and the general structure of the bitbucket-pipelines.yml
file is detailed in the following code snippet:
options: Global options are here (not required – this section may be absent) clone: Configurations for Git clone behavior go here definitions: Cache and service container definitions here image: Docker image options are here (Chapter 9) pipeline: Pipeline start options are here parallel: Parallel step options go here stage: ...