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

Custom workspace can not be defined for Matrix projects

    Details

    • Type: New Feature
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Component/s: matrix-project-plugin
    • Labels:
      None
    • Environment:
      hudson 1.337
    • Similar Issues:
      Show 5 results

      Description

      It should be possible to at least replace job name in workspace directory, so that if workspace directory is set as "mydir" actual workspace is "workspace/mydir/label/<configuration>"

        Attachments

          Issue Links

            Activity

            Hide
            samodelkin samodelkin added a comment -

            It is not a duplicate: it is not currently possible to configure custom workspace directory for matrix projects at all.

            Show
            samodelkin samodelkin added a comment - It is not a duplicate: it is not currently possible to configure custom workspace directory for matrix projects at all.
            Hide
            swiest Simon Wiest added a comment -

            Added patch that introduces support for a custom workspace in multi-configuration projects (a.k.a 'matrix projects'). As this is new functionality and does not any change existing bevaviour, I'd like to commit it in the next days, if nobody objects.

            Implementation note:
            The UI/Jelly parts for the custom workspace feature of free style and matrix jobs has been refactored to /lib/hudson/project to become consistent with other features available for both project types, e.g. quiet period or the SCM checkout retry count.

            Show
            swiest Simon Wiest added a comment - Added patch that introduces support for a custom workspace in multi-configuration projects (a.k.a 'matrix projects'). As this is new functionality and does not any change existing bevaviour, I'd like to commit it in the next days, if nobody objects. Implementation note: The UI/Jelly parts for the custom workspace feature of free style and matrix jobs has been refactored to /lib/hudson/project to become consistent with other features available for both project types, e.g. quiet period or the SCM checkout retry count.
            Hide
            dogfood dogfood added a comment -

            Integrated in hudson_main_trunk #255
            [FIXED JENKINS-5077] Added support for custom workspaces in matrix projects.

            swiest :
            Files :

            • /trunk/hudson/main/core/src/main/java/hudson/matrix/MatrixBuild.java
            • /trunk/hudson/main/core/src/main/resources/lib/hudson/project/config-customWorkspace_zh_TW.properties
            • /trunk/hudson/main/core/src/main/resources/hudson/model/FreeStyleProject/configure-advanced_ja.properties
            • /trunk/hudson/main/core/src/main/java/hudson/matrix/MatrixRun.java
            • /trunk/hudson/main/core/src/main/resources/lib/hudson/project/config-customWorkspace_ru.properties
            • /trunk/hudson/main/core/src/main/resources/lib/hudson/project/config-customWorkspace_de.properties
            • /trunk/hudson/main/core/src/main/resources/hudson/model/FreeStyleProject/configure-advanced.jelly
            • /trunk/hudson/main/core/src/main/resources/lib/hudson/project/config-customWorkspace_tr.properties
            • /trunk/hudson/main/core/src/main/resources/lib/hudson/project/config-customWorkspace_pt_BR.properties
            • /trunk/hudson/main/core/src/main/resources/hudson/model/FreeStyleProject/configure-advanced_es.properties
            • /trunk/hudson/main/core/src/main/resources/hudson/model/FreeStyleProject/configure-advanced_fr.properties
            • /trunk/hudson/main/core/src/main/resources/hudson/model/FreeStyleProject/configure-advanced_zh_TW.properties
            • /trunk/hudson/main/core/src/main/resources/lib/hudson/project/config-customWorkspace_ja.properties
            • /trunk/hudson/main/core/src/main/resources/hudson/matrix/MatrixProject/configure-entries.jelly
            • /trunk/hudson/main/core/src/main/resources/lib/hudson/project/config-customWorkspace.jelly
            • /trunk/hudson/main/core/src/main/java/hudson/matrix/MatrixProject.java
            • /trunk/hudson/main/core/src/main/resources/hudson/model/FreeStyleProject/configure-advanced_pt_BR.properties
            • /trunk/hudson/main/core/src/main/resources/hudson/model/FreeStyleProject/configure-advanced_ru.properties
            • /trunk/hudson/main/core/src/main/resources/hudson/model/FreeStyleProject/configure-advanced_de.properties
            • /trunk/hudson/main/core/src/main/resources/lib/hudson/project/config-customWorkspace_es.properties
            • /trunk/hudson/main/core/src/main/resources/lib/hudson/project/config-customWorkspace_fr.properties
            • /trunk/hudson/main/core/src/main/resources/hudson/model/FreeStyleProject/configure-advanced_tr.properties
            Show
            dogfood dogfood added a comment - Integrated in hudson_main_trunk #255 [FIXED JENKINS-5077] Added support for custom workspaces in matrix projects. swiest : Files : /trunk/hudson/main/core/src/main/java/hudson/matrix/MatrixBuild.java /trunk/hudson/main/core/src/main/resources/lib/hudson/project/config-customWorkspace_zh_TW.properties /trunk/hudson/main/core/src/main/resources/hudson/model/FreeStyleProject/configure-advanced_ja.properties /trunk/hudson/main/core/src/main/java/hudson/matrix/MatrixRun.java /trunk/hudson/main/core/src/main/resources/lib/hudson/project/config-customWorkspace_ru.properties /trunk/hudson/main/core/src/main/resources/lib/hudson/project/config-customWorkspace_de.properties /trunk/hudson/main/core/src/main/resources/hudson/model/FreeStyleProject/configure-advanced.jelly /trunk/hudson/main/core/src/main/resources/lib/hudson/project/config-customWorkspace_tr.properties /trunk/hudson/main/core/src/main/resources/lib/hudson/project/config-customWorkspace_pt_BR.properties /trunk/hudson/main/core/src/main/resources/hudson/model/FreeStyleProject/configure-advanced_es.properties /trunk/hudson/main/core/src/main/resources/hudson/model/FreeStyleProject/configure-advanced_fr.properties /trunk/hudson/main/core/src/main/resources/hudson/model/FreeStyleProject/configure-advanced_zh_TW.properties /trunk/hudson/main/core/src/main/resources/lib/hudson/project/config-customWorkspace_ja.properties /trunk/hudson/main/core/src/main/resources/hudson/matrix/MatrixProject/configure-entries.jelly /trunk/hudson/main/core/src/main/resources/lib/hudson/project/config-customWorkspace.jelly /trunk/hudson/main/core/src/main/java/hudson/matrix/MatrixProject.java /trunk/hudson/main/core/src/main/resources/hudson/model/FreeStyleProject/configure-advanced_pt_BR.properties /trunk/hudson/main/core/src/main/resources/hudson/model/FreeStyleProject/configure-advanced_ru.properties /trunk/hudson/main/core/src/main/resources/hudson/model/FreeStyleProject/configure-advanced_de.properties /trunk/hudson/main/core/src/main/resources/lib/hudson/project/config-customWorkspace_es.properties /trunk/hudson/main/core/src/main/resources/lib/hudson/project/config-customWorkspace_fr.properties /trunk/hudson/main/core/src/main/resources/hudson/model/FreeStyleProject/configure-advanced_tr.properties
            Hide
            scm_issue_link SCM/JIRA link daemon added a comment -

            Code changed in hudson
            User: : kohsuke
            Path:
            trunk/hudson/main/core/src/main/java/hudson/matrix/MatrixRun.java
            trunk/hudson/main/core/src/main/resources/lib/hudson/project/config-customWorkspace.jelly
            http://jenkins-ci.org/commit/34845
            Log:
            [FIXED JENKINS-5077] Custom workspace can not be defined for Matrix
            projects

            Show
            scm_issue_link SCM/JIRA link daemon added a comment - Code changed in hudson User: : kohsuke Path: trunk/hudson/main/core/src/main/java/hudson/matrix/MatrixRun.java trunk/hudson/main/core/src/main/resources/lib/hudson/project/config-customWorkspace.jelly http://jenkins-ci.org/commit/34845 Log: [FIXED JENKINS-5077] Custom workspace can not be defined for Matrix projects
            Hide
            dogfood dogfood added a comment -

            Integrated in hudson_main_trunk #266

            Show
            dogfood dogfood added a comment - Integrated in hudson_main_trunk #266

              People

              • Assignee:
                swiest Simon Wiest
                Reporter:
                samodelkin samodelkin
              • Votes:
                3 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: