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

Links are wrong if Maven is configured to deploy in webdav

    Details

    • Type: Improvement
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Labels:
      None
    • Environment:
      Plugin 1.3

      Description

      If Maven uses webdav to deploy its artifacts (it is often useful when you have large artifacts) then the deployment URL is dav:http:// which then is used in Jenkins links generated by the Maven Deployment Linker plugin. This link (dav:http:// is unknow by broser and thus the plugin is useless).
      For this special case were we are using webdav we can just drop the dav: from the link).
      For a better fix for various upload protocols managed by Maven a good solution may be to add a configuration parameter in the project to set what is the read URL corresponding to an upload URL (or globally in the server with a mapping from->to). In all case we should be able to map several mappings as we could imagine that inside a project people are deploying in several locations (even if it's not a really good maven practice)

        Activity

        Hide
        aheritier Arnaud Héritier added a comment -

        A really big fix : https://github.com/jenkinsci/maven-deployment-linker-plugin/pull/1
        It is for the workaround solution

        Show
        aheritier Arnaud Héritier added a comment - A really big fix : https://github.com/jenkinsci/maven-deployment-linker-plugin/pull/1 It is for the workaround solution
        Hide
        scm_issue_link SCM/JIRA link daemon added a comment -

        Code changed in jenkins
        User: Arnaud Héritier
        Path:
        src/main/java/hudson/plugins/mavendeploymentlinker/MavenDeploymentLinkerAction.java
        http://jenkins-ci.org/commit/maven-deployment-linker-plugin/2dbac9ccda6ce613c88bfffcb3a199711b46bdb1
        Log:
        JENKINS-9114 : Remove dav: prefix for webdav uploads

        Show
        scm_issue_link SCM/JIRA link daemon added a comment - Code changed in jenkins User: Arnaud Héritier Path: src/main/java/hudson/plugins/mavendeploymentlinker/MavenDeploymentLinkerAction.java http://jenkins-ci.org/commit/maven-deployment-linker-plugin/2dbac9ccda6ce613c88bfffcb3a199711b46bdb1 Log: JENKINS-9114 : Remove dav: prefix for webdav uploads
        Hide
        scm_issue_link SCM/JIRA link daemon added a comment -

        Code changed in jenkins
        User: Arnaud Héritier
        Path:
        src/main/java/hudson/plugins/mavendeploymentlinker/MavenDeploymentLinkerAction.java
        http://jenkins-ci.org/commit/maven-deployment-linker-plugin/832f23a0aa0364cebf49eaa523bcb73f74be27d0
        Log:
        JENKINS-9114 : Remove dav: prefix for webdav uploads

        Show
        scm_issue_link SCM/JIRA link daemon added a comment - Code changed in jenkins User: Arnaud Héritier Path: src/main/java/hudson/plugins/mavendeploymentlinker/MavenDeploymentLinkerAction.java http://jenkins-ci.org/commit/maven-deployment-linker-plugin/832f23a0aa0364cebf49eaa523bcb73f74be27d0 Log: JENKINS-9114 : Remove dav: prefix for webdav uploads
        Hide
        scm_issue_link SCM/JIRA link daemon added a comment -

        Code changed in jenkins
        User: Arnaud Héritier
        Path:
        http://jenkins-ci.org/commit/maven-deployment-linker-plugin/b8143b04f46d2009f35465fc58431f2a77172c18
        Log:
        Merge branch 'JENKINS-9114' of github.com:aheritier/maven-deployment-linker-plugin into JENKINS-9114

        Conflicts:
        src/main/java/hudson/plugins/mavendeploymentlinker/MavenDeploymentLinkerAction.java

        Compare: https://github.com/jenkinsci/maven-deployment-linker-plugin/compare/cedda91...b8143b0

        Show
        scm_issue_link SCM/JIRA link daemon added a comment - Code changed in jenkins User: Arnaud Héritier Path: http://jenkins-ci.org/commit/maven-deployment-linker-plugin/b8143b04f46d2009f35465fc58431f2a77172c18 Log: Merge branch ' JENKINS-9114 ' of github.com:aheritier/maven-deployment-linker-plugin into JENKINS-9114 Conflicts: src/main/java/hudson/plugins/mavendeploymentlinker/MavenDeploymentLinkerAction.java Compare: https://github.com/jenkinsci/maven-deployment-linker-plugin/compare/cedda91...b8143b0
        Hide
        aheritier Arnaud Héritier added a comment -

        Will be fixed in 1.4

        Show
        aheritier Arnaud Héritier added a comment - Will be fixed in 1.4

          People

          • Assignee:
            aheritier Arnaud Héritier
            Reporter:
            aheritier Arnaud Héritier
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: