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

Ability to "Keep this build forever" from Pipeline DSL

    XMLWordPrintable

Details

    Description

      I would love to be able to "Keep this build forever" from pipeline DSL syntax. Currently this is not available via currentBuild (or http://javadoc.jenkins.io/plugin/workflow-support/org/jenkinsci/plugins/workflow/support/steps/build/RunWrapper.html respectively).

      A workaround is to use currentBuild.rawBuild.keepLog(), but this requires adding two security exceptions, one of them being critical...

      Simply exposing keepLog(boolean) via the RunWrapper would solve it imho

      Attachments

        Issue Links

          Activity

            tknerr Torben Knerr created issue -
            abayer Andrew Bayer made changes -
            Field Original Value New Value
            Link This issue is duplicated by JENKINS-39028 [ JENKINS-39028 ]
            typz Francois Ferrand made changes -
            Resolution Fixed [ 1 ]
            Status Open [ 1 ] Resolved [ 5 ]
            reinholdfuereder Reinhold Füreder made changes -
            Attachment image-2018-06-26-12-22-58-108.png [ 43214 ]

            People

              Unassigned Unassigned
              tknerr Torben Knerr
              Votes:
              1 Vote for this issue
              Watchers:
              7 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: