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

          Code changed in jenkins
          User: Alexandru Somai
          Path:
          pom.xml
          src/main/java/hudson/plugins/ws_cleanup/WsCleanup.java
          src/test/java/hudson/plugins/ws_cleanup/CleanupTest.java
          http://jenkins-ci.org/commit/ws-cleanup-plugin/00232be17630ac293e2adc57eb75179e81389588
          Log:
          JENKINS-37054 Add symbol annotation

          SCM/JIRA link daemon added a comment - Code changed in jenkins User: Alexandru Somai Path: pom.xml src/main/java/hudson/plugins/ws_cleanup/WsCleanup.java src/test/java/hudson/plugins/ws_cleanup/CleanupTest.java http://jenkins-ci.org/commit/ws-cleanup-plugin/00232be17630ac293e2adc57eb75179e81389588 Log: JENKINS-37054 Add symbol annotation

          Code changed in jenkins
          User: Alexandru Somai
          Path:
          pom.xml
          src/test/java/hudson/plugins/ws_cleanup/CleanupTest.java
          http://jenkins-ci.org/commit/ws-cleanup-plugin/2a9c7f51ce6a76077a389ea2c1dea03da6cffeff
          Log:
          JENKINS-37054 Bump Jenkins core version and other dependencies to fully test symbol annotation

          SCM/JIRA link daemon added a comment - Code changed in jenkins User: Alexandru Somai Path: pom.xml src/test/java/hudson/plugins/ws_cleanup/CleanupTest.java http://jenkins-ci.org/commit/ws-cleanup-plugin/2a9c7f51ce6a76077a389ea2c1dea03da6cffeff Log: JENKINS-37054 Bump Jenkins core version and other dependencies to fully test symbol annotation

          Code changed in jenkins
          User: Oliver Gondža
          Path:
          pom.xml
          src/main/java/hudson/plugins/ws_cleanup/WsCleanup.java
          src/test/java/hudson/plugins/ws_cleanup/CleanupTest.java
          http://jenkins-ci.org/commit/ws-cleanup-plugin/9e1004b53f51918bddcaa129926dec1e9054fb3e
          Log:
          Merge pull request #30 from alexsomai/symbol-annotation

          JENKINS-37054 Add symbol annotation

          Compare: https://github.com/jenkinsci/ws-cleanup-plugin/compare/4751cd2e3657...9e1004b53f51

          SCM/JIRA link daemon added a comment - Code changed in jenkins User: Oliver Gondža Path: pom.xml src/main/java/hudson/plugins/ws_cleanup/WsCleanup.java src/test/java/hudson/plugins/ws_cleanup/CleanupTest.java http://jenkins-ci.org/commit/ws-cleanup-plugin/9e1004b53f51918bddcaa129926dec1e9054fb3e Log: Merge pull request #30 from alexsomai/symbol-annotation JENKINS-37054 Add symbol annotation Compare: https://github.com/jenkinsci/ws-cleanup-plugin/compare/4751cd2e3657...9e1004b53f51

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

              Created:
              Updated:
              Resolved: