10
0
openwrt-camera-image/Jenkinsfile

23 lines
442 B
Plaintext
Raw Normal View History

2021-10-27 16:18:18 +00:00
#!/usr/bin/groovy
directory = "openwrt-camera-image"
pipeline {
agent any
stages {
stage("Setup") {
steps {
dir(directory) {
deleteDir()
checkout scm
}
}
}
stage("Build") {
steps {
dir(directory) {
sh "sh script.sh"
}
}
}
}
}