Skip to content

Update deprecated updatecli CLI calls to updatecli pipeline subcommands #5012

@jayfranco999

Description

@jayfranco999

Service(s)

infra.ci.jenkins.io

Summary

While reviewing updatecli CLI help output, I noticed that the top-level commands we currently use are deprecated:

apply  → Deprecated in favor of `updatecli pipeline apply`
diff   → Deprecated in favor of `updatecli pipeline diff`

We are still calling the legacy commands in parts of our pipeline library. Although they continue to work for now, they are explicitly marked as deprecated and may be removed in a future release.

It would be safer to migrate to the supported pipeline subcommands to avoid unexpected breakage during a future updatecli upgrade.

Task list

Search for all usages of updatecli apply in:

  • pipeline-library
  • jenkins-infra repositories
  • Replace with updatecli pipeline apply
  • Search for all usages of updatecli diff
  • Replace with updatecli pipeline diff
  • Verify behavior in a staging job
  • Confirm no behavior changes (dry-run + apply)
  • Roll out to production pipelines

Reproduction steps

No response

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions