diff --git a/.teamcity/pom.xml b/.teamcity/pom.xml new file mode 100644 index 0000000..af057ed --- /dev/null +++ b/.teamcity/pom.xml @@ -0,0 +1,129 @@ + + + 4.0.0 + _Root Config DSL Script + _Root + _Root_dsl + 1.0-SNAPSHOT + + + org.jetbrains.teamcity + configs-dsl-kotlin-parent + 1.0-SNAPSHOT + + + + + jetbrains-all + https://download.jetbrains.com/teamcity-repository + + true + + + + teamcity-server + http://127.0.0.1:8111/app/dsl-plugins-repository + + true + + + + jfrog-server + https://freefox1.jfrog.io/artifactory/kotlin + + true + + + + maven-all + https://jcenter.bintray.com/ + + true + + + + + + + JetBrains + https://download.jetbrains.com/teamcity-repository + + + + + ${basedir} + + + kotlin-maven-plugin + org.jetbrains.kotlin + ${kotlin.version} + + + + + compile + process-sources + + compile + + + + test-compile + process-test-sources + + test-compile + + + + + + org.jetbrains.teamcity + teamcity-configs-maven-plugin + ${teamcity.dsl.version} + + kotlin + target/generated-configs + + + + + + + + org.jetbrains.teamcity + configs-dsl-kotlin + ${teamcity.dsl.version} + compile + + + org.jetbrains.teamcity + configs-dsl-kotlin-plugins + 1.0-SNAPSHOT + pom + compile + + + org.jetbrains.kotlin + kotlin-stdlib-jdk8 + ${kotlin.version} + compile + + + org.jetbrains.kotlin + kotlin-script-runtime + ${kotlin.version} + compile + + + docker-build-publish + docker-build-publish_dsl + 1.1-SNAPSHOT + compile + + + org.json + json + 20180130 + + + diff --git a/.teamcity/settings.kts b/.teamcity/settings.kts new file mode 100644 index 0000000..cd10b2d --- /dev/null +++ b/.teamcity/settings.kts @@ -0,0 +1,32 @@ +import jetbrains.buildServer.configs.kotlin.v2019_2.* +import jetbrains.buildServer.configs.kotlin.v2019_2.buildSteps.script +import jetbrains.buildServer.configs.kotlin.v2019_2.triggers.vcs +import jetbrains.buildServer.configs.kotlin.v2019_2.buildFeatures.PullRequests +import jetbrains.buildServer.configs.kotlin.v2019_2.buildFeatures.commitStatusPublisher +import jetbrains.buildServer.configs.kotlin.v2019_2.buildFeatures.pullRequests +import jetbrains.buildServer.configs.kotlin.v2019_2.vcs.GitVcsRoot +import com.kotlin.v2019_2.buildTypes.DockerBuild + + +version = "2020.2" + + +project { + params { + // This makes it impossible to change the build settings through the UI + param("teamcity.ui.settings.readOnly", "true") + } + + vcsRoot(VCSExample) +} + + +object VCSExample : GitVcsRoot({ + name = "VCSExample" + url = "https://github.com/freefox-do/filepizza.git" + branch = "refs/heads/master" + authMethod = password { + userName = "wellyfox" + password = "zxx010cfab59641ee19092b8307a116427c6ae958a7948f59e971b95cf982c6f2c5d196fb90892f7a6f775d03cbe80d301b" + } +})