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

Badge in build history displayed even if failed to redeploy

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Major Major
    • maven-plugin
    • None
    • Platform: All, OS: All

      Hudson 1.266
      Maven2 Project

      Maven2プロジェクトで、成果物の再デプロイに失敗してもビルド履歴に再デプロイ済みの
      画像が表示されます。

      パッチを添付しますが、hudson/maven/reporters/MavenAbstractArtifactRecord.javaの
      hasBadge()で、
      再デプロイの情報があれば成功、失敗にかかわらずtrueを返しているのがまずいようです。

          [JENKINS-2764] Badge in build history displayed even if failed to redeploy

          sogabe created issue -

          sogabe added a comment -

          Created an attachment (id=490)
          patch

          sogabe added a comment - Created an attachment (id=490) patch

          Code changed in hudson
          User: : sogabe
          Path:
          trunk/hudson/main/core/src/main/java/hudson/maven/reporters/MavenAbstractArtifactRecord.java
          http://fisheye4.cenqua.com/changelog/hudson/?cs=13871
          Log:
          [FIXED JENKINS-2764] Show Badge in bug history only when artifacts are redployed successfully

          SCM/JIRA link daemon added a comment - Code changed in hudson User: : sogabe Path: trunk/hudson/main/core/src/main/java/hudson/maven/reporters/MavenAbstractArtifactRecord.java http://fisheye4.cenqua.com/changelog/hudson/?cs=13871 Log: [FIXED JENKINS-2764] Show Badge in bug history only when artifacts are redployed successfully
          SCM/JIRA link daemon made changes -
          Resolution New: Fixed [ 1 ]
          Status Original: Open [ 1 ] New: Resolved [ 5 ]
          Andrew Bayer made changes -
          Status Original: Resolved [ 5 ] New: Closed [ 6 ]
          Jenkins IRC Bot made changes -
          Component/s New: maven-plugin [ 16033 ]
          Component/s Original: maven2 [ 15487 ]
          R. Tyler Croy made changes -
          Workflow Original: JNJira [ 132837 ] New: JNJira + In-Review [ 201706 ]

            Unassigned Unassigned
            sogabe sogabe
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved: