diff --git a/.classpath b/.classpath deleted file mode 100644 index f0257c5..0000000 --- a/.classpath +++ /dev/null @@ -1,44 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/.project b/.project deleted file mode 100644 index 54dcec6..0000000 --- a/.project +++ /dev/null @@ -1,34 +0,0 @@ - - - example-maven - - - - - - org.eclipse.jdt.core.javabuilder - - - - - org.eclipse.m2e.core.maven2Builder - - - - - - org.eclipse.jdt.core.javanature - org.eclipse.m2e.core.maven2Nature - - - - 1615730799346 - - 30 - - org.eclipse.core.resources.regexFilterMatcher - node_modules|.git|__CREATED_BY_JAVA_LANGUAGE_SERVER__ - - - - diff --git a/.teamcity/pluginData/_Self/mavenSettings/settings.xml b/.teamcity/pluginData/_Self/mavenSettings/settings.xml deleted file mode 100644 index a19c081..0000000 --- a/.teamcity/pluginData/_Self/mavenSettings/settings.xml +++ /dev/null @@ -1,261 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - nexus - admin - admin123 - - - - - - - - - - - - - - - - - - diff --git a/.teamcity/pom.xml b/.teamcity/pom.xml deleted file mode 100644 index 22d6e8e..0000000 --- a/.teamcity/pom.xml +++ /dev/null @@ -1,104 +0,0 @@ - - - 4.0.0 - Netology Config DSL Script - Netology - Netology_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://51.250.44.75:8111/app/dsl-plugins-repository - - 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-latest - ${teamcity.dsl.version} - compile - - - org.jetbrains.teamcity - configs-dsl-kotlin-plugins-latest - 1.0-SNAPSHOT - pom - compile - - - org.jetbrains.kotlin - kotlin-stdlib-jdk8 - ${kotlin.version} - compile - - - org.jetbrains.kotlin - kotlin-script-runtime - ${kotlin.version} - compile - - - \ No newline at end of file diff --git a/.teamcity/settings.kts b/.teamcity/settings.kts deleted file mode 100644 index 4f76c89..0000000 --- a/.teamcity/settings.kts +++ /dev/null @@ -1,94 +0,0 @@ -import jetbrains.buildServer.configs.kotlin.* -import jetbrains.buildServer.configs.kotlin.buildSteps.maven -import jetbrains.buildServer.configs.kotlin.sharedResource -import jetbrains.buildServer.configs.kotlin.triggers.vcs - -/* -The settings script is an entry point for defining a TeamCity -project hierarchy. The script should contain a single call to the -project() function with a Project instance or an init function as -an argument. - -VcsRoots, BuildTypes, Templates, and subprojects can be -registered inside the project using the vcsRoot(), buildType(), -template(), and subProject() methods respectively. - -To debug settings scripts in command-line, run the - - mvnDebug org.jetbrains.teamcity:teamcity-configs-maven-plugin:generate - -command and attach your debugger to the port 8000. - -To debug in IntelliJ Idea, open the 'Maven Projects' tool window (View --> Tool Windows -> Maven Projects), find the generate task node -(Plugins -> teamcity-configs -> teamcity-configs:generate), the -'Debug' option is available in the context menu for the task. -*/ - -version = "2022.04" - -project { - - buildType(Build) - - template(MavenBuild) - - params { - text("cat_name", "Wizzard", readOnly = true, allowEmpty = true) - param("env.cat_name", "%cat_name%") - param("env.name", "Alexey1") - } - - features { - sharedResource { - id = "PROJECT_EXT_2" - name = "ya" - resourceType = quoted(100) - } - } -} - -object Build : BuildType({ - templates(MavenBuild) - name = "Build" -}) - -object MavenBuild : Template({ - name = "maven build" - - artifactRules = "target/*.jar => target" - - vcs { - root(DslContext.settingsRoot) - } - - steps { - maven { - id = "RUNNER_1" - - conditions { - doesNotContain("teamcity.build.branch", "master") - } - goals = "clean test" - runnerArgs = "-Dmaven.test.failure.ignore=true" - userSettingsSelection = "settings.xml" - } - maven { - name = "Deploy" - id = "RUNNER_4" - - conditions { - contains("teamcity.build.branch", "master") - } - goals = "clean deploy" - runnerArgs = "-Dmaven.test.failure.ignore=true" - userSettingsSelection = "settings.xml" - } - } - - triggers { - vcs { - id = "TRIGGER_1" - } - } -})