Forum Discussion
rarrieche
Oct 01, 2024Copper Contributor
[Azure DevOps] Failed to copy files for a specific release pipeline
Good morning everyone,
I have a problem in a specific pipeline, which must copy a file to a remote destination and I get an error:
2024-10-01T11:59:14.7214740Z Found 1 files to copy to the remote machine.
2024-10-01T11:59:14.7215725Z Copying file /Data_Build_Deploy/agente1/_work/r67/a/WSConsultaPoliza.war to /app/apache-tomcat-8.0.21/webapps/WSConsultaPoliza.war on remote machine.
2024-10-01T11:59:14.7312734Z ##[error]Failed to copy /Data_Build_Deploy/agente1/_work/r67/a/WSConsultaPoliza.war. Error: fastPut: Permission denied Local: /Data_Build_Deploy/agente1/_work/r67/a/WSConsultaPoliza.war Remote: /app/apache-tomcat-8.0.21/webapps/WSConsultaPoliza.war
at fmtError (/Data_Build_Deploy/agente1/_work/_tasks/CopyFilesOverSSH_67cec91b-0351-4c2f-8465-d74b3d2a2d96/0.246.1/node_modules/ssh2-sftp-client/src/utils.js:55:18)
at /Data_Build_Deploy/agente1/_work/_tasks/CopyFilesOverSSH_67cec91b-0351-4c2f-8465-d74b3d2a2d96/0.246.1/node_modules/ssh2-sftp-client/src/index.js:669:15
at cbfinal (/Data_Build_Deploy/agente1/_work/_tasks/CopyFilesOverSSH_67cec91b-0351-4c2f-8465-d74b3d2a2d96/0.246.1/node_modules/ssh2/lib/protocol/SFTP.js:2239:11)
at FSReqCallback.oncomplete (node:fs:192:23) {
code: 3,
custom: true
}
2024-10-01T11:59:14.7314728Z Completed copying 1 files to the remote machine.
2024-10-01T11:59:14.7315628Z ##[error]Failed to copy 1 files
This error occurs only with this release pipeline, I tried with other releases that copy to the same destination and this does not occur. I've even created a new Build and Release Pipeline again and I still get the same error.
What could I check to solve this?
Thanks for your help
- rarriecheCopper ContributorIs resolved
Not enough permissions in the remote machine