aboutsummaryrefslogtreecommitdiffstats
path: root/.cirrus.star
diff options
context:
space:
mode:
authorSteve Marion <steve.marion@sonarsource.com>2024-06-26 10:12:42 +0200
committersonartech <sonartech@sonarsource.com>2024-06-26 20:03:32 +0000
commit78f39bc77f410ecefb4e1a6ecd431262a339b273 (patch)
tree5370b5299952fc858a49b47f122da2a0a2a344df /.cirrus.star
parent2d9900e3e0a2875c68cb6bdfc412f5cb840cdb2b (diff)
downloadsonarqube-78f39bc77f410ecefb4e1a6ecd431262a339b273.tar.gz
sonarqube-78f39bc77f410ecefb4e1a6ecd431262a339b273.zip
SONAR-22448 prevent trying to run ci on missing cirrus files
Diffstat (limited to '.cirrus.star')
-rw-r--r--.cirrus.star2
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: