How to configure gitlab pipeline for ReadyAPI from TestRunner
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
How to configure gitlab pipeline for ReadyAPI from TestRunner
We are trying to configure gitlab pipeline for ReadyAPI from TestRunner commandline , We have added below code into the ".gitlab-ci.yml" file in gitLab
-------------------------------
stages:
- build
- test
build:
stage: build
script:
- echo "Building Pipeline"
test:
stage: test
script:
- echo "Testing Pipeline"
- chmod +x "PATH TO testrunner.bat" -a "-f PATH TO \Test Reports" "-RProject Report" -FPDF -E PATH TO PROJECT FILE
---------------------------------
The code is commited to GitLab.
When i run the Pipeline the execution is failed due to below Reason:
--------------------------------------
chmod: invalid option -- a
BusyBox v1.32.0 (2020-11-23 21:18:59 UTC) multi-call binary.
Usage: chmod [-Rcvf] MODE[,MODE]... FILE...
Each MODE is one or more of the letters ugoa, one of the
symbols +-= and one or more of the letters rwxst
-R Recurse
-c List changed files
-v List all files
-f Hide errors
ERROR: Job failed: exit code 1
------------------------------
Could anyone please provide the solution for this.
- Labels:
-
Configuration
-
Reporting
-
Test Results
-
Test Setup
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi @vinodkn, is GitLab running in an environment that has access to a licensed instance of ReadyAPI?
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi @joejoyce,
Can you give us more insights on getting license access on GitLab ?
But currently we have ReadyAPI floating license and we are executing in the machine where the Readyapi and exists.
FYI.. the Testrunner.bat with the specific project is able to execute in local repo code.
Regards
Valla
Vallalarasu Pandiyan
https://www.linkedin.com/in/vallalarasupandiyan/
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Can you please share a Sample ".gitlab-ci.yml" for ReadyAPI ?
Vallalarasu Pandiyan
https://www.linkedin.com/in/vallalarasupandiyan/
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Yes @joejoyce - We have ReadyAPI license access in the environment as its a Floating license.
Also, We are trying to trigger in local machine for now.
Please share a sample GitLab YML file for ReadyAPI Test.
Vallalarasu Pandiyan
https://www.linkedin.com/in/vallalarasupandiyan/
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
