Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 5 of 5 for workingDir (0.31 sec)

  1. build-logic-commons/basics/src/main/kotlin/gradlebuild/basics/kotlindsl/kotlin-dsl-upstream-candidates.kt

    operator fun File.div(child: String): File =
        resolve(child)
    
    
    fun Project.execAndGetStdout(workingDir: File, ignoreExitValue: Boolean, vararg args: String): String {
        val out = ByteArrayOutputStream()
        exec {
            isIgnoreExitValue = ignoreExitValue
            commandLine(*args)
            standardOutput = out
            this.workingDir = workingDir
        }
        return out.toString().trim()
    }
    
    
    Plain Text
    - Registered: Wed May 08 11:36:15 GMT 2024
    - Last Modified: Sat Sep 30 16:17:28 GMT 2023
    - 933 bytes
    - Viewed (0)
  2. build-logic-commons/basics/src/main/kotlin/gradlebuild/basics/BuildEnvironment.kt

    
    @Suppress("UnstableApiUsage")
    fun Project.git(vararg args: String): Provider<String> {
        val projectDir = layout.projectDirectory.asFile
        val execOutput = providers.exec {
            workingDir = projectDir
            isIgnoreExitValue = true
            commandLine = listOf("git", *args)
            if (OperatingSystem.current().isWindows) {
                commandLine = listOf("cmd", "/c") + commandLine
            }
        }
    Plain Text
    - Registered: Wed May 08 11:36:15 GMT 2024
    - Last Modified: Fri Feb 09 22:52:01 GMT 2024
    - 5.7K bytes
    - Viewed (2)
  3. .teamcity/src/main/kotlin/configurations/PerformanceTest.kt

                        gradleWrapper {
                            name = "GRADLE_RUNNER${if (repeatIndex == 0) "" else "_2"}"
                            tasks = ""
                            workingDir = os.perfTestWorkingDir
                            gradleParams = (
                                performanceTestCommandLine(
    Plain Text
    - Registered: Wed May 08 11:36:15 GMT 2024
    - Last Modified: Wed Apr 24 08:17:56 GMT 2024
    - 5.3K bytes
    - Viewed (0)
  4. .teamcity/src/main/kotlin/util/AdHocPerformanceScenario.kt

        val buildTypeThis = this
        steps {
            killProcessStep(buildTypeThis, KILL_ALL_GRADLE_PROCESSES, os)
            substDirOnWindows(os)
            gradleWrapper {
                name = "GRADLE_RUNNER"
                workingDir = os.perfTestWorkingDir
                gradleParams = (
                    performanceTestCommandLine(
                        "clean performance:%testProject%PerformanceAdHocTest --tests \"%scenario%\"",
    Plain Text
    - Registered: Wed May 08 11:36:15 GMT 2024
    - Last Modified: Tue Feb 13 13:53:39 GMT 2024
    - 4.9K bytes
    - Viewed (2)
  5. .teamcity/src/main/kotlin/configurations/Gradleception.kt

            buildJvm = buildJvm,
            extraSteps = {
                script {
                    name = "CALCULATE_MD5_VERSION_FOR_DOGFOODING_DISTRIBUTION"
                    workingDir = "%teamcity.build.checkoutDir%/dogfood-first-for-hash"
                    scriptContent = """
                        set -x
                        MD5=`find . -type f | sort | xargs md5sum | md5sum | awk '{ print $1 }'`
    Plain Text
    - Registered: Wed May 08 11:36:15 GMT 2024
    - Last Modified: Tue Feb 27 09:57:17 GMT 2024
    - 6K bytes
    - Viewed (0)
Back to top