Skip to content

Commit

Permalink
TeamCity change in 'Ideavim / IdeaVim releases' project: runners of '…
Browse files Browse the repository at this point in the history
…Publish Dev Build' build configuration were updated
  • Loading branch information
[email protected] authored and teamcity committed Dec 1, 2023
1 parent 5652774 commit b35b51c
Showing 1 changed file with 42 additions and 0 deletions.
42 changes: 42 additions & 0 deletions .teamcity/patches/buildTypes/ReleaseDev.kts
Original file line number Diff line number Diff line change
@@ -0,0 +1,42 @@
package patches.buildTypes

import jetbrains.buildServer.configs.kotlin.v2019_2.*
import jetbrains.buildServer.configs.kotlin.v2019_2.buildSteps.GradleBuildStep
import jetbrains.buildServer.configs.kotlin.v2019_2.buildSteps.gradle
import jetbrains.buildServer.configs.kotlin.v2019_2.buildSteps.script
import jetbrains.buildServer.configs.kotlin.v2019_2.ui.*

/*
This patch script was generated by TeamCity on settings change in UI.
To apply the patch, change the buildType with id = 'ReleaseDev'
accordingly, and delete the patch script.
*/
changeBuildType(RelativeId("ReleaseDev")) {
expectSteps {
script {
name = "Pull git tags"
scriptContent = "git fetch --tags origin"
}
script {
name = "Pull git history"
scriptContent = "git fetch --unshallow"
}
gradle {
name = "Calculate new dev version"
tasks = "scripts:calculateNewDevVersion"
}
gradle {
name = "Set TeamCity build number"
tasks = "scripts:setTeamCityBuildNumber"
}
gradle {
tasks = "publishPlugin"
}
}
steps {
update<GradleBuildStep>(2) {
clearConditions()
jdkHome = "%env.JDK_17_0_x64%"
}
}
}

0 comments on commit b35b51c

Please sign in to comment.