You've already forked sap-jenkins-library
mirror of
https://github.com/SAP/jenkins-library.git
synced 2025-12-01 23:02:43 +02:00
* fix Markdown issue 'Headers should be surrounded by blank lines' * fix MD012 * fix MD022 * fix MD026 * fix MD007 * fix MD032 * fix MD038 * fix MD040 * fix MD031 * fix MD034 * fix MD004 * fix new findings * fix MD036 * fix MD038 * fix MD032 * fix MD006
1.1 KiB
1.1 KiB
toolValidate
Description
Checks the existence and compatibility of a tool, necessary for a successful pipeline execution. In case a violation is found, an exception is raised.
Prerequisites
none
Parameters
| parameter | mandatory | default | possible values |
|---|---|---|---|
tool |
yes | 'java', 'mta', 'neo' | |
home |
yes |
toolThe tool that is checked for existence and compatible version.homeThe location in the file system where Jenkins can access the tool.
Step configuration
none
Return value
none
Side effects
none
Exceptions
IllegalArgumentException:- If at least one of the parameters
tool,homeis not provided.
- If at least one of the parameters
AbortException:- If
toolis not supported.
- If
Example
toolValidate tool: 'neo', home:'/path/to/neo-java-web-sdk'