add: initial Jenkinsfile
This commit is contained in:
parent
c001c5f0b8
commit
eff59303bf
1 changed files with 23 additions and 0 deletions
23
Jenkinsfile
vendored
Normal file
23
Jenkinsfile
vendored
Normal file
|
@ -0,0 +1,23 @@
|
|||
pipeline {
|
||||
agent any
|
||||
stages {
|
||||
stage('Pull Alpine Image') {
|
||||
steps {
|
||||
script {
|
||||
// Pull the Alpine Docker image
|
||||
|
||||
dockerImage = docker.image('alpine:latest')
|
||||
|
||||
dockerImage.pull()
|
||||
}
|
||||
}
|
||||
}
|
||||
stage('Deploy') {
|
||||
steps {
|
||||
script {
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
}
|
Loading…
Add table
Reference in a new issue