Checks if a Change Document in SAP Solution Manager is in status 'in development'. The change document id is retrieved from the git commit history. The change document id
can also be provided via parameter `changeDocumentId`. Any value provided as parameter has a higher precedence than a value from the commit history.
By default the git commit messages between `origin/master` and `HEAD` are scanned for a line like `ChangeDocument : <changeDocumentId>`. The commit
range and the pattern can be configured. For details see 'parameters' table.
* **[Change Management Client 2.0.0 or compatible version](http://central.maven.org/maven2/com/sap/devops/cmclient/dist.cli/)** - available for download on Maven Central.
| `changeManagement/changeDocumentLabel` | no | `ChangeDocument\s?:` | regex pattern |
| `changeManagement/clientOpts` | no | | |
| `changeManagement/credentialsId` | no | `CM` | |
| `changeManagement/endpoint` | yes | | |
| `changeManagement/git/format` | no | `%b` | see `git log --help` |
| `changeManagement/git/from` | no | `origin/master` | |
| `changeManagement/git/to` | no | `HEAD` | |
| `failIfStatusIsNotInDevelopment` | no | `true` | `true`, `false` |
| `script` | yes | | |
*`changeDocumentId` - The id of the change document to transport. If not provided, it is retrieved from the git commit history.
*`changeManagement/changeDocumentLabel` - A pattern used for identifying lines holding the change document id.
*`changeManagement/clientOpts` - Additional options for cm command line client, e.g. like JAVA_OPTS.
*`changeManagement/credentialsId` - The id of the credentials to connect to the Solution Manager. The credentials needs to be maintained on Jenkins.
*`changeManagement/endpoint` - The address of the Solution Manager.
*`changeManagement/git/format` - Specifies what part of the commit is scanned. By default the body of the commit message is scanned.
*`changeManagement/git/from` - The starting point for retrieving the change document id
*`changeManagement/git/to` - The end point for retrieving the change document id
*`failIfStatusIsNotInDevelopment` - When set to `false` the step will not fail in case the step is not in status 'in development'.
*`script` - The common script environment of the Jenkinsfile running. Typically the reference to the script calling the pipeline step is provided with the this parameter, as in `script: this`. This allows the function to access the commonPipelineEnvironment for retrieving, for example, configuration parameters.