I want to execute a part of the script in my .yml if the first four characters of the CI variable CI_PROJECT_NAME are abcd. Can anyone help me on how to do that?
Thanks
Samjellear
I want to execute a part of the script in my .yml if the first four characters of the CI variable CI_PROJECT_NAME are abcd. Can anyone help me on how to do that?
Thanks
Samjellear
@atanejajlr welcome to the forum!
You can use regular expressions in rules:if
to run a job selectively within a pipeline in your project.
I hope this helps!
-James H, GitLab Product Manager, Verify:Pipeline Execution
Thanks
huh i never would have thought of that. good job