Do not use colons, even in double quoted strings..
continuous-integration/drone/push Build was killed Details

This commit is contained in:
starcalc 2022-08-30 18:05:04 +02:00
parent 8ad938641f
commit 9a4730e2d1
1 changed files with 1 additions and 1 deletions

View File

@ -7,7 +7,7 @@ steps:
- name: fetch ip - name: fetch ip
image: cburki/mosquitto-clients image: cburki/mosquitto-clients
commands: commands:
- echo "Hostname is: ---${HOSTNAME}--- $HOSTNAME ... \$HOSTNAME ... \${HOSTNAME} +++ $\{HOSTNAME\}" - echo "Hostname is ---${HOSTNAME}--- $HOSTNAME ... \$HOSTNAME ... \${HOSTNAME} +++ $\{HOSTNAME\}"
- mosquitto_sub -h raum.ctdo.de -t "homie/${HOSTNAME}/\$localip" -C 1 | tr -d '\n' - mosquitto_sub -h raum.ctdo.de -t "homie/${HOSTNAME}/\$localip" -C 1 | tr -d '\n'
- mosquitto_sub -h raum.ctdo.de -t "homie/${HOSTNAME}/\$localip" -C 1 | tr -d '\n' >lastknownip - mosquitto_sub -h raum.ctdo.de -t "homie/${HOSTNAME}/\$localip" -C 1 | tr -d '\n' >lastknownip
- cat "lastknownip" - cat "lastknownip"