Uploaded image for project: 'Jenkins'
  1. Jenkins
  2. JENKINS-13508

build expiry step

XMLWordPrintable

    • Icon: New Feature New Feature
    • Resolution: Unresolved
    • Icon: Critical Critical
    • plugin-proposals
    • None

      currently, actions can be specified in the pre-build, build and post-build step. I am requesting that it becomes possible to specify actions to be taken when a build expires.
      Increasingly, Jenkins is being used for jobs that go beyond building in the strict sense of the word. Often such jobs allocate resources that are not cleaned up by vanilla build expiry. Hence it should be possible to specify what clean-up actions should be taken additional to the vanilla implementation.
      Artifact deployment is a good example of a use case where this feature could/should be used; deploying on a remote server involves copying artifacts to this server, where they take up disk space. When a run expires, it should be possible to specify that the version of the artifacts installed by the expired build should be deleted.

            Unassigned Unassigned
            yo Johan Peeters
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated: