CI/CD Run Pipeline

Hi Team,

We are under the process of running a basic Test Automation project from CI/CD Pipeline
Process : Using Test automation project using the Testing Framework (only 1 Testcase file which invoke another workflow xaml file). It’s a simple basic process
Step 1 : Updated Package is in repository. This package works perfectly when runs from studio or from orchestrator
Step 2 : In Pipeling - UiPath Pack - Project(s) Path which contains -(Workflow\TC1_Launch.xaml)
Step 3 : Jason file contains main : Workflow\TC1_Launch.xaml

Run Pipelines
Failed to run the command. Please specify the path to a valid project.jason file a project directory or a directory containing multiple project directory

Team. Any updates on the above query posted?

Hi @Honda

  1. Check the project.json file: Ensure that the project.json file is located in the root directory of your project repository.

  2. Pipeline path configuration: In the pipeline, specify the correct path to the root folder where the project.json file is located, not just the workflow files. For example, point it to the directory containing project.json.

  3. Verify the main entry: Inside the project.json file, make sure the main property points to the correct workflow, like "main": "Workflow\\TC1_Launch.xaml".

  4. Consistency with Studio/Orchestrator: Since the project runs fine in Studio and Orchestrator, confirm that the file paths and structure in the pipeline match exactly what’s used in those environments.

  5. Recheck your folder structure: If there are any subfolders like Workflow, ensure the paths are correctly referenced relative to the root project directory in the pipeline configuration.

Not much sure but according to chatgpt try to resolve your query.
If you found helpful, Pls mark as a solution. Thanks