56 lines
1.5 KiB
Kotlin
56 lines
1.5 KiB
Kotlin
/**
|
|
* 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("Fleet project warmup data") {
|
|
startOn {
|
|
schedule { cron("0 7 * * *") }
|
|
}
|
|
|
|
// ide is an IDE you want Automation to build indexes for:
|
|
// Ide.Fleet || Ide.IJGateway
|
|
warmup(ide = Ide.Fleet) {
|
|
// (Optional) path to your custom .sh script
|
|
// that contains additional warmup steps,
|
|
// e.g. 'gradlew assemble'
|
|
// If you want Automation only to build indexes,
|
|
// don't specify scriptLocation
|
|
// scriptLocation = "./dev-env-warmup.sh"
|
|
}
|
|
|
|
// (Optional, recommended)
|
|
git {
|
|
// fetch the entire commit history
|
|
depth = UNLIMITED_DEPTH
|
|
// fetch all branches
|
|
refSpec = "refs/*:refs/*"
|
|
}
|
|
}
|
|
|
|
job("Gateway project warmup data") {
|
|
startOn {
|
|
schedule { cron("0 7 * * *") }
|
|
}
|
|
|
|
// ide is an IDE you want Automation to build indexes for:
|
|
// Ide.Fleet || Ide.IJGateway
|
|
warmup(ide = Ide.IJGateway) {
|
|
// (Optional) path to your custom .sh script
|
|
// that contains additional warmup steps,
|
|
// e.g. 'gradlew assemble'
|
|
// If you want Automation only to build indexes,
|
|
// don't specify scriptLocation
|
|
// scriptLocation = "./dev-env-warmup.sh"
|
|
}
|
|
|
|
// (Optional, recommended)
|
|
git {
|
|
// fetch the entire commit history
|
|
depth = UNLIMITED_DEPTH
|
|
// fetch all branches
|
|
refSpec = "refs/*:refs/*"
|
|
}
|
|
}
|