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 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

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

              Created:
              Updated:
              Resolved: