1
0
mirror of https://github.com/firstBitMarksistskaya/jenkins-lib.git synced 2025-01-19 11:49:52 +02:00

Указание пути к src

This commit is contained in:
Nikita Gryzlov 2020-04-29 23:44:59 +03:00
parent 8162590a09
commit 5bf54fbe0d

View File

@ -42,12 +42,13 @@ class ResultsTransformer implements Serializable {
def edtValidateFile = "$env.WORKSPACE/$EdtValidate.RESULT_FILE"
def genericIssueFile = "$env.WORKSPACE/$RESULT_FILE"
def srcDir = "$EdtTransform.WORKSPACE/$EdtTransform.PROJECT_NAME/src"
steps.cmd("stebi convert $edtValidateFile $genericIssueFile $EdtTransform.WORKSPACE")
steps.cmd("stebi convert $edtValidateFile $genericIssueFile $srcDir")
if (config.resultsTransformOptions.removeSupport) {
def supportLevel = config.resultsTransformOptions.supportLevel
steps.cmd("stebi transform --remove_support $supportLevel --src $EdtTransform.WORKSPACE $genericIssueFile")
steps.cmd("stebi transform --remove_support $supportLevel --src $srcDir $genericIssueFile")
}
steps.archiveArtifacts(RESULT_FILE)