【发布时间】:2021-01-21 12:57:02
【问题描述】:
当我在 gitlab-ci.yml 中运行以下 gcloud 命令时出现以下错误
/bin/bash: line 152: warning: here-document at line 152 delimited by end-of-file (wanted `EOF') /bin/bash: line 152: EOF: command not found
- gcloud compute ssh --zone asia-southeast1-b instance-1 --command="bash -s" <<-EOF
fuser -k 8080/tcp
nohup java -jar /home/XXX/XXX-1.0-SNAPSHOT.jar > /dev/null 2>&1 &
EOF```
【问题讨论】:
标签: bash docker gitlab-ci gcloud