diff options
author | Steve Marion <steve.marion@sonarsource.com> | 2024-06-26 10:12:42 +0200 |
---|---|---|
committer | sonartech <sonartech@sonarsource.com> | 2024-06-26 20:03:32 +0000 |
commit | 78f39bc77f410ecefb4e1a6ecd431262a339b273 (patch) | |
tree | 5370b5299952fc858a49b47f122da2a0a2a344df | |
parent | 2d9900e3e0a2875c68cb6bdfc412f5cb840cdb2b (diff) | |
download | sonarqube-78f39bc77f410ecefb4e1a6ecd431262a339b273.tar.gz sonarqube-78f39bc77f410ecefb4e1a6ecd431262a339b273.zip |
SONAR-22448 prevent trying to run ci on missing cirrus files
-rw-r--r-- | .cirrus.star | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/.cirrus.star b/.cirrus.star index 0f6cef00a5e..be65e9be68f 100644 --- a/.cirrus.star +++ b/.cirrus.star @@ -3,7 +3,7 @@ load("cirrus", "env", "fs", "yaml") def main(ctx): - if env.get("CIRRUS_REPO_FULL_NAME") == 'SonarSource/sonar-enterprise': + if env.get("CIRRUS_REPO_FULL_NAME") == 'SonarSource/sonar-enterprise' and fs.exists("private/.cirrus.yml"): features = yaml.dumps(load_features(ctx, only_if=dict())) doc = fs.read("private/.cirrus.yml") else: |