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

No signature of method: org.jenkinsci.plugins.workflow.job.WorkflowRun.getBuildVariables()

    XMLWordPrintable

Details

    Description

      Calling the getBuildVariables() method but got the error "hudson.remoting.ProxyException: groovy.lang.MissingMethodException:
      No signature of method: org.jenkinsci.plugins.workflow.job.WorkflowRun.getBuildVariables() is applicable for argument types: () values: []"

       

      Note that, some jobs using FreeStyleBuild while others using WorkflowRun.

      I'm newly on jenkin jira, so if any wrong please correct me.

      Thanks

      Attachments

        Activity

          xuyen Xuyen Tran created issue -
          xuyen Xuyen Tran made changes -
          Field Original Value New Value
          Assignee Sam Van Oort [ svanoort ]
          xuyen Xuyen Tran made changes -
          Description Calling the getBuildVariables() method but got the error "hudson.remoting.ProxyException: groovy.lang.MissingMethodException:
          No signature of method: org.jenkinsci.plugins.workflow.job.WorkflowRun.getBuildVariables() is applicable for argument types: () values: []"

           

          Note that, some job name we can run successfully. The method getBuildVariables() do not belong to WorkflowRun. It should be FreeStyleBuild, but I don't know how to apply in my code.

          I'm newly on jenkin jira, so if any wrong please correct me.

          Thanks
          Calling the getBuildVariables() method but got the error "hudson.remoting.ProxyException: groovy.lang.MissingMethodException:
           No signature of method: org.jenkinsci.plugins.workflow.job.WorkflowRun.getBuildVariables() is applicable for argument types: () values: []"

           

          Note that, some jobs using FreeStyleBuild while others using WorkflowRun.

          I'm newly on jenkin jira, so if any wrong please correct me.

          Thanks

          People

            svanoort Sam Van Oort
            xuyen Xuyen Tran
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated: