Lockable resources check always runs at least twice for Freestyle Project type

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

XMLWordPrintable

      Scenario:
      Create new Jenkins project of type Freestyle
      Enable lockable resources option and provide for fieldĀ LabelĀ valid label value, for example OPERA
      Run build

      org.jenkins.plugins.lockableresources LOGGER output

      aLogger shows that check has been run 2 times, although first run should be enough as all resources were free and was acquired during 1st run

      This behaviour can be reproduced also if running Groovy script

      With more complex Groovy scripts it can be noticed that check sometimes runs more then 2 times although first check was successful, when it is run 2nd time it messes with resource count check, and then it is run again two more times

            Assignee:
            Unassigned
            Reporter:
            Marcis Liepins
            Archiver:
            Jenkins Service Account

              Created:
              Updated:
              Archived: