1
0
mirror of https://github.com/firstBitMarksistskaya/jenkins-lib.git synced 2024-11-28 09:33:03 +02:00

Исправление создания каталога для junit

This commit is contained in:
Nikita Gryzlov 2020-04-17 13:40:25 +03:00
parent 33a6153b04
commit 80084fdcf2
No known key found for this signature in database
GPG Key ID: C1EAE411FEF0BF2F
2 changed files with 4 additions and 5 deletions

View File

@ -13,7 +13,7 @@
"syntaxCheck": {
"enabled": false,
"groupErrorsByMetadata": true,
"pathToJUnitReport": "./build/out/jUnit/syntax.xml",
"pathToJUnitReport": "build/out/jUnit/syntax.xml",
"checkModes": [
"-ThinClient",
"-WebClient",

View File

@ -1,4 +1,3 @@
import hudson.FilePath
import ru.pulsar.jenkins.library.configuration.JobConfiguration
import ru.pulsar.jenkins.library.ioc.ContextRegistry
@ -18,8 +17,8 @@ def call(JobConfiguration config) {
unzipInfobase()
def junitPath = new FilePath(new File(options.pathToJUnitReport))
junitPath.mkdirs()
def outPath = new File(options.pathToJUnitReport).getParent()
dir(outPath) { echo '' }
String command = "oscript_modules/bin/vrunner syntax-check --ibconnection \"/F./build/ib\""
@ -38,5 +37,5 @@ def call(JobConfiguration config) {
junit allowEmptyResults: true, testResults: options.pathToJUnitReport
archiveArtifacts 'build/**/*.*'
archiveArtifacts 'build/**/*.*', excludes: '*.1CD'
}