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

pipeline properties became permanent

XMLWordPrintable

      In a MultiBranch Pipeline, when adding properties to Jenkinsfile like follow, configuration became permanent even if removed from Jenkinsfile

      properties([[$class: 'BuildDiscarderProperty',
        strategy: [$class: 'LogRotator', numToKeepStr: '10']],
        pipelineTriggers([cron('H/30 9-23 * * *')]),
      ])

      Deleting and recreating the job seems the only way to reset properties.

            vaimr Denis Saponenko
            sgargel sgargel
            Votes:
            1 Vote for this issue
            Watchers:
            5 Start watching this issue

              Created:
              Updated: