Skip to content

Commit

Permalink
move test_level env var (#622)
Browse files Browse the repository at this point in the history
  • Loading branch information
MxEh-TT committed Nov 29, 2023
1 parent 3a658c8 commit ebde560
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions Jenkinsfile.internal
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,7 @@ pipeline {
pipeline_report_dir = "report2TG/build-$env.BUILD_NUMBER"
PRODUCT_NAME = "ecutest-plugin"
PRODUCT_VERSION = '$TAG_NAME'
TEST_LEVEL = "Unit"
}
tools {
maven 'M3'
Expand All @@ -57,9 +58,7 @@ pipeline {
steps {
mvn 'jacoco:prepare-agent surefire:test -Dsurefire.useFile=false'
junit 'target/surefire-reports/TEST-*.xml'
withEnv(["TEST_LEVEL = Unit"]) {
Xml2TG((long) currentBuild.startTimeInMillis, "target/surefire-reports/", "JUnit", "${pipeline_report_dir}")
}
Xml2TG((long) currentBuild.startTimeInMillis, "target/surefire-reports/", "JUnit", "${pipeline_report_dir}")
jacoco exclusionPattern: '**/Messages.class', execPattern: 'target/jacoco.exec'
}
}
Expand Down

0 comments on commit ebde560

Please sign in to comment.