-
Notifications
You must be signed in to change notification settings - Fork 2
/
.space.kts
26 lines (25 loc) · 855 Bytes
/
.space.kts
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
/**
* 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("Build and Test") {
startOn {
gitPush {
anyRefMatching {
+"refs/heads/main"
// Some sort of workaround and replacement for incorrectly working `codeReviewOpened`
// See https://youtrack.jetbrains.com/issue/SPACE-18517
+"refs/merge/*/head"
}
}
}
container(image = "seclerp/rider-plugin-ubuntu:latest") {
kotlinScript { api ->
api.gradlew("prepare", "--stacktrace")
api.gradlew("check", "--stacktrace")
// api.gradlew("checkDotnet", "--stacktrace")
api.gradlew("buildPlugin", "--stacktrace")
}
}
}