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

Add Support to the New Workflow Plugin

    XMLWordPrintable

Details

    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

            svanoort, LGTM. I closed the issue because I saw that the PR was merged.

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

            recena Re-closing, since it sounds like the feedback has changed.

            svanoort Sam Van Oort added a comment - recena Re-closing, since it sounds like the feedback has changed.

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

            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.
            rtyler R. Tyler Croy added a comment -

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

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

            released with v1.9

            thomas_dee Thomas Döring added a comment - released with v1.9

            People

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

              Dates

                Created:
                Updated:
                Resolved: