Skip to content

Migrate plugins from/to onPostBuild and onSuccess #134

@ehmicky

Description

@ehmicky

The full background of the discussion is here.

onPostBuild happens before deploy, and can prevent a build from being deployed.
onSuccess happens after deploy, and cannot prevent a build from being deployed.

We should send PRs to migrate plugins that either:

  • use onPostBuild, but the logic should happen after deploy
  • use onEnd, but errors should prevent a build from being deployed

After this is done, we should also send PRs to migrate plugins that use utils.build.failBuild() or utils.build.cancelBuild() within onSuccess, onEnd or onError.

Metadata

Metadata

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions