jenkinsci / publish-over-ftp-plugin

https://plugins.jenkins.io/publish-over-ftp/
21 stars 33 forks source link

[JENKINS-13653] chmod after publish over ftp #38

Open jira-importer opened 12 years ago

jira-importer commented 12 years ago

after publishing php files over ftp, we need them to be chmod to 755

i use clean install, and it resets the permissions, that need to be changed manually

can you please provide a checkbox to recursively chmod the dir uploaded with permissions specified?


Originally reported by mrkk, imported from: chmod after publish over ftp
  • status: Open
  • priority: Major
  • resolution: Unresolved
  • imported: 2022/01/10
jira-importer commented 12 years ago

jop:

I made a workaround by calling an external project build after completing the build. In the external project build I call an Ant task which performs the chmod for me.

It would be nice to add an option to preserve file/directory permissions on upload.

otto-liljalaakso-nt commented 5 months ago

I am also in a situation where I would need to publish some files over FTP and set certain permissions on upload. Source is a Windows build machine, target Linux web server.