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

Use Symbol annotation for Workspace Cleanup plugin

    • Icon: Improvement Improvement
    • Resolution: Done
    • Icon: Minor Minor
    • ws-cleanup-plugin
    • None

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

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

      to

      wsCleanup cleanWhenFailure: false
      

          [JENKINS-37054] Use Symbol annotation for Workspace Cleanup plugin

          Alexandru Somai created issue -
          Alexandru Somai made changes -
          Description Original: 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}
          New: 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}
          Alexandru Somai made changes -
          Status Original: Open [ 1 ] New: In Progress [ 3 ]
          Alexandru Somai made changes -
          Remote Link New: This issue links to "PR-30 (Web Link)" [ 14799 ]
          Alexandru Somai made changes -
          Resolution New: Done [ 10000 ]
          Status Original: In Progress [ 3 ] New: Resolved [ 5 ]

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

              Created:
              Updated:
              Resolved: