标签: gitlab-ci gitlab-ci-runner
release-gate: stage: release-gate script: - RCM_APPROVAL=$(cat result.json) - echo $RCM_APPROVAL rules: - if: '$RCM_APPROVAL == "0"' when: manual - when: always
很遗憾,即使`echo $ RCM_APPROVAL'返回了预期的结果,规则中的if条件也不起作用。如果我在这里想念什么,请告诉我吗?