You've already forked sap-jenkins-library
mirror of
https://github.com/SAP/jenkins-library.git
synced 2025-11-06 09:09:19 +02:00
Fix mta buildtool error (#4243)
* Fix indentation * Fix type * Exclude mta build tool from throwing error * Update log message * Add test case
This commit is contained in:
committed by
GitHub
parent
7e7182d3fe
commit
1536362a50
@@ -302,7 +302,7 @@ private String inferProjectName(Script script, String buildTool, String buildToo
|
||||
}
|
||||
|
||||
private checkBuildTool(String buildTool, String buildDescriptorPattern) {
|
||||
if (buildDescriptorPattern && !findFiles(glob: buildDescriptorPattern)) {
|
||||
if (buildTool != "mta" && !findFiles(glob: buildDescriptorPattern)) {
|
||||
error "[${STEP_NAME}] buildTool configuration '${buildTool}' does not fit to your project (buildDescriptorPattern: '${buildDescriptorPattern}'), please set buildTool as general setting in your .pipeline/config.yml correctly, see also https://sap.github.io/jenkins-library/configuration/"
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user