Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
test: enhance SCP plugin with folder ignore and error handling (#192)
- Add `TestIgnoreFolder` function to test ignoring specific folders during SCP - Initialize and terminate `ssh-agent` if `SSH_AUTH_SOCK` is set - Lookup user `drone-scp` and handle potential errors - Configure `Plugin` with specific settings for SCP operation - Execute `plugin.Exec()` and assert no errors - Verify that certain files do not exist in the target directory after SCP operation Signed-off-by: appleboy <appleboy.tw@gmail.com>
- Loading branch information