-
Improvement
-
Resolution: Done
-
Minor
-
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
- links to
[JENKINS-37054] Use Symbol annotation for Workspace Cleanup plugin
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} |
Status | Original: Open [ 1 ] | New: In Progress [ 3 ] |
Remote Link | New: This issue links to "PR-30 (Web Link)" [ 14799 ] |
Resolution | New: Done [ 10000 ] | |
Status | Original: In Progress [ 3 ] | New: Resolved [ 5 ] |
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-37054Add symbol annotation