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

custom workspace not available for maven or ivy projects

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Component/s: core, ivy-plugin
    • Labels:
      None
    • Environment:
      Jenkins: 1.398
      Server/Slave: Centos 5.5
       

      Description

      We cannot use a custom workspace for our Ivy or Maven projects but it is available for the freestyle or matrix jobs. As we are rolling out multitarget parallel builds we would like to be able to share the workspace.

        Issue Links

          Activity

          peter_kline Peter Kline created issue -
          peter_kline Peter Kline made changes -
          Field Original Value New Value
          Component/s ivy [ 15519 ]
          Hide
          peter_kline Peter Kline added a comment -

          Is no one hitting this issue or having a similar requirement?

          Show
          peter_kline Peter Kline added a comment - Is no one hitting this issue or having a similar requirement?
          Hide
          pouetlavache pouet la vache added a comment - - edited

          Hi,

          I have the same requirement, moreover my maven workspace could be a non versionned repository.
          Up to now we used freestyle jobs so I've been surprised to not have the ability to configure workspace in maven jobs.
          As we want to separate jenkins config files from workspaces it is annoying.

          Show
          pouetlavache pouet la vache added a comment - - edited Hi, I have the same requirement, moreover my maven workspace could be a non versionned repository. Up to now we used freestyle jobs so I've been surprised to not have the ability to configure workspace in maven jobs. As we want to separate jenkins config files from workspaces it is annoying.
          Hide
          peter_kline Peter Kline added a comment -

          My problem as well is that I cannot use a free-style job and still have artifactory integration. I desperately need this functionality as we want to split jobs to different workspaces on the same build slave.

          Show
          peter_kline Peter Kline added a comment - My problem as well is that I cannot use a free-style job and still have artifactory integration. I desperately need this functionality as we want to split jobs to different workspaces on the same build slave.
          kutzi kutzi made changes -
          Link This issue is related to JENKINS-5077 [ JENKINS-5077 ]
          kutzi kutzi made changes -
          Assignee kutzi [ kutzi ]
          Hide
          kutzi kutzi added a comment -

          I'll take a look at it.

          Show
          kutzi kutzi added a comment - I'll take a look at it.
          Hide
          kutzi kutzi added a comment -

          I've fixed this for Maven projects.
          Since the customWorkspace attribute is now part of AbstractProject, fixing this for Ivy projects, too, should just be a matter of adding the configuration UI.

          Show
          kutzi kutzi added a comment - I've fixed this for Maven projects. Since the customWorkspace attribute is now part of AbstractProject, fixing this for Ivy projects, too, should just be a matter of adding the configuration UI.
          kutzi kutzi made changes -
          Status Open [ 1 ] Resolved [ 5 ]
          Resolution Fixed [ 1 ]
          Hide
          dogfood dogfood added a comment -

          Integrated in jenkins_main_trunk #724
          JENKINS-8848 allow custom workspaces for maven jobs
          [FIXED JENKINS-8848] recording the previous change and the version

          Kohsuke Kawaguchi : e65f893b1bc0608ef57095c71eb0517c5353bda1
          Files :

          • maven-plugin/src/main/resources/hudson/maven/MavenModuleSet/configure-entries.jelly
          • core/src/main/java/hudson/model/FreeStyleProject.java
          • war/src/main/webapp/help/project-config/custom-workspace.html
          • core/src/main/java/hudson/model/AbstractBuild.java
          • core/src/main/java/hudson/matrix/MatrixBuild.java
          • core/src/main/java/hudson/model/FreeStyleBuild.java
          • core/src/main/java/hudson/matrix/MatrixProject.java
          • war/src/main/webapp/help/project-config/custom-workspace_de.html
          • war/src/main/webapp/help/project-config/custom-workspace_tr.html
          • war/src/main/webapp/help/project-config/custom-workspace_fr.html
          • core/src/main/java/hudson/model/AbstractProject.java

          Kohsuke Kawaguchi : 2c7961e7e084a7d7bcab3040226a45a019f7915c
          Files :

          • core/src/main/java/hudson/model/AbstractProject.java
          • changelog.html
          Show
          dogfood dogfood added a comment - Integrated in jenkins_main_trunk #724 JENKINS-8848 allow custom workspaces for maven jobs [FIXED JENKINS-8848] recording the previous change and the version Kohsuke Kawaguchi : e65f893b1bc0608ef57095c71eb0517c5353bda1 Files : maven-plugin/src/main/resources/hudson/maven/MavenModuleSet/configure-entries.jelly core/src/main/java/hudson/model/FreeStyleProject.java war/src/main/webapp/help/project-config/custom-workspace.html core/src/main/java/hudson/model/AbstractBuild.java core/src/main/java/hudson/matrix/MatrixBuild.java core/src/main/java/hudson/model/FreeStyleBuild.java core/src/main/java/hudson/matrix/MatrixProject.java war/src/main/webapp/help/project-config/custom-workspace_de.html war/src/main/webapp/help/project-config/custom-workspace_tr.html war/src/main/webapp/help/project-config/custom-workspace_fr.html core/src/main/java/hudson/model/AbstractProject.java Kohsuke Kawaguchi : 2c7961e7e084a7d7bcab3040226a45a019f7915c Files : core/src/main/java/hudson/model/AbstractProject.java changelog.html
          tbingaman Timothy Bingaman made changes -
          Link This issue is blocking JENKINS-9464 [ JENKINS-9464 ]
          Hide
          tbingaman Timothy Bingaman added a comment -

          Just added a related issue for myself to update the Ivy Plugin accordingly once this change has been released.

          Show
          tbingaman Timothy Bingaman added a comment - Just added a related issue for myself to update the Ivy Plugin accordingly once this change has been released.
          Hide
          scm_issue_link SCM/JIRA link daemon added a comment -

          Code changed in jenkins
          User: Christoph Kutzinski
          Path:
          core/src/main/java/hudson/matrix/MatrixBuild.java
          core/src/main/java/hudson/matrix/MatrixProject.java
          core/src/main/java/hudson/model/AbstractBuild.java
          core/src/main/java/hudson/model/AbstractProject.java
          core/src/main/java/hudson/model/FreeStyleBuild.java
          core/src/main/java/hudson/model/FreeStyleProject.java
          maven-plugin/src/main/resources/hudson/maven/MavenModuleSet/configure-entries.jelly
          war/src/main/webapp/help/project-config/custom-workspace.html
          war/src/main/webapp/help/project-config/custom-workspace_de.html
          war/src/main/webapp/help/project-config/custom-workspace_fr.html
          war/src/main/webapp/help/project-config/custom-workspace_tr.html
          http://jenkins-ci.org/commit/jenkins/e65f893b1bc0608ef57095c71eb0517c5353bda1
          Log:
          JENKINS-8848 allow custom workspaces for maven jobs

          Show
          scm_issue_link SCM/JIRA link daemon added a comment - Code changed in jenkins User: Christoph Kutzinski Path: core/src/main/java/hudson/matrix/MatrixBuild.java core/src/main/java/hudson/matrix/MatrixProject.java core/src/main/java/hudson/model/AbstractBuild.java core/src/main/java/hudson/model/AbstractProject.java core/src/main/java/hudson/model/FreeStyleBuild.java core/src/main/java/hudson/model/FreeStyleProject.java maven-plugin/src/main/resources/hudson/maven/MavenModuleSet/configure-entries.jelly war/src/main/webapp/help/project-config/custom-workspace.html war/src/main/webapp/help/project-config/custom-workspace_de.html war/src/main/webapp/help/project-config/custom-workspace_fr.html war/src/main/webapp/help/project-config/custom-workspace_tr.html http://jenkins-ci.org/commit/jenkins/e65f893b1bc0608ef57095c71eb0517c5353bda1 Log: JENKINS-8848 allow custom workspaces for maven jobs
          Hide
          scm_issue_link SCM/JIRA link daemon added a comment -

          Code changed in jenkins
          User: Kohsuke Kawaguchi
          Path:
          changelog.html
          core/src/main/java/hudson/model/AbstractProject.java
          http://jenkins-ci.org/commit/jenkins/2c7961e7e084a7d7bcab3040226a45a019f7915c
          Log:
          [FIXED JENKINS-8848] recording the previous change and the version
          marker.

          Show
          scm_issue_link SCM/JIRA link daemon added a comment - Code changed in jenkins User: Kohsuke Kawaguchi Path: changelog.html core/src/main/java/hudson/model/AbstractProject.java http://jenkins-ci.org/commit/jenkins/2c7961e7e084a7d7bcab3040226a45a019f7915c Log: [FIXED JENKINS-8848] recording the previous change and the version marker.
          Hide
          scm_issue_link SCM/JIRA link daemon added a comment -

          Code changed in jenkins
          User: Christoph Kutzinski
          Path:
          core/src/main/java/hudson/matrix/MatrixBuild.java
          core/src/main/java/hudson/matrix/MatrixProject.java
          core/src/main/java/hudson/model/AbstractBuild.java
          core/src/main/java/hudson/model/AbstractProject.java
          core/src/main/java/hudson/model/FreeStyleBuild.java
          core/src/main/java/hudson/model/FreeStyleProject.java
          maven-plugin/src/main/resources/hudson/maven/MavenModuleSet/configure-entries.jelly
          war/src/main/webapp/help/project-config/custom-workspace.html
          war/src/main/webapp/help/project-config/custom-workspace_de.html
          war/src/main/webapp/help/project-config/custom-workspace_fr.html
          war/src/main/webapp/help/project-config/custom-workspace_tr.html
          http://jenkins-ci.org/commit/jenkins/e65f893b1bc0608ef57095c71eb0517c5353bda1
          Log:
          JENKINS-8848 allow custom workspaces for maven jobs

          Show
          scm_issue_link SCM/JIRA link daemon added a comment - Code changed in jenkins User: Christoph Kutzinski Path: core/src/main/java/hudson/matrix/MatrixBuild.java core/src/main/java/hudson/matrix/MatrixProject.java core/src/main/java/hudson/model/AbstractBuild.java core/src/main/java/hudson/model/AbstractProject.java core/src/main/java/hudson/model/FreeStyleBuild.java core/src/main/java/hudson/model/FreeStyleProject.java maven-plugin/src/main/resources/hudson/maven/MavenModuleSet/configure-entries.jelly war/src/main/webapp/help/project-config/custom-workspace.html war/src/main/webapp/help/project-config/custom-workspace_de.html war/src/main/webapp/help/project-config/custom-workspace_fr.html war/src/main/webapp/help/project-config/custom-workspace_tr.html http://jenkins-ci.org/commit/jenkins/e65f893b1bc0608ef57095c71eb0517c5353bda1 Log: JENKINS-8848 allow custom workspaces for maven jobs
          Hide
          scm_issue_link SCM/JIRA link daemon added a comment -

          Code changed in jenkins
          User: Kohsuke Kawaguchi
          Path:
          changelog.html
          core/src/main/java/hudson/model/AbstractProject.java
          http://jenkins-ci.org/commit/jenkins/2c7961e7e084a7d7bcab3040226a45a019f7915c
          Log:
          [FIXED JENKINS-8848] recording the previous change and the version
          marker.

          Show
          scm_issue_link SCM/JIRA link daemon added a comment - Code changed in jenkins User: Kohsuke Kawaguchi Path: changelog.html core/src/main/java/hudson/model/AbstractProject.java http://jenkins-ci.org/commit/jenkins/2c7961e7e084a7d7bcab3040226a45a019f7915c Log: [FIXED JENKINS-8848] recording the previous change and the version marker.
          peter_kline Peter Kline made changes -
          Status Resolved [ 5 ] Closed [ 6 ]
          Hide
          scm_issue_link SCM/JIRA link daemon added a comment -

          Code changed in jenkins
          User: Christoph Kutzinski
          Path:
          core/src/main/java/hudson/matrix/MatrixBuild.java
          core/src/main/java/hudson/matrix/MatrixProject.java
          http://jenkins-ci.org/commit/matrix-project-plugin/3a193ec6caa371ee2c4b56d5130364437ca87784
          Log:
          JENKINS-8848 allow custom workspaces for maven jobs
          Originally-Committed-As: e65f893b1bc0608ef57095c71eb0517c5353bda1

          Show
          scm_issue_link SCM/JIRA link daemon added a comment - Code changed in jenkins User: Christoph Kutzinski Path: core/src/main/java/hudson/matrix/MatrixBuild.java core/src/main/java/hudson/matrix/MatrixProject.java http://jenkins-ci.org/commit/matrix-project-plugin/3a193ec6caa371ee2c4b56d5130364437ca87784 Log: JENKINS-8848 allow custom workspaces for maven jobs Originally-Committed-As: e65f893b1bc0608ef57095c71eb0517c5353bda1
          Hide
          cowwoc cowwoc added a comment -

          I don't see an option for custom workspaces under Jenkins 1.480. I am looking under task -> configuration -> advanced project configuration. Was this feature removed?

          Show
          cowwoc cowwoc added a comment - I don't see an option for custom workspaces under Jenkins 1.480. I am looking under task -> configuration -> advanced project configuration. Was this feature removed?
          cowwoc cowwoc made changes -
          Resolution Fixed [ 1 ]
          Status Closed [ 6 ] Reopened [ 4 ]
          cowwoc cowwoc made changes -
          Status Reopened [ 4 ] Resolved [ 5 ]
          Fix Version/s current [ 10162 ]
          Resolution Fixed [ 1 ]
          Hide
          cowwoc cowwoc added a comment -

          I found this under Build -> Use Custom Workspace. This differs from freestyle projects that list it under Advanced Project Options.

          Show
          cowwoc cowwoc added a comment - I found this under Build -> Use Custom Workspace. This differs from freestyle projects that list it under Advanced Project Options.
          Hide
          scm_issue_link SCM/JIRA link daemon added a comment -

          Code changed in jenkins
          User: Christoph Kutzinski
          Path:
          src/main/resources/hudson/maven/MavenModuleSet/configure-entries.jelly
          http://jenkins-ci.org/commit/maven-plugin/610671fcc9e5202ebfbe0e82ea6710411c017b92
          Log:
          JENKINS-8848 allow custom workspaces for maven jobs
          Originally-Committed-As: e65f893b1bc0608ef57095c71eb0517c5353bda1

          Show
          scm_issue_link SCM/JIRA link daemon added a comment - Code changed in jenkins User: Christoph Kutzinski Path: src/main/resources/hudson/maven/MavenModuleSet/configure-entries.jelly http://jenkins-ci.org/commit/maven-plugin/610671fcc9e5202ebfbe0e82ea6710411c017b92 Log: JENKINS-8848 allow custom workspaces for maven jobs Originally-Committed-As: e65f893b1bc0608ef57095c71eb0517c5353bda1

            People

            • Assignee:
              kutzi kutzi
              Reporter:
              peter_kline Peter Kline
            • Votes:
              2 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: