More help when entering number of executors for slave

This issue is archived. You can view it, but you can't modify it. Learn more

XMLWordPrintable

    • Type: Improvement
    • Resolution: Fixed
    • Priority: Major
    • Component/s: core
    • Environment:
      Platform: All, OS: All

      I just noticed that if I dont enter any value for the executor field when
      creating a slave and press SAVE i get the below ugly text:
      Status Code: 500
      Exception:
      Stacktrace:

      java.lang.IllegalArgumentException: hudson.model.Descriptor$FormException:
      Invalid slave configuration for local. Invalid # of executors.

      Couldnt the executor field's checkurl() method also work with empty/null
      strings? This would mean that the warning would show when starting to add a new
      slave, but I dont think that is a problem. The warning is better than a 500
      page. Just let me know if you agree, and then I can fix it.

            Assignee:
            Unassigned
            Reporter:
            redsolo
            Archiver:
            Jenkins Service Account

              Created:
              Updated:
              Resolved:
              Archived: