jenkinsci / jenkinsci/workflow-basic-steps-plugin
[JENKINS-47747] Ability to set permissions on file with writeFile
- Dominant language
- Java
- Stars
- 73
- Forks
- 129
- PR merge metrics
- No merged PRs in 30d
Description
It would be nice if we could write the content of the file and sets its permissions (like execute) all in one single command like:
writeFile file:'myfile.sh', content:'...', perms='755'
The permissions are likely to be a noop under Windows tho...
---
Originally reported by brenuart, imported from: Ability to set permissions on file with writeFile
Raw content of original issue
It would be nice if we could write the content of the file and sets its permissions (like execute) all in one single command like:
writeFile file:'myfile.sh', content:'...', perms='755'The permissions are likely to be a noop under Windows tho...
Contributor guide
Assessment
This issue has not been assessed yet.