I have a separate project which has only gitlab-ci.yml.
Pipeline project:
I have multiple projects which access this pipeline. But I have a .sh script in some projects which I need to run from the main pipeline project. I am not sure how to access the script in the pipeline project.
The file role.sh is in the other project which I should access from pipeline project.
.deploy_template: &deploy
image: docker.artifactory.com/projects/finance:latest
dependencies:
- build
script:
- cp scripts/role.sh rc.sh
- chmod +x rc.sh
- ./rc.sh
Can you please guide me how to run script from one project in another project?
