You've already forked jenkins-lib
forked from jenkins/jenkins-lib
Исправление создания каталога для junit
This commit is contained in:
@@ -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'
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user