Jenkinsfile hinzugefügt
Initial Jenkinsfile.
This commit is contained in:
parent
b7f4bdc26e
commit
baf45a3dfc
25
Jenkinsfile
vendored
Normal file
25
Jenkinsfile
vendored
Normal 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"
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
Loading…
Reference in New Issue
Block a user