diff --git a/Jenkinsfile b/Jenkinsfile new file mode 100644 index 0000000..d7f529d --- /dev/null +++ b/Jenkinsfile @@ -0,0 +1,25 @@ +// This Jenkinsfile defines a declarative pipeline +pipeline { + // Specifies that this pipeline can run on any available agent + agent any + + // Defines the sequence of stages that will be executed + stages { + // This stage checks out the source code from the SCM (Source Code Management) system + stage('Checkout') { + steps { + // This command checks out the source code from the SCM into the Jenkins workspace + checkout scm + } + } + + // This stage validates the Packer template + stage('Test Exectuion') { + steps { + script { + sh "cat README.md" + } + } + } + } +} \ No newline at end of file