Added automatic uploading

This commit is contained in:
Jens True 2019-03-29 16:37:38 +01:00
parent 2c8afaa923
commit b7e07736fa
2 changed files with 10 additions and 0 deletions

5
Jenkinsfile vendored

@ -32,5 +32,10 @@ pipeline {
} }
} }
} }
stage('Upload') {
steps {
sh 'make otaupload'
}
}
} }
} }

5
Makefile Normal file

@ -0,0 +1,5 @@
build:
pio run
otaupload:
python .piolibdeps\Homie\scripts\ota_updater\ota_updater.py -l mqtt.jcktrue.dk -i 18fe34f2f987 .pioenvs\nodemcu\firmware.bin