Add overloading of the timeOutFor method for hudson.model.AbstractProject in src/main/java/hudson/plugins/build_timeout/global/GlobalTimeOutConfiguration.java and add corresponding overloading of setUpEnvironment method in src/main/java/hudson/plugins/build_timeout/global/GlobalTimeOutRunListener.java to make sure this does nothing when we have a Matrix job or any job that is inherited from the AbstractProject class. Previous failed attempt to solve this include #104. This will be a more thorough treatment of the issue compared to that superficial one.
Checklist
[x] Make sure you are opening from a topic/feature/bugfix branch (right side) and not your main branch!
[x] Ensure that the pull request title represents the desired changelog entry
[x] Please describe what you did
[x] Link to relevant issues in GitHub or Jira
[x] Link to relevant pull requests, esp. upstream and downstream changes
[x] Ensure you have provided tests - that demonstrates feature works or fixes the issue
Fixes #100
Description
Add overloading of the
timeOutFor
method forhudson.model.AbstractProject
insrc/main/java/hudson/plugins/build_timeout/global/GlobalTimeOutConfiguration.java
and add corresponding overloading ofsetUpEnvironment
method insrc/main/java/hudson/plugins/build_timeout/global/GlobalTimeOutRunListener.java
to make sure this does nothing when we have a Matrix job or any job that is inherited from theAbstractProject
class. Previous failed attempt to solve this include #104. This will be a more thorough treatment of the issue compared to that superficial one.Checklist