Hi folks! Do you know any way I can get the job name and pass them to a reference?
My YAML file:
push_project: &push_project
run:
command:
ci/push_project.sh
build_test: &build_test
steps:
- checkout
- *push_project
- run:
name: Build And Test If Needed
command: ci/ci_build_tests.sh
jobs:
Job_A:
<<: *build_test
Job_B:
<<: *build_test
Job_C:
<<: *build_test
I want to pass the job name: Job_A
as a parameter into reference build_test
, then, pass to push_project
command ci/push_project.sh
.
Thanks!