Class BuildSettings


  • public class BuildSettings
    extends Object
    Build settings of one build node in the graph of build nodes.
     MyNode {
        agent: [name of agents]
        onParentFailure: (BUILD_ANYWAY, NO_BUILD)
        maxBuildTime: 1:00 (hh:mm, 00:00 don't limit)
     }
     
    • Field Detail

      • INFINITE_DURATION

        public static final Duration INFINITE_DURATION
      • DEFAULT_BUILD_DURATION

        public static final Duration DEFAULT_BUILD_DURATION
    • Constructor Detail

      • BuildSettings

        public BuildSettings​(String jobName)
      • BuildSettings

        public BuildSettings​(BuildSettings settingsToCopy)
        Since Java doesn't support deep object copy without magic tricks, we are manually copying all the fields over. If any of the fields in the settings are changed, this method should change as well.