RELEASED: Public: February 8, 2023
Resolved issues
- Backup jobs fail to run when created or updated when configured as code (BEE-19138)
-
Backup builds 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.
With this fix, a specific user can be set in the CasC configuration for the Backup job. By setting the
saveAsUser
property, the job is saved by impersonating that user. The user must have permissions to read all the items and configuration added to the backup.