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

Add Support to the New Workflow Plugin

    XMLWordPrintable

    Details

    • Similar Issues:

      Description

      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.

        Attachments

          Issue Links

            Activity

            Hide
            scm_issue_link 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.

            Show
            scm_issue_link 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.
            Hide
            scm_issue_link 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

            Show
            scm_issue_link 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
            Hide
            recena Manuel Recena Soto added a comment -

            Sam Van Oort, Can we close this ticket as done?

            Show
            recena Manuel Recena Soto added a comment - Sam Van Oort , Can we close this ticket as done?
            Hide
            svanoort Sam Van Oort added a comment -

            Manuel Recena Soto 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?

            Show
            svanoort Sam Van Oort added a comment - Manuel Recena Soto 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?
            Hide
            recena Manuel Recena Soto added a comment -

            Sam Van Oort, LGTM. I closed the issue because I saw that the PR was merged.

            Show
            recena Manuel Recena Soto added a comment - Sam Van Oort , LGTM. I closed the issue because I saw that the PR was merged.
            Hide
            svanoort Sam Van Oort added a comment -

            Manuel Recena Soto Re-closing, since it sounds like the feedback has changed.

            Show
            svanoort Sam Van Oort added a comment - Manuel Recena Soto Re-closing, since it sounds like the feedback has changed.
            Hide
            scm_issue_link SCM/JIRA link daemon added a comment -

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

            Show
            scm_issue_link SCM/JIRA link daemon added a comment - Code changed in jenkins User: Jesse Glick Path: COMPATIBILITY.md http://jenkins-ci.org/commit/workflow-plugin/89ed1f8935f2d770cf18d6bd7d4df013f02348d4 Log: JENKINS-28642 Noting merge.
            Hide
            rtyler R. Tyler Croy added a comment -

            What's left to get a new version of the plugin with this change released?

            Show
            rtyler R. Tyler Croy added a comment - What's left to get a new version of the plugin with this change released?

              People

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

                Dates

                • Created:
                  Updated:
                  Resolved: