Ask a Question

ReadyAPI integration with Gitlab CI, can not generate report when running Automation by test suite

mskalt
Visitor

ReadyAPI integration with Gitlab CI, can not generate report when running Automation by test suite

trying to run tests from gitlab ci / 

 

stages:
- run test

default:
tags:
- docker
variables:
env: "LabServer"
LICENSE_SERVER: "il-smartlic.spiralsolutions.co.il"
Enviroments: '-sTestSuite -r -a -J -I -O -g -f"$CI_PROJECT_DIR/reports" "-RJUnit-Style HTML Report" -FXML \"-E$env\" "$CI_PROJECT_DIR/Test\ API\ Project/"'

 

AutomationTest:
stage: run test
image:
name: smartbear/ready-api-soapui-testrunner
entrypoint: ["/bin/sh", "-c"]
variables:
LICENSE: $LICENSE_SERVER
COMMAND_LINE: $Enviroments

script:
- '/usr/local/SmartBear/EntryPoint.sh >/dev/null'
artifacts:
reports:
junit:
- "reports/*.xml"
paths:
- "reports/*.xml"

 

NOTE: it works fine and the report is generated as expected when the test run as full regression
Like This:

 

stages:
- run test

default:
tags:
- docker
variables:
env: "Lab20_FRL03_TNG_Master"
LICENSE_SERVER: "il-smartlic.spiralsolutions.co.il"
Enviroments: '-r -a -J -I -O -g -f"$CI_PROJECT_DIR/reports" "-RJUnit-Style HTML Report" -FXML \"-E$env\" "$CI_PROJECT_DIR/Test\ API\ Project/"'



AutomationTest:
stage: run test
image:
name: smartbear/ready-api-soapui-testrunner
entrypoint: ["/bin/sh", "-c"]
variables:
LICENSE: $LICENSE_SERVER
COMMAND_LINE: $Enviroments

script:
- '/usr/local/SmartBear/EntryPoint.sh >/dev/null'
artifacts:
reports:
junit:
- "reports/*.xml"
paths:
- "reports/*.xml"

0 REPLIES 0
cancel
Showing results for 
Search instead for 
Did you mean: