10
0
openwrt-camera-image/Jenkinsfile
Madis Mägi 682004b784
All checks were successful
gitea-kspace/openwrt-camera-image/pipeline/head This commit looks good
Add Jenkinsfile and modify script
2021-10-27 20:07:49 +03:00

30 lines
666 B
Groovy

#!/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"
}
}
}
stage("Deliver") {
steps {
dir(directory) {
archiveArtifacts artifacts: "bin/*", allowEmptyArchive: false, fingerprint: false
}
}
}
}
}