• Icon: Improvement Improvement
    • Resolution: Fixed
    • Icon: Major Major
    • Jenkins 1.609
      workflow-plugin 1.6
      embeddable-build-status-plugin 1.7

      The new Job type added by the workflow-plugin cannot be casted to AbstractProject:

      java.lang.ClassCastException: org.jenkinsci.plugins.workflow.job.WorkflowJob cannot be cast to hudson.model.AbstractProject
      	at org.jenkinsci.plugins.badge.RunBadgeAction.<init>(RunBadgeAction.java:18)
      	at org.jenkinsci.plugins.badge.RunBadgeActionFactory.createFor(RunBadgeActionFactory.java:21)
      	at hudson.model.Run.getTransientActions(Run.java:376)
      

      Would be nice to see this new plugin covered by a badge too.

          [JENKINS-28642] Add Support to the New Workflow Plugin

          Flávio Augusto Valones created issue -
          Sam Van Oort made changes -
          Assignee Original: Kohsuke Kawaguchi [ kohsuke ] New: Sam Van Oort [ svanoort ]
          Sam Van Oort made changes -
          Status Original: Open [ 1 ] New: In Progress [ 3 ]
          Sam Van Oort made changes -
          Remote Link New: This issue links to "PR to patch this (Web Link)" [ 13181 ]

          Code changed in jenkins
          User: Jesse Glick
          Path:
          COMPATIBILITY.md
          http://jenkins-ci.org/commit/workflow-plugin/0e761dad73fab0f1cb11621690e339b6cc8c5d65
          Log:
          JENKINS-28642 Noting.

          SCM/JIRA link daemon added a comment - Code changed in jenkins User: Jesse Glick Path: COMPATIBILITY.md http://jenkins-ci.org/commit/workflow-plugin/0e761dad73fab0f1cb11621690e339b6cc8c5d65 Log: JENKINS-28642 Noting.

          Code changed in jenkins
          User: Marius Gedminas
          Path:
          .gitignore
          pom.xml
          src/main/java/org/jenkinsci/plugins/badge/BadgeAction.java
          src/main/java/org/jenkinsci/plugins/badge/BadgeActionFactory.java
          src/main/java/org/jenkinsci/plugins/badge/PublicBadgeAction.java
          src/main/java/org/jenkinsci/plugins/badge/RunBadgeAction.java
          src/test/java/org/jenkinsci/plugins/badge/WorkflowBadgeActionTest.java
          http://jenkins-ci.org/commit/embeddable-build-status-plugin/b94c682d349d868893634b1afc0dcab7225f6c7b
          Log:
          Merge pull request #17 from jenkinsci/workflow-compatibility

          JENKINS-28642 Workflow compatibility for embeddable build status

          Compare: https://github.com/jenkinsci/embeddable-build-status-plugin/compare/5e976a690601...b94c682d349d

          SCM/JIRA link daemon added a comment - Code changed in jenkins User: Marius Gedminas Path: .gitignore pom.xml src/main/java/org/jenkinsci/plugins/badge/BadgeAction.java src/main/java/org/jenkinsci/plugins/badge/BadgeActionFactory.java src/main/java/org/jenkinsci/plugins/badge/PublicBadgeAction.java src/main/java/org/jenkinsci/plugins/badge/RunBadgeAction.java src/test/java/org/jenkinsci/plugins/badge/WorkflowBadgeActionTest.java http://jenkins-ci.org/commit/embeddable-build-status-plugin/b94c682d349d868893634b1afc0dcab7225f6c7b Log: Merge pull request #17 from jenkinsci/workflow-compatibility JENKINS-28642 Workflow compatibility for embeddable build status Compare: https://github.com/jenkinsci/embeddable-build-status-plugin/compare/5e976a690601...b94c682d349d

          svanoort, Can we close this ticket as done?

          Manuel Recena Soto added a comment - svanoort , Can we close this ticket as done?
          Manuel Recena Soto made changes -
          Resolution New: Done [ 10000 ]
          Status Original: In Progress [ 3 ] New: Resolved [ 5 ]

          Sam Van Oort added a comment -

          recena You had previously indicated that you felt this code required further changes. I have left this issue open pending this, even though the original work was completed long ago (and recently merged by maintainer at another's request).

          Did this change?

          Sam Van Oort added a comment - recena You had previously indicated that you felt this code required further changes. I have left this issue open pending this, even though the original work was completed long ago (and recently merged by maintainer at another's request). Did this change?
          Sam Van Oort made changes -
          Resolution Original: Done [ 10000 ]
          Status Original: Resolved [ 5 ] New: Reopened [ 4 ]

            svanoort Sam Van Oort
            valones Flávio Augusto Valones
            Votes:
            0 Vote for this issue
            Watchers:
            10 Start watching this issue

              Created:
              Updated:
              Resolved: