1
0
mirror of https://github.com/firstBitMarksistskaya/jenkins-lib.git synced 2024-11-30 09:46:41 +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": { "syntaxCheck": {
"enabled": false, "enabled": false,
"groupErrorsByMetadata": true, "groupErrorsByMetadata": true,
"pathToJUnitReport": "./build/out/jUnit/syntax.xml", "pathToJUnitReport": "build/out/jUnit/syntax.xml",
"checkModes": [ "checkModes": [
"-ThinClient", "-ThinClient",
"-WebClient", "-WebClient",

View File

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