Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for checkCleanDirUnixLike (0.08 sec)

  1. .teamcity/src/main/kotlin/configurations/CheckTeamCityKotlinDSL.kt

                    workingDir = ".teamcity"
                }
                script {
                    name = "CLEAN_M2"
                    executionMode = BuildStep.ExecutionMode.ALWAYS
                    scriptContent = checkCleanDirUnixLike("%teamcity.agent.jvm.user.home%/.m2/.develocity", exitOnFailure = false)
                }
            }
        }
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Wed Oct 30 04:10:13 UTC 2024
    - 1K bytes
    - Viewed (0)
  2. .teamcity/src/main/kotlin/configurations/GradleBuildConfigurationDefaults.kt

    import model.CIBuildModel
    import model.StageName
    
    const val GRADLE_RUNNER_STEP_NAME = "GRADLE_RUNNER"
    const val GRADLE_RETRY_RUNNER_STEP_NAME = "GRADLE_RETRY_RUNNER"
    
    fun checkCleanDirUnixLike(dir: String, exitOnFailure: Boolean = true) = """
        REPO=$dir
        if [ -e ${'$'}REPO ] ; then
            tree ${'$'}REPO
            rm -rf ${'$'}REPO
            echo "${'$'}REPO was polluted during the build"
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Tue Sep 24 06:22:49 UTC 2024
    - 8K bytes
    - Viewed (0)
Back to top