1
0
mirror of https://github.com/firstBitMarksistskaya/jenkins-lib.git synced 2025-08-25 20:09:25 +02:00

add unstash for sonar-scanner

This commit is contained in:
Dima
2024-07-25 13:29:11 +03:00
parent a63847df9d
commit aa4a9d6879

View File

@@ -60,6 +60,14 @@ class SonarScanner implements Serializable {
if (config.stageFlags.edtValidate) {
steps.unstash(ResultsTransformer.RESULT_STASH)
if (config.sourceFormat == SourceFormat.DESIGNER) {
steps.unstash(DesignerToEdtFormatTransformation.WORKSPACE_ZIP_STASH)
steps.unzip(DesignerToEdtFormatTransformation.WORKSPACE, DesignerToEdtFormatTransformation.WORKSPACE_ZIP)
}
if (config.resultsTransformOptions.transformer == ResultsTransformerType.STEBI) {
sonarCommand += " -Dsonar.externalIssuesReportPaths=" + ResultsTransformer.RESULT_FILE
} else {