RELEASED: Public: February 8, 2023
- Backup jobs fail to run when created or updated when configured as code (BEE-19138)
Backup jobs run under special authentication for security reasons. When the job is created or updated by Configuration as Code (CasC), the authentication checks fail as there is no real user interacting with CloudBees CI.
This issue has been resolved. Now a user can be set in the CasC configuration for the Backup job. By setting the
saveAsUserproperty, the job is saved by impersonating that user. The user must have permissions to read all the items and configuration added to the backup.