Hi,
I have CI and CT pipelines running in Jenkins Agent PC. Pipeline script is configured in Groovy.
Jenkins Pipeline configuration:
- Folder 1
-
- Folder 2
-
-
- Folder 3
-
-
-
-
- CI Pipeline
-
-
-
-
-
- CT Pipeline
-
-
Observed that, CI pipeline job folder will be created in Jenkins Agent workspace as C:/jenkins/workspace/<pipeline_job_folder>
but, for CT pipeline, folder will be created as C:/Jenkins/workspace/<folder_1>/<folder_2>/<folder_3>/<pipeline_job_folder>
I want CT pipeline job also to execute in similar folder path as CI.
I have verified my groovy script, but didnt find any configuration to set workspace path.
Can you please let me know if there is any such configuration in Jenkins or how to set workspace path before starting CT pipeline execution in groovy.
Thanks,
Pavan.