Added git and removed deployment
This commit is contained in:
9
Jenkinsfile
vendored
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"'
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user