Please note exec pipelines are disabled on Drone Cloud. This feature is only available when self-hosting
An exec
pipeline executes shell commands directly on the host machine without isolation. This is useful for workloads that need to run on the host, or are poorly suited for execution inside containers.
Example pipeline configuration:
|
|
The kind and type attributes define an exec pipeline.
|
|
The platform section configures the target operating system and architecture, and ensures the pipeline is routed to the appropriate instance:
|
|
The steps section defines a series of shell commands. These commands are executed using the default shell on posix, and powershell on windows. If any command returns a non-zero exit code, the pipeline fails and exits.
|
|