job("My project warmup data") {
startOn {
schedule { cron("0 7 * * *") }
}
// ide is the IDE you want Automation to build indexes for:
// Ide.Fleet, Ide.Idea, Ide.RubyMine, Ide.WebStorm, and so on.
// Ide.IJGateway has been deprecated.
warmup(ide = Ide.GoLand) {
// (Optional) Specify the IDE version to use instead of the
// organization default. You can also use
// IdeVersion.LatestOfQuality("Release").
ideVersion = IdeVersion.Specific("2021.3.1", "Release")
}
}
现在,您还可以选择要为其准备项目索引的特定 IDE 版本(IDE 版本将覆盖管理员指定的默认版本)。
默认的 dev-container 镜像包括 IDE 支持的语言(PHP、Ruby、Node.js 等)所需的基本最少工具,这应该足够用于评估目的。 但是,对于实际项目,我们建议准备适合您项目特定需求的自定义镜像。