Class BuildDefaults

    • Method Detail

      • getDefaultProxy

        public ProxySpec getDefaultProxy()
      • setDefaultProxy

        public void setDefaultProxy​(ProxySpec defaultProxy)
      • getEnv

        public List<EnvVar> getEnv()
        env is a set of default environment variables that will be applied to the build if the specified variables do not exist on the build
      • setEnv

        public void setEnv​(List<EnvVar> env)
        env is a set of default environment variables that will be applied to the build if the specified variables do not exist on the build
      • getGitProxy

        public ProxySpec getGitProxy()
      • setGitProxy

        public void setGitProxy​(ProxySpec gitProxy)
      • getImageLabels

        public List<ImageLabel> getImageLabels()
        imageLabels is a list of docker labels that are applied to the resulting image. User can override a default label by providing a label with the same name in their Build/BuildConfig.
      • setImageLabels

        public void setImageLabels​(List<ImageLabel> imageLabels)
        imageLabels is a list of docker labels that are applied to the resulting image. User can override a default label by providing a label with the same name in their Build/BuildConfig.
      • getAdditionalProperties

        public Map<String,​Object> getAdditionalProperties()
      • setAdditionalProperty

        public void setAdditionalProperty​(String name,
                                          Object value)
      • setAdditionalProperties

        public void setAdditionalProperties​(Map<String,​Object> additionalProperties)