[JIRA] (JENKINS-61188) Lockable resources check always runs at least twice for Freestyle Project type

4 views
Skip to first unread message

marcis.liepins.1993@gmail.com (JIRA)

unread,
Feb 22, 2020, 6:32:03 PM2/22/20
to jenkinsc...@googlegroups.com
Marcis Liepins created an issue
 
Jenkins / Bug JENKINS-61188
Lockable resources check always runs at least twice for Freestyle Project type
Issue Type: Bug Bug
Assignee: Tobias Gruetzmacher
Attachments: Screenshot 2020-02-23 at 01.19.49.png, Screenshot 2020-02-23 at 01.27.07.png
Components: lockable-resources-plugin
Created: 2020-02-22 23:31
Environment: Jenkins 2.206 Lockable Resources 2.7
Priority: Major Major
Reporter: Marcis Liepins

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

Add Comment Add Comment
 
This message was sent by Atlassian Jira (v7.13.6#713006-sha1:cc4451f)
Atlassian logo

marcis.liepins.1993@gmail.com (JIRA)

unread,
Feb 23, 2020, 8:04:03 AM2/23/20
to jenkinsc...@googlegroups.com
Marcis Liepins updated an issue
Change By: Marcis Liepins
Environment:
Jenkins 2.206 Lockable Resources 2.7

Jenkins 2.221 Lockable Resources 2.7
Reply all
Reply to author
Forward
0 new messages