Skip to content

Commit 3b0c049

Browse files
committed
chore(QTDI-2184) fix configuration of API tester projects
1 parent d7c9c6e commit 3b0c049

1 file changed

Lines changed: 4 additions & 4 deletions

File tree

  • talend-component-maven-plugin/src/it/web/.jenkins

talend-component-maven-plugin/src/it/web/.jenkins/Jenkinsfile

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ final String _COVERAGE_DIR="coverage"
3131
final String _DOWNLOAD_DIR="/tmp/download" // volume mounted on the podConfiguration, if you edit it, change it in the pod file
3232
final String _SERVER_DIR="${_INSTALL_DIR}/component-server-distribution"
3333
// Local artifact definition
34-
final String _ARTIFACT_TEST_RESULTS="**/src/it/web/test/**/*"
34+
final String _ARTIFACT_TEST_RESULTS="**/target/classes/web/test/**/*"
3535
final String _ARTIFACT_COVERAGE="**/${_COVERAGE_DIR}/**/*"
3636
final String _ARTIFACT_LOGS_COMPONENT_SERVER="**/${_SERVER_DIR}/logs/component-server*"
3737
final String _ARTIFACT_LOGS_MEECROWAVE="**/${_SERVER_DIR}/logs/meecrowave*"
@@ -56,7 +56,7 @@ final def _TENANT_ID_RD = string(
5656
* Options
5757
*/
5858
String _API_TEST_RESULT_PATTERN = '**/target/surefire-reports/**/*.xml'
59-
String _API_TEST_FILES_PATTERN = '**/src/it/web/test/**/*.json'
59+
String _API_TEST_FILES_PATTERN = '**/target/classes/web/test/**/*.json'
6060

6161
// Default value for parameters
6262
String runtimeVersion = "default"
@@ -110,8 +110,8 @@ pipeline {
110110
TESTCONTAINERS_HUB_IMAGE_NAME_PREFIX = "artifactory.datapwn.com/docker-io-remote/"
111111

112112
final String _ROOT_PATH = "${WORKSPACE}"
113-
final String _SCRIPTS_PATH = "${_ROOT_PATH}/talend-component-maven-plugin/src/it/web/.jenkins/scripts"
114-
final String _TESTS_PATH = "${_ROOT_PATH}/talend-component-maven-plugin/src/it/web/test"
113+
final String _SCRIPTS_PATH = "${_ROOT_PATH}/talend-component-maven-plugin/target/classes/web/.jenkins/scripts"
114+
final String _TESTS_PATH = "${_ROOT_PATH}/talend-component-maven-plugin/target/classes/web/test"
115115

116116
MAVEN_SETTINGS = "${_ROOT_PATH}/talend-component-maven-plugin/src/it/web/.jenkins/settings.xml"
117117
DECRYPTER_ARG = "--define talend.maven.decrypter.m2.location=${_ROOT_PATH}/.jenkins/"

0 commit comments

Comments
 (0)