Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Review new post conditions and audit project scripts #25

Open
phillipjohnston opened this issue Aug 10, 2018 · 0 comments
Open

Review new post conditions and audit project scripts #25

phillipjohnston opened this issue Aug 10, 2018 · 0 comments

Comments

@phillipjohnston
Copy link
Member

New post conditions

The changed condition has always been a bit confusing, and to be honest, it wasn’t our best work. changed will fire any time the current run’s status is different than the previous run’s status - whether the current run is healthier than the previous one, or the other way around. That’s…not actually very useful. So now we’ve added two new post conditions that should provide you with a lot more value than changed has.

  • fixed - This will check to see if the current run is successful, and if the previous run was either failed or unstable.
  • regression - This will check to see if the current run’s status is worse than the previous run’s status. So if the previous run was successful, and the current run is unstable, this will fire and its block of steps will execute. It will also run if the previous run was unstable, and the current run is a failure, etc.

https://jenkins.io/blog/2018/04/09/whats-in-declarative/

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant