3 Star 15 Fork 7

Gitee 极速下载/SonarQube

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
此仓库是为了提升国内下载速度的镜像仓库,每日同步一次。 原始仓库: https://github.com/SonarSource/sonarqube
克隆/下载
.cirrus.star 860 Bytes
一键复制 编辑 原始数据 按行查看 历史
load("github.com/SonarSource/cirrus-modules@v3", "load_features")
load("cirrus", "env", "fs", "yaml")
def main(ctx):
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:
if env.get("CIRRUS_USER_PERMISSION") in ["write", "admin"]:
features = yaml.dumps(load_features(ctx, features=["build_number"]))
else:
# workaround for BUILD-4413 (build number on public CI)
features = yaml.dumps(
{
'env': {
'CI_BUILD_NUMBER': env.get("CIRRUS_PR", "1")
},
}
)
doc = fs.read(".cirrus/.cirrus.yml")
return features + doc
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
Java
1
https://gitee.com/mirrors/sonarqube.git
git@gitee.com:mirrors/sonarqube.git
mirrors
sonarqube
SonarQube
master

搜索帮助