Skip to content

Commit

Permalink
[TEAMCITY-QA-T] Use unified approach for declaration of build depende…
Browse files Browse the repository at this point in the history
…ncy within scheduled build of Linux-based Docker images.
  • Loading branch information
AndreyKoltsov1997 committed Aug 29, 2023
1 parent f805556 commit 57ac4ae
Showing 1 changed file with 2 additions and 7 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ import jetbrains.buildServer.configs.kotlin.v2019_2.buildFeatures.dockerSupport
import jetbrains.buildServer.configs.kotlin.v2019_2.buildSteps.script
import utils.config.DeliveryConfig
import utils.config.Registries
import utils.dsl.general.teamCityBuildDistDocker
import utils.dsl.general.teamCityImageBuildFeatures
import java.lang.IllegalArgumentException

Expand Down Expand Up @@ -74,13 +75,7 @@ class TeamCityScheduledImageBuildLinux_Base(private val platform: String, privat
}

dependencies {
dependency(AbsoluteId(DeliveryConfig.buildDistDockerDepId)) {
artifacts {
artifactRules = "TeamCity.zip!/**=>context/TeamCity"
cleanDestination = true
lastSuccessful()
}
}
teamCityBuildDistDocker()
}

features {
Expand Down

0 comments on commit 57ac4ae

Please sign in to comment.