这行中的-表示,当username变量不存在时,${username-root}返回的值是root,由于username不存在,所以最...
break; fi else SONAR_SCAN_RESULT='ERROR' echo "第$i次获取结果信息,不是成功状态,睡眠10秒!" cat sonar_result.txt sleep 10 fi done rules: - if: " $RUN_CODE_ANALYSIS == 'no' " when: never - when: always jobs/artifactory.yml 制品管理作业 包含两个作业,制品上传与下载。使用artifactory制...
These are core principles we believe world class product organizations exhibit. The goal is to build a PM system that fosters and honors these principles, in a way that works for GitLab.
GitLab Communication Chat GitLab Video Playbook Power of the Pause Top Misused Terms - GitLab Communication GitLab's Guide to Total Rewards Hiring & Talent Acquisition Handbook IT IT Enterprise Applications Labor and Employment Notices Leadership Legal & Corporate Affairs ("LACA") ...
Be careful when moving an issue to a project with different access rules. Before moving the issue, make sure it does not contain sensitive data. Prerequisites: You must have at least the Planner role for the project. To move an issue: ...
create-release:stage:releaseimage:registry.gitlab.com/gitlab-org/release-cli:latestscript:echo "Creating release $CI_COMMIT_TAG"rules:-if:$CI_COMMIT_TAGrelease:tag_name:$CI_COMMIT_TAGdescription:"Release $CI_COMMIT_TAG of components in $CI_PROJECT_PATH" ...
matchPolicy: Equivalent rules: - apiGroups: - apiVersions: - v1 operations: - CREATE - UPDATE resources: - ingresses failurePolicy: Fail sideEffects: None admissionReviewVersions: - v1 clientConfig: service: namespace: ingress-nginx name: ingress-nginx-controller-admission path: /networking/v1...
892 msg="Completed loading of configuration file" filename=/var/opt/gitlab/prometheus/prometheus.yml totalDuration=10.52342ms remote_storage=1.833µs web_handler=674ns query_engine=1.573µs scrape=75.135µs scrape_sd=384.337µs notify=37.381µs notify_sd=23.051µs rules=...
I'm migrating off only: and except: and switched to rules. However, I'm finding difficulty testing for whether a variable exists. Use case: Team wants to manually...
Problem to solve The if syntax within rules is nice, but a lack of parentheses makes complex expressions impossible to...