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

Unhelpful message when job name is wrong

    Details

    • Type: Bug
    • Status: Open
    • Priority: Minor
    • Resolution: Unresolved
    • Component/s: build-flow-plugin
    • Labels:
      None
    • Environment:
      Jenkins 1.460
      Build Flow 0.3
      Red Hat Enterprise Linux 5.5 64 bit
      Sun Java 1.6.0_20

      Description

      build("some_nonexistent_job_name");
      leads to an error
      FATAL:null

      Since typos and mistakes are common by humans, instead print a message
      Job "some_nonexistent_job_name" does not exist

        Activity

        Hide
        bgolding Ben Golding added a comment -

        This is fixed in 0.6 or earlier:

        ERROR: Failed to run DSL Script
        com.cloudbees.plugins.flow.JobNotFoundException: Item some_nonexistent_job_namenot found (or isn't a job).
        	at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
        	at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)
        	...
        
        Show
        bgolding Ben Golding added a comment - This is fixed in 0.6 or earlier: ERROR: Failed to run DSL Script com.cloudbees.plugins.flow.JobNotFoundException: Item some_nonexistent_job_namenot found (or isn't a job). at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method) at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39) ...

          People

          • Assignee:
            ndeloof Nicolas De Loof
            Reporter:
            bgolding Ben Golding
          • Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

            • Created:
              Updated: