Interface SRunnerContext

    • Method Detail

      • addRunnerParameter

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

        @NotNull
        Map<String,​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
                               String key,
                               @NotNull
                               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
      • isEnabled

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