Class Default

    • Constructor Detail

      • Default

        @DataBoundConstructor
        public Default()
    • Method Detail

      • shouldDeletePod

        public boolean shouldDeletePod​(KubernetesCloud cloud,
                                       Supplier<io.fabric8.kubernetes.api.model.Pod> pod)
        Description copied from class: PodRetention
        Determines if a agent pod should be deleted after the Jenkins build completes.
        Specified by:
        shouldDeletePod in class PodRetention
        Parameters:
        cloud - - the KubernetesCloud the agent pod belongs to.
        pod - - the Pod running the Jenkins build.
        Returns:
        true if the agent pod should be deleted.
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object