10
0
Fork 0

Add Jenkinsfile
gitea-kspace/openwrt-camera-image/pipeline/head This commit looks good Details

This commit is contained in:
Madis Mägi 2021-10-27 19:18:18 +03:00
parent 27ba0ca434
commit 79e39d8ae0
1 changed files with 22 additions and 0 deletions

22
Jenkinsfile vendored Normal file
View File

@ -0,0 +1,22 @@
#!/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"
}
}
}
}
}