Created
April 20, 2016 13:22
-
-
Save artbear/66481d9355374885f9f915b1e9064f84 to your computer and use it in GitHub Desktop.
Задача Jenkins для прогона тестов xUnitFor1C 4.Х
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
export WINEDLLOVERRIDES=mscoree,mshtml= | |
mkdir -p $WORKSPACE/build/ | |
mkdir -p $WORKSPACE/build/test-reports/ | |
mkdir -p $WORKSPACE/build/test-reports/xunit/ | |
USERPWD="" | |
if [ -z "$buildDBUSER" ]; then | |
echo "user not set" | |
else | |
USERPWD="/N$buildDBUSER" | |
if [ -z "$buildDBPWD" ]; then | |
echo "passw not set" | |
else | |
USERPWD="/N$buildDBUSER /P$buildDBPWD" | |
fi | |
fi | |
oneC_root=/opt/1C/v8.3/i386 | |
"$oneC_root/1cv8" ENTERPRISE /Lru /VLru $DATABASE /C\\"xddRun ЗагрузчикКаталога ""$WORKSPACE/tests""\\; xddReport ГенераторОтчетаJUnitXML ""$WORKSPACE/build/test-reports/xunit/report.xml""\\;xddShutdown\\;\\" /Execute$WORKSPACE/tools/xunitfor1c/xddTestRunner.epf /out$WORKSPACE/build/runTest.txt /RunModeManagedApplication /TESTMANAGER |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment