2 Commits

Author SHA1 Message Date
b0f6691a7d Removed Jenkinsfile
Some checks failed
continuous-integration/drone/push Build is failing
2019-07-11 08:35:36 +02:00
jct
d510cdd50e Formatting
All checks were successful
continuous-integration/drone/push Build is passing
2019-03-29 22:39:25 +00:00
2 changed files with 4 additions and 44 deletions

41
Jenkinsfile vendored
View File

@ -1,41 +0,0 @@
pipeline {
agent {
docker {
image 'debian:stretch-slim'
}
}
stages {
stage('Requirements') {
steps {
sh 'apt-get -y update && apt-get -y install git python-pip cloc && pip install platformio'
}
}
stage('Build') {
steps {
sh 'pio run'
}
post {
always {
archiveArtifacts '.pioenvs/nodemcu/firmware.bin, .pioenvs/nodemcu/firmware.elf'
}
}
}
stage('Coverage') {
steps {
sh 'cloc --by-file --xml --out=.test/cloc.xml src include'
}
post {
always {
recordIssues(tools: [taskScanner(ignoreCase: true, includePattern: 'src/*.*', normalTags: 'TODO')])
sloccountPublish encoding: '', pattern: '.test/cloc.xml'
}
}
}
stage('Upload') {
steps {
sh 'make otaupload'
}
}
}
}

View File

@ -1,4 +1,5 @@
[![Build Status](https://build.jcktrue.dk/api/badges/jct/deskcontrol/status.svg)](https://build.jcktrue.dk/jct/deskcontrol)
# README #
edit data/homie/config.json
platformio run -t upload
platformio run -t uploadfs
* edit data/homie/config.json
* platformio run -t upload
* platformio run -t uploadfs