Warmup jobs
This commit is contained in:
parent
2ddb93c7d9
commit
3a6d6053bc
|
@ -0,0 +1,55 @@
|
|||
/**
|
||||
* 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/*"
|
||||
}
|
||||
}
|
Loading…
Reference in New Issue