5 Star 18 Fork 5

Xiaoli/Fake

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
克隆/下载
.space.kts 955 Bytes
一键复制 编辑 原始数据 按行查看 历史
Xiaoli 提交于 2023-06-14 17:51 . test
/**
* JetBrains Space Automation
* This Kotlin script file lets you automate build activities
* For more info, see https://www.jetbrains.com/help/space/automation.html
*/
job("Hello World!") {
container(displayName = "Say Hello", image = "hello-world")
}
job("Qodana") {
startOn {
gitPush {
anyBranchMatching {
// add 'master'
+"master"
// add all branches containing 'feature'
+"*feature*"
// exclude 'test-feature'
-"test-feature"
}
// run only if there's a release tag
// e.g., release/v1.0.0
anyTagMatching {
+"release/*"
// but exclude beta releases
-"release/*-beta"
}
}
codeReviewOpened{}
}
container("jetbrains/qodana-dotnet") {
env["QODANA_TOKEN"] = Secrets("qodana-token")
shellScript {
content = """qodana"""
}
}
}
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
C#
1
https://gitee.com/xiaolipro/fake.git
git@gitee.com:xiaolipro/fake.git
xiaolipro
fake
Fake
master

搜索帮助

0d507c66 1850385 C8b1a773 1850385