mirror of
https://github.com/firstBitMarksistskaya/jenkins-lib.git
synced 2024-11-30 09:46:41 +02:00
Исправление создания каталога для junit
This commit is contained in:
parent
33a6153b04
commit
80084fdcf2
@ -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",
|
||||||
|
@ -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'
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user