ci integration
This commit is contained in:
parent
ed85d07148
commit
8ca7c5407d
2 changed files with 31 additions and 4 deletions
19
Jenkinsfile
vendored
Normal file
19
Jenkinsfile
vendored
Normal file
|
@ -0,0 +1,19 @@
|
|||
pipeline {
|
||||
agent any
|
||||
|
||||
stages {
|
||||
stage('Build') {
|
||||
steps {
|
||||
sh 'export PLATFORMIO_PATH=/root/.platformio/penv/bin/platformio'
|
||||
sh 'python gen_release.py'
|
||||
}
|
||||
}
|
||||
stage('Publish') {
|
||||
steps {
|
||||
sh 'mkdir -p artifacts'
|
||||
sh 'cp -r release/ artifacts/'
|
||||
archiveArtifacts artifacts: 'artifacts/**/*', fingerprint: true
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue