Jenkinsfile hinzugefügt

Initial Jenkinsfile.
This commit is contained in:
Jenkins 2024-03-11 18:50:18 +00:00
parent b7f4bdc26e
commit baf45a3dfc

25
Jenkinsfile vendored Normal file
View File

@ -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"
}
}
}
}
}