From b2a7aee0ad1efe8e6d1b32839fab7f3f893080af Mon Sep 17 00:00:00 2001 From: ivanovEV Date: Fri, 19 Jan 2024 15:21:41 +0300 Subject: [PATCH] =?UTF-8?q?=D0=94=D0=BB=D1=8F=20=D1=82=D0=B5=D1=81=D1=82?= =?UTF-8?q?=D0=BE=D0=B2=20=D0=BD=D0=BE=20=D0=BD=D0=B0=D1=83=D0=B3=D0=B0?= =?UTF-8?q?=D0=B4.?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- build.gradle.kts | 2 +- jenkinsResources/core-version.txt | 2 +- test/integration/groovy/jobConfigurationTest.groovy | 1 + test/integration/resources/jobConfiguration.json | 7 ++++++- 4 files changed, 9 insertions(+), 3 deletions(-) diff --git a/build.gradle.kts b/build.gradle.kts index 14f2850e..7b6e22dd 100644 --- a/build.gradle.kts +++ b/build.gradle.kts @@ -48,7 +48,7 @@ dependencies { testImplementation("org.slf4j", "slf4j-api", slf4jVersion) testImplementation("org.slf4j", "slf4j-simple", slf4jVersion) - + // integration-tests integrationTestImplementation("org.spockframework", "spock-core", spockVersion) integrationTestImplementation("org.codehaus.groovy", "groovy-all", groovyVersion) diff --git a/jenkinsResources/core-version.txt b/jenkinsResources/core-version.txt index b8b8d1ea..efd56a90 100644 --- a/jenkinsResources/core-version.txt +++ b/jenkinsResources/core-version.txt @@ -1 +1 @@ -2.246 \ No newline at end of file +2.441 \ No newline at end of file diff --git a/test/integration/groovy/jobConfigurationTest.groovy b/test/integration/groovy/jobConfigurationTest.groovy index e3ded0b8..7418bccb 100644 --- a/test/integration/groovy/jobConfigurationTest.groovy +++ b/test/integration/groovy/jobConfigurationTest.groovy @@ -74,5 +74,6 @@ class jobConfigurationTest { rule.assertLogContains("v8version='8.3.12.1500'", run) rule.assertLogContains("sonarScannerToolName='sonar-scanner'", run) rule.assertLogContains("initMethod=FROM_SOURCE", run) + rule.assertLogContains("path='/src/cfe/тест'", run) } } \ No newline at end of file diff --git a/test/integration/resources/jobConfiguration.json b/test/integration/resources/jobConfiguration.json index e027b9f9..38b207a9 100644 --- a/test/integration/resources/jobConfiguration.json +++ b/test/integration/resources/jobConfiguration.json @@ -1,6 +1,11 @@ { "v8version": "8.3.12.1500", "initInfobase": { - "initMethod": "fromSource" + "initMethod": "fromSource", + "extensions": [{ + "name": "Тест", + "initMethod": "fromSource", + "path": "/src/cfe/тест" + }] } } \ No newline at end of file