Class BuildServiceAdapter

    • Constructor Detail

      • BuildServiceAdapter

        public BuildServiceAdapter()
    • Method Detail

      • getConfigParameters

        @NotNull
        protected final java.util.Map<java.lang.String,​java.lang.String> getConfigParameters()
      • getSystemProperties

        @NotNull
        protected final java.util.Map<java.lang.String,​java.lang.String> getSystemProperties()
      • getEnvironmentVariables

        @NotNull
        protected final java.util.Map<java.lang.String,​java.lang.String> getEnvironmentVariables()
      • getRunnerParameters

        @NotNull
        protected final java.util.Map<java.lang.String,​java.lang.String> getRunnerParameters()
      • getCheckoutDirectory

        @NotNull
        protected final java.io.File getCheckoutDirectory()
      • getWorkingDirectory

        @NotNull
        protected final java.io.File getWorkingDirectory()
      • createProgramCommandline

        @NotNull
        protected final ProgramCommandLine createProgramCommandline​(@NotNull
                                                                    java.lang.String file,
                                                                    @NotNull
                                                                    java.util.List<java.lang.String> args)
      • getToolPath

        @NotNull
        public final java.lang.String getToolPath​(@NotNull
                                                  java.lang.String toolName)
                                           throws ToolCannotBeFoundException
        Returns path to a tool with given name
        Parameters:
        toolName - name of the tool
        Returns:
        path to a tool on the filesystem
        Throws:
        ToolCannotBeFoundException - if path to a tool can't be located
        Since:
        6.0
      • getBuildTempDirectory

        @NotNull
        public final java.io.File getBuildTempDirectory()
        Returns:
        Temp directory that will be set as temp directory for runner process
        Since:
        6.0
      • getAgentTempDirectory

        @NotNull
        public final java.io.File getAgentTempDirectory()
        Returns:
        temp directory for runner specific files
        Since:
        6.0
      • getAgentConfiguration

        @NotNull
        public final BuildAgentConfiguration getAgentConfiguration()
        Returns:
        build agent configuration
        Since:
        6.0