Add Jenkinsfile
All checks were successful
gitea-kspace/openwrt-camera-image/pipeline/head This commit looks good
All checks were successful
gitea-kspace/openwrt-camera-image/pipeline/head This commit looks good
This commit is contained in:
parent
27ba0ca434
commit
79e39d8ae0
22
Jenkinsfile
vendored
Normal file
22
Jenkinsfile
vendored
Normal 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"
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
Loading…
Reference in New Issue
Block a user