[JIRA] (JENKINS-54541) Unreserve doesn't set environment variable
Title: Message Title Tobias Gruetzmacher updated JENKINS-54541 Jenkins / JENKINS-54541 Unreserve doesn't set environment variable Change By: Tobias Gruetzmacher Status: Fixed but Unreleased Resolved Add Comment This message was sent by Atlassian Jira (v7.13.6#713006-sha1:cc4451f) -- You received this message because you are subscribed to the Google Groups "Jenkins Issues" group. To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-issues+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-issues/JIRA.195313.1541679783000.7342.1572650640483%40Atlassian.JIRA.
[JIRA] (JENKINS-54541) Unreserve doesn't set environment variable
Title: Message Title Tobias Gruetzmacher updated JENKINS-54541 Jenkins / JENKINS-54541 Unreserve doesn't set environment variable Change By: Tobias Gruetzmacher Status: Open Fixed but Unreleased Assignee: Tobias Gruetzmacher Resolution: Fixed Released As: https://github.com/jenkinsci/lockable-resources-plugin/releases/tag/lockable-resources-2.7 Add Comment This message was sent by Atlassian Jira (v7.13.6#713006-sha1:cc4451f) -- You received this message because you are subscribed to the Google Groups "Jenkins Issues" group. To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-issues+
[JIRA] (JENKINS-54541) Unreserve doesn't set environment variable
Title: Message Title Falko Modler commented on JENKINS-54541 Re: Unreserve doesn't set environment variable Thanks for the pointer, Niels Wegner! Add Comment This message was sent by Atlassian Jira (v7.11.2#711002-sha1:fdc329d) -- You received this message because you are subscribed to the Google Groups "Jenkins Issues" group. To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-issues+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.
[JIRA] (JENKINS-54541) Unreserve doesn't set environment variable
Title: Message Title Niels Wegner commented on JENKINS-54541 Re: Unreserve doesn't set environment variable As mentioned in JENKINS-50176 this bug will be covered by that bugfix (PR#117) as well Add Comment This message was sent by Atlassian Jira (v7.11.2#711002-sha1:fdc329d) -- You received this message because you are subscribed to the Google Groups "Jenkins Issues" group. To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-issues+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.
[JIRA] (JENKINS-54541) Unreserve doesn't set environment variable
Title: Message Title Falko Modler edited a comment on JENKINS-54541 Re: Unreserve doesn't set environment variable Same here, Jenkins ver. 2.138.2 and lockable-resources 2.3. This results in a failed build due to {{groovy.lang.MissingPropertyException: No such property: [...] for class: groovy.lang.Binding}} PS: First, I was irritated by [this closed GitHub ticket|https://github.com/jenkinsci/lockable-resources-plugin/issues/96] because I thought it was the same scenario, but it's not!That ticket adressed one build waiting for another (to free up the resource), but here we have a job waiting for a _manually reserved_ resource. Add Comment This message was sent by Atlassian Jira (v7.11.2#711002-sha1:fdc329d) -- You received this message because you are subscribed to the Google Groups "Jenkins Issues" group. To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-issues+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.
[JIRA] (JENKINS-54541) Unreserve doesn't set environment variable
Title: Message Title Falko Modler commented on JENKINS-54541 Re: Unreserve doesn't set environment variable Same here, Jenkins ver. 2.138.2 and lockable-resources 2.3. PS: First, I was irritated by this closed GitHub ticket because I thought it was the same scenario, but it's not! That ticket adressed one build waiting for another (to free up the resource), but here we have a job waiting for a manually reserved resource. Add Comment This message was sent by Atlassian Jira (v7.11.2#711002-sha1:fdc329d) -- You received this message because you are subscribed to the Google Groups "Jenkins Issues" group. To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-issues+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.
[JIRA] (JENKINS-54541) Unreserve doesn't set environment variable
Title: Message Title Steven Foster created an issue Jenkins / JENKINS-54541 Unreserve doesn't set environment variable Issue Type: Bug Assignee: Unassigned Components: lockable-resources-plugin Created: 2018-11-08 12:23 Environment: lockable-resources 2.3 Priority: Major Reporter: Steven Foster The manual reserve feature doesn't work well with the pipeline variable feature. When a user unreserves a resource and the plugin assigns the resource immediately to a queued build, the environment variable won't be correctly set. In LockableResourceManager.unreserve, there is a LockStepExecution.proceed call at the end with the variable left null. I have no idea how to retrieve a singular variable to use at this point in the code. Add Comment