-
Type: Clean up
-
Status: Resolved
-
Priority: Major
-
Resolution: Fixed
-
Affects Version/s: NXP-6.0, NXP-7.x, NXP-8.x, NXP-9.x
-
Component/s: Continuous Integration
-
Epic Link:
-
Tags:
For example, this job:
https://qa2.nuxeo.org/jenkins/view/7.10%20Addons%20FT/job/7.10/job/addons_FT_nuxeo-agenda-7.10/
uses this template:
https://qa2.nuxeo.org/jenkins/job/template_marketplace
It seems to be possible to update the groovy part in the publishers section to include workspace cleanup (to be validated with devops):
<hudson.plugins.ws__cleanup.WsCleanup plugin="ws-cleanup@0.34"> <patterns class="empty-list"/> <deleteDirs>false</deleteDirs> <skipWhenFailed>false</skipWhenFailed> <cleanWhenSuccess>true</cleanWhenSuccess> <cleanWhenUnstable>true</cleanWhenUnstable> <cleanWhenFailure>false</cleanWhenFailure> <cleanWhenNotBuilt>true</cleanWhenNotBuilt> <cleanWhenAborted>true</cleanWhenAborted> <notFailBuild>false</notFailBuild> <cleanupMatrixParent>false</cleanupMatrixParent> <externalDelete></externalDelete> </hudson.plugins.ws__cleanup.WsCleanup>
The above template is for 6.0/7.0.
For 8.10:
https://qa2.nuxeo.org/jenkins/view/8.10/job/8.10/job/addons_FT_nuxeo-platform-error-web-8.10/
https://qa2.nuxeo.org/jenkins/job/template_addon-8.10/
https://qa2.nuxeo.org/jenkins/view/8.10/job/8.10/job/packages_marketplace-easyshare-1.3_8.10/
https://qa2.nuxeo.org/jenkins/job/template_marketplace-8.10/
For 9.10:
https://qa2.nuxeo.org/jenkins/view/9.10/job/9.10/job/addons_nuxeo-activity-9.10/
https://qa2.nuxeo.org/jenkins/job/template_addon-9.10/
https://qa2.nuxeo.org/jenkins/view/9.10/job/9.10/job/packages_marketplace-jsf-to-web-ui-marketplace-audit-storage_9.10/
https://qa2.nuxeo.org/jenkins/job/template_marketplace-9.10/
Unfortunately the jobs like the following don't have any template:
https://qa2.nuxeo.org/jenkins/view/7.10/job/7.10/job/addons_nuxeo-activity-7.10/
So either we'll have to update them one by one (much time for not so much benefit ?) or we leave them as is.
- is related to
-
NXBT-2205 Delete folders leaked by the Workspace Cleanup Jenkins plugin
- Resolved