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

Use Symbol annotation for Workspace Cleanup plugin

    XMLWordPrintable

Details

    Description

      Add @Symbol annotations to Workspace Cleanup plugin.
      So the Pipeline code can be changed from:

      step ([$class: 'WsCleanup', cleanWhenFailure: false])
      

      to

      wsCleanup cleanWhenFailure: false
      

      Attachments

        Issue Links

          Activity

            alexsomai Alexandru Somai created issue -
            alexsomai Alexandru Somai made changes -
            Field Original Value New Value
            Description Add {{@Symbol}} annotations to Workspace Cleanup plugin.
            So the Pipeline code can be changed from:

            {code}
            step ([$class: 'WsCleanup', cleanWhenFailure: false])
            {code}

            to

            {code}
            ws-cleanup cleanWhenFailure: false
            {code}
            Add {{@Symbol}} annotations to Workspace Cleanup plugin.
            So the Pipeline code can be changed from:

            {code}
            step ([$class: 'WsCleanup', cleanWhenFailure: false])
            {code}

            to

            {code}
            wsCleanup cleanWhenFailure: false
            {code}
            alexsomai Alexandru Somai made changes -
            Status Open [ 1 ] In Progress [ 3 ]
            alexsomai Alexandru Somai made changes -
            Remote Link This issue links to "PR-30 (Web Link)" [ 14799 ]
            alexsomai Alexandru Somai made changes -
            Resolution Done [ 10000 ]
            Status In Progress [ 3 ] Resolved [ 5 ]

            People

              alexsomai Alexandru Somai
              alexsomai Alexandru Somai
              Votes:
              1 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: