下面是执行Shell脚本的Jenkins groovy代码:
height
以下是错误:
BUILD_FULL = sh (
script: '''
cat > manifest.yml << EOF_$$
---
applications:
- name: xyz-api
instances: 1
memory: 1G
EOF_$$
''',
returnStatus: true
) == 0
line 9: warning: here-document at line 2 delimited by end-of-file (wanted `EOF_$$')
显示为:
manifest.yml
代替
---
applications:
- name: xyz-api
instances: 1
memory: 1G
EOF_31892
如何跟踪文件结尾?使用Jenkins groovy