Executes the stage if the current build is for a change request (a.k.a. Pull Request on GitHub and Bitbucket, Merge Request on GitLab or Change in Gerrit etc.).

Similar as for branch and tag it checks the values of the CHANGE_* environment variables set by the branch-api plugin, you can check the values of those via individual parameters. If more than one parameter is specified, then all of the parameters must match.

Using no parameters i.e. when { changeRequest() } it will just check that CHANGE_ID is available and has a value.