SergeyPetrovskiyQA / BDD-Task-1

0 stars 0 forks source link

Command exited with code 126 Build failed #1

Open SergeyPetrovskiyQA opened 1 year ago

SergeyPetrovskiyQA commented 1 year ago
  1. Build started
  2. git clone -q --branch=main https://github.com/SergeyPetrovskiyQA/BDD-Task-1.git /home/appveyor/projects/bdd-task-1
  3. git checkout -qf f230a1f3888a8c79e58e2c3ef3675d525a39fe65
  4. Configuring 'stack'
  5. Enabling JDK 11
  6. Running "install" scripts
  7. java -jar ./artifacts/app-ibank-build-for-testers.jar &
  8. Running "build_script" scripts
  9. ./gradlew test --info -Dselenide.headless=true
  10. /opt/appveyor/build-agent/bash-shell.sh: line 51: ./gradlew: Permission denied
  11. Picked up JAVA_TOOL_OPTIONS: -Dfile.encoding=UTF8
  12. Command exited with code 126
  13. Build failed
andrew-pahomov commented 1 year ago

Давать права на запуск скрипта gradlew https://github.com/SergeyPetrovskiyQA/BDD-Task-1/blob/f230a1f3888a8c79e58e2c3ef3675d525a39fe65/.appveyor.yml#L20 после попытки его запуска https://github.com/SergeyPetrovskiyQA/BDD-Task-1/blob/f230a1f3888a8c79e58e2c3ef3675d525a39fe65/.appveyor.yml#L19 нелогично. Поменяйте строки местами.