Skip to content
Snippets Groups Projects
Commit 6ead8a4f authored by Raghunandan Netrapalli Madhusudhan's avatar Raghunandan Netrapalli Madhusudhan
Browse files

save artifacts

parent 42c25136
No related branches found
No related tags found
1 merge request!279Draft: Parameterize integration urls
Pipeline #70583 failed
......@@ -637,4 +637,4 @@
"success_rate": 1
}
}
}
}
\ No newline at end of file
......@@ -14,7 +14,7 @@ pipeline {
parameters {
booleanParam(name: 'BUILD_DOCKER_IMAGE', defaultValue: false, description: 'Force docker image (re-)build')
string(name: 'OPTESTRUNNER_URL', defaultValue: 'https://ci.eclipse.org/openpass/job/opTestrunner/job/add-invocations-random-seed/1/artifact/repo/plugin/optestrunner/dist/pytest_optestrunner-1.1-py3-none-any.whl', description: 'URL to download opTestrunner binaries')
string(name: 'GECCO_URL', defaultValue: 'https://ci.eclipse.org/openpass/job/gecco/view/change-requests/job/MR-3/6/artifact/artifacts/gecco.tar.gz', description: 'URL to download gecco binaries')
string(name: 'GECCO_URL', defaultValue: 'https://ci.eclipse.org/openpass/job/gecco/view/change-requests/job/MR-4/2/artifact/artifacts/gecco.tar.gz', description: 'URL to download gecco binaries')
string(name: 'GTGEN_CLI_URL', defaultValue: 'https://ci.eclipse.org/openpass/job/GT-Gen-Simulator-PreMerge-Gate/view/tags/job/v11.3.0/lastSuccessfulBuild/artifact/artifacts/gtgen-cli_1.1.0_amd64.deb', description: 'URL to download gtgen cli binaries')
string(name: 'GTGEN_SIM_URL', defaultValue: 'https://ci.eclipse.org/openpass/job/GT-Gen-Simulator-PreMerge-Gate/view/tags/job/v11.3.0/lastSuccessfulBuild/artifact/artifacts/gtgen-simulator_11.3.0_amd64.deb', description: 'URL to download gtgen simulator binaries')
}
......@@ -126,8 +126,11 @@ spec:
}
post {
always {
archiveArtifacts allowEmptyArchive: true, artifacts: 'artifacts/**', followSymlinks: false
junit allowEmptyResults: true, testResults: 'build/**/*Tests.xml,repo/sim/tests/endToEndTests/pyOpenPASS/result_*.xml'
script {
sh 'bash repo/utils/ci/scripts/90_pack_artifacts.sh'
archiveArtifacts allowEmptyArchive: true, artifacts: 'artifacts/**', followSymlinks: false
junit allowEmptyResults: true, testResults: 'build/**/*Tests.xml,repo/sim/tests/endToEndTests/pyOpenPASS/result_*.xml'
}
}
}
}
......
......@@ -46,8 +46,11 @@ pluginsPath="$GECCO_DIR"/gecco/modules
echo "============================== Running test_gtgen_e2e =============================="
${venv_python_executable} -m pytest -vvv --simulation="${GTGEN_CLI_PATH}/gtgen_cli" --mutual="${commonFolder}" --resources="${resourcePath}" --plugins-path="${pluginsPath}" --allowed-warnings="${allowedWarningsFiles}" --report-path="${GTGEN_CLI_PATH}"/testreport "${OP_REPO_DIR}"/sim/tests/endToEndTests/test_end_to_end.json
exit_code=$?
mkdir -p "$SCRIPT_DIR/../../../../dist" || exit 1
mkdir -p "$SCRIPT_DIR"/../../../../dist/opSimulation || exit 1
cp -r "${GTGEN_CLI_PATH}"/artifacts "$SCRIPT_DIR"/../../../../dist/opSimulation || exit 1
cp -r "${GTGEN_CLI_PATH}"/testreport "$SCRIPT_DIR"/../../../../dist/opSimulation || exit 1
exit $exit_code
\ No newline at end of file
......@@ -21,15 +21,9 @@ cd "$MYDIR/../../../../dist" || exit 1
SIM_NAME=openPASS_SIM
E2E_NAME=openPASS_EndToEndTests
if [[ "${OSTYPE}" = "msys" ]]; then
PLATFORM="windows"
ARCHIVE_TOOL="$MYDIR/util_zip.sh"
ARCHIVE_EXT="zip"
else
PLATFORM="linux"
ARCHIVE_TOOL="$MYDIR/util_tar.sh"
ARCHIVE_EXT="tar.gz"
fi
PLATFORM="linux"
ARCHIVE_TOOL="$MYDIR/util_tar.sh"
ARCHIVE_EXT="tar.gz"
mkdir -p ../artifacts/testreport || exit 1
mv opSimulation/testreport ../artifacts/testreport/$PLATFORM
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment