Interface BeforeStartInstanceArguments

    • Method Detail

      • addAgentCustomProperty

        void addAgentCustomProperty​(@NotNull
                                    String key,
                                    @NotNull
                                    String value)
        Add new build agent property. Either system of env. This is equal to adding a new line to buildAgent.properties file
        Parameters:
        key - key
        value - value
      • doNotStartInstance

        void doNotStartInstance​(@NotNull
                                String reason)
        Disables start on the instance of the image settings the following reason
        Parameters:
        reason - reason to deny start