Interface SRunnerContext

    • Method Detail

      • addRunnerParameter

        void addRunnerParameter​(@NotNull
                                java.lang.String key,
                                @NotNull
                                java.lang.String value)
        Adds a runner parameter.
        Parameters:
        key - key
        value - value
        Since:
        6.0
      • getBuildParameters

        @NotNull
        java.util.Map<java.lang.String,​java.lang.String> getBuildParameters()
        The readonly map of build step parameters. Build step parameters consist of shared parameters and parameters visible to this particular step only. Use Constants.SYSTEM_PREFIX for system properties and Constants.ENV_PREFIX for environment variables. Parameters without these prefixes are treated as configuration parameters.
        Returns:
        readonly map of build step parameters
        Since:
        6.0
      • addBuildParameter

        void addBuildParameter​(@NotNull
                               java.lang.String key,
                               @NotNull
                               java.lang.String value)
        Adds build parameter to this build step. This parameter will be visible for this build step only. Use Constants.SYSTEM_PREFIX for system properties, or Constants.ENV_PREFIX for environment variables, or parameter without prefix to add configuration parameter (since 7.1) Parameters without these prefixes are configuration parameters.
        Parameters:
        key - key
        value - value
        Since:
        6.0, 7.1
      • addBuildParameters

        void addBuildParameters​(@NotNull
                                java.util.Map<java.lang.String,​java.lang.String> parameters)
        Same as addBuildParameter(String, String) but accepts map
        Parameters:
        parameters - build parameters to add
        Since:
        8.0
      • isEnabled

        boolean isEnabled()
        Returns:
        true if step is enabled, false otherwise
        Since:
        8.0