Generating script. ========================== Starting Command Output =========================== /bin/bash --noprofile --norc /home/vsts/work/_temp/62a095aa-de7c-4922-a5a6-4160fd1ff813.sh /home/vsts/work/_temp/62a095aa-de7c-4922-a5a6-4160fd1ff813.sh: line 1: -: command not found display: unable to open X server `' @ error/display.c/DisplayImageCommand/426. ##[error]Bash exited with code '1'. Finishing: Install dependencies
Please try the same Bash script on your local machine to see if it can work. If it also does not work on your local, I'm afraid that the issue is no the script itself. You need to check if there is any syntax error in the script.
If the script can work fine on your local, for us to investigate this issue further, please share us with the details of the Bash script and the completed debug logs of the failed build pipeline run.
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.