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

CWP: UX: CommitID gets duplicated in version when the the spec is specified for commitId

    XMLWordPrintable

Details

    Description

      Just a minor issue which leads to long version strings. Noticed it in https://github.com/oleg-nenashev/jenkins-custom-war-packager-ci-demo

      war:
        groupId: "org.jenkins-ci.main"
        artifactId: "jenkins-war"
        source:
          git: https://github.com/jglick/jenkins.git
          commit: 2090468d82e49345519a2457f1d1e7426f01540b
      
      
      [ERROR] No plugin found for prefix 'dependency' in the current project and in the plugin groups [org.apache.maven.plugins, org.codehaus.mojo] available from the repositories [local (/home/ec2-user/.m2/repository), central (https://repo.maven.apache.org/maven2)] -> [Help 1]
      [ERROR] 
      [ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
      [ERROR] Re-run Maven using the -X switch to enable full debug logging.
      [ERROR] 
      [ERROR] For more information about the errors and possible solutions, please read the following articles:
      [ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/NoPluginFoundForPrefixException
      Mar 28, 2018 1:21:54 AM io.jenkins.tools.warpackager.lib.impl.Builder buildIfNeeded
      INFO: Snapshot is missing for org.jenkins-ci.main:jenkins-war:git: https://github.com/jglick/jenkins.git, checkout: 2090468d82e49345519a2457f1d1e7426f01540b: 256.0-2090468d82e49345519a2457f1d1e7426f01540b-2090468d82e49345519a2457f1d1e7426f01540b-SNAPSHOT. Will run the build
      Cloning into '.'...
      Note: checking out '2090468d82e49345519a2457f1d1e7426f01540b'.
      

      Attachments

        Activity

          oleg_nenashev Oleg Nenashev created issue -
          oleg_nenashev Oleg Nenashev made changes -
          Field Original Value New Value
          Assignee Oleg Nenashev [ oleg_nenashev ]
          oleg_nenashev Oleg Nenashev made changes -
          Labels newbie-friendly
          vilacides Isa Vilacides made changes -
          Labels newbie-friendly newbie-friendly triaged

          People

            Unassigned Unassigned
            oleg_nenashev Oleg Nenashev
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated: