newlines
continuous-integration/drone/push Build was killed Details

This commit is contained in:
starcalc 2022-08-30 19:20:27 +02:00
parent e3debfa3fa
commit b7e59a10f4
1 changed files with 3 additions and 3 deletions

View File

@ -11,12 +11,12 @@ steps:
- rm -f lastknownhostips
- cat hosts
- for h in $(cat hosts); do echo $h; echo $h; done
- for h in $(cat hosts); do mosquitto_sub -h raum.ctdo.de -t "homie/$h/\$localip" -C 1 | tr -d '\n'; done >lastknownips
- for h in $(cat hosts); do echo -n "$h," >>lastknownhostips; mosquitto_sub -h raum.ctdo.de -t "homie/$h/\$localip" -C 1 | tr -d '\n' >>lastknownhostips; done
- for h in $(cat hosts); do mosquitto_sub -h raum.ctdo.de -t "homie/$h/\$localip" -C 1; done >lastknownips
- for h in $(cat hosts); do echo -n "$h," >>lastknownhostips; mosquitto_sub -h raum.ctdo.de -t "homie/$h/\$localip" -C 1 >>lastknownhostips; done
# - mosquitto_sub -h raum.ctdo.de -t "homie/${HOST}/\$localip" -C 1 | tr -d '\n'
# - mosquitto_sub -h raum.ctdo.de -t "homie/${HOST}/\$localip" -C 1 | tr -d '\n' >lastknownip
- cat lastknownips
- cat lastknownhostips
- cat lastknownips
- name: build image
image: suculent/platformio-docker-build
commands: