Added git and removed deployment

This commit is contained in:
Jens True 2019-03-23 16:15:09 +01:00
parent 383a7c8d6d
commit e6fe146437

9
Jenkinsfile vendored

@ -8,7 +8,7 @@ pipeline {
stages {
stage('Requirements') {
steps {
sh 'apt-get -y update && apt-get -y install python-pip cloc && pip install platformio'
sh 'apt-get -y update && apt-get -y install git python-pip cloc && pip install platformio'
}
}
stage('Build') {
@ -32,12 +32,5 @@ pipeline {
}
}
}
stage('Upload') {
steps {
sh 'cd .piolibdeps/Homie/scripts/ota_updater'
sh 'pip install -r requirements.txt'
sh 'ota_updater.py -l mqtt.jcktrue.dk -i "../../../../.pioenvs/nodemcu/firmware.elf"'
}
}
}
}