Getting "No such file or directory" even after file exists in the defined location during the deployment stage

Getting below error even after file exists in the defined location during the deployment stage.

ls: cannot access ‘/home/travis/build/acatus/simplified_installer/terraform/scripts/’: No such file or directory

–––––––––––––––
The following details will be sent along to help us help you better, but you may also edit them as you like.

Logs: https://travis-ci.com/github/acatus/simplified_installer/builds/169358294

Config:

https://travis-ci.com/github/acatus/simplified_installer/builds/169358294/config
https://travis-ci.com/github/acatus/simplified_installer/jobs/343001676/config

Technical details:

  • UserAgent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/83.0.4103.61 Safari/537.36
  • Vendor: Google Inc.
  • Platform: Win32
  • App Version: 5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/83.0.4103.61 Safari/537.36
  • Language: en-US

In the logs, you should see

Preparing deploy
Cleaning up git repository with `git stash --all`. If you need build artifacts for deployment, set `deploy.skip_cleanup: true`. See https://docs.travis-ci.com/user/deployment#Uploading-Files-and-skip_cleanup.
Saved working directory and index state WIP on (no branch): e7bd485 RD-517 | test travis job stage

Thanks.

Yes I could see it, but how does this fix my issue?

Preparing deploy

Cleaning up git repository with git stash --all. If you need build artifacts for deployment, set deploy.skip_cleanup: true. See https://docs.travis-ci.com/user/deployment#Uploading-Files-and-skip_cleanup.

Saved working directory and index state WIP on (no branch): e7bd485 RD-517 | test travis job stage

Did you add skip_cleanup: true as described?

Yes, it worked.

Thank you.

1 Like
Imprint