pipeline { agent any // Specifies that the pipeline can run on any available agent stages { stage('Hello') { // Defines a stage named 'Hello' steps { echo 'Hello World!' // Prints "Hello World!" to the console } } } }