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

Workspace Cleanup integration with Workflow

    XMLWordPrintable

Details

    Description

      Add support for the integration for Jenkins Workflow DSL. Having the means to clean workspaces utilizing the workflow plugin is missing currently and users must resort to scripting this capability, which has it limitations since Antbuilder is not whitelisted as a for groovy CPS libraries. Being able to delete workspaces from the workflow DSL based on patterns would be very useful.

      Attachments

        Issue Links

          Activity

            francisdb francisdb added a comment -

            Is the usage in a pipeline documented somewhere?

            It's not on the list of available snippets (/pipeline-syntax)

            francisdb francisdb added a comment - Is the usage in a pipeline documented somewhere? It's not on the list of available snippets (/pipeline-syntax)

            I've written some Pipeline usage examples here: https://docs.google.com/document/d/1jeIMxyiUyyv-QKXCg1P5_O0e7j89whIO7WfXLG-kcmk/edit?usp=sharing
            But maybe makes sense that these examples to be added on the wiki page.

            The snippets should be available in the Snippet Generator -> General Build Step -> Delete workspace when build is done
            Did you update to 0.30 version?

            alexsomai Alexandru Somai added a comment - I've written some Pipeline usage examples here: https://docs.google.com/document/d/1jeIMxyiUyyv-QKXCg1P5_O0e7j89whIO7WfXLG-kcmk/edit?usp=sharing But maybe makes sense that these examples to be added on the wiki page. The snippets should be available in the Snippet Generator -> General Build Step -> Delete workspace when build is done Did you update to 0.30 version?
            francisdb francisdb added a comment -

            I indeed have 0.30
            Missed the "General build step" in the list.

            Thanks for the examples and indeed would be better on the wiki

            francisdb francisdb added a comment - I indeed have 0.30 Missed the "General build step" in the list. Thanks for the examples and indeed would be better on the wiki

            Code changed in jenkins
            User: Allan Burdajewicz
            Path:
            COMPATIBILITY.md
            http://jenkins-ci.org/commit/pipeline-plugin/fa8f66eb6a080c5eb057a5b8dccdc22d42f91bf9
            Log:
            JENKINS-28454 Add WsCleanup to compatible steps

            scm_issue_link SCM/JIRA link daemon added a comment - Code changed in jenkins User: Allan Burdajewicz Path: COMPATIBILITY.md http://jenkins-ci.org/commit/pipeline-plugin/fa8f66eb6a080c5eb057a5b8dccdc22d42f91bf9 Log: JENKINS-28454 Add WsCleanup to compatible steps

            Code changed in jenkins
            User: Jesse Glick
            Path:
            COMPATIBILITY.md
            http://jenkins-ci.org/commit/pipeline-plugin/0d0879a490fb0f5adbf147f2690c90bce1acf9b3
            Log:
            Merge pull request #420 from Dohbedoh/JENKINS-28454

            JENKINS-28454 Add WsCleanup to compatible steps

            Compare: https://github.com/jenkinsci/pipeline-plugin/compare/6e744eb34fd7...0d0879a490fb

            scm_issue_link SCM/JIRA link daemon added a comment - Code changed in jenkins User: Jesse Glick Path: COMPATIBILITY.md http://jenkins-ci.org/commit/pipeline-plugin/0d0879a490fb0f5adbf147f2690c90bce1acf9b3 Log: Merge pull request #420 from Dohbedoh/ JENKINS-28454 JENKINS-28454 Add WsCleanup to compatible steps Compare: https://github.com/jenkinsci/pipeline-plugin/compare/6e744eb34fd7...0d0879a490fb

            People

              alexsomai Alexandru Somai
              darenjsmith Daren Smith
              Votes:
              2 Vote for this issue
              Watchers:
              7 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: