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

New "WorkflowScript: 14: "ansiColor" should have 1 arguments but has 0 arguments instead" exception thrown in version 1.1.1

    XMLWordPrintable

    Details

    • Similar Issues:
    • Sprint:
      Declarative - 1.2

      Description

      Steps to Reproduce:

      1. Using version 1.1.1 of Pipeline Model Definition Plugin, try running a job using this Jenkinsfile: https://github.com/mozilla/fxapom/blob/13f8e668f5d99ebc6a66045db238494479acef00/Jenkinsfile

      Actual Results:

      WorkflowScript: 14: "ansiColor" should have 1 arguments but has 0 arguments instead. @ line 14, column 5. ansiColor() ^

       

      We fixed/worked around this in https://github.com/mozilla/fxapom/pull/91 but as it was working before, want to check if it's an intended change.

        Attachments

          Issue Links

            Activity

            Show
            stephendonner Stephen Donner added a comment - https://github.com/mozilla/Addon-Tests/blob/master/Jenkinsfile https://github.com/mozilla/socorro/blob/master/e2e-tests/Jenkinsfile https://github.com/mozilla/treeherder-tests/blob/master/Jenkinsfile https://github.com/mozilla/snippets-tests/blob/master/Jenkinsfile https://github.com/mozilla/mozillians-tests/blob/master/Jenkinsfile https://github.com/mozilla-services/go-bouncer/blob/master/tests/e2e/Jenkinsfile Shared libraries: https://github.com/mozilla/fxtest-jenkins-pipeline
            Hide
            abayer Andrew Bayer added a comment -

            You, sir, rock. Thank you very much.

            Show
            abayer Andrew Bayer added a comment - You, sir, rock. Thank you very much.
            Hide
            abayer Andrew Bayer added a comment -

            Re-opening - I think I'm going to set it to not fail when it sees no parameters passed to a single-argument @DataBoundConstructor.

            Show
            abayer Andrew Bayer added a comment - Re-opening - I think I'm going to set it to not fail when it sees no parameters passed to a single-argument @DataBoundConstructor .
            Show
            abayer Andrew Bayer added a comment - And a PR -  https://github.com/jenkinsci/pipeline-model-definition-plugin/pull/145
            Hide
            jglick Jesse Glick added a comment -

            The PR is closed; is this still “in review”?

            Discussion on the dev list suggests that you would like a change to DescribableModel to report on the nullability of constructor parameters.

            Show
            jglick Jesse Glick added a comment - The PR is closed; is this still “in review”? Discussion on the dev list suggests that you would like a change to DescribableModel to report on the nullability of constructor parameters.

              People

              Assignee:
              Unassigned Unassigned
              Reporter:
              stephendonner Stephen Donner
              Votes:
              2 Vote for this issue
              Watchers:
              6 Start watching this issue

                Dates

                Created:
                Updated: