Hare build was failing with below error in certain cases.
[Pipeline] End of Pipeline
[Checks API] No suitable checks publisher found.
hudson.remoting.ProxyException: groovy.lang.MissingPropertyException: No such property: release_build for class: WorkflowScript
at org.codehaus.groovy.runtime.ScriptBytecodeAdapter.unwrap(ScriptBytecodeAdapter.java:53)
at org.codehaus.groovy.runtime.ScriptBytecodeAdapter.getProperty(ScriptBytecodeAdapter.java:458)
at org.kohsuke.groovy.sandbox.impl.Checker$7.call(Checker.java:355)
at org.kohsuke.groovy.sandbox.GroovyInterceptor.onGetProperty(GroovyInterceptor.java:68)
at org.jenkinsci.plugins.scriptsecurity.sandbox.groovy.SandboxInterceptor.onGetProperty(SandboxInterceptor.java:354)
Added condition to execute Update Jira stage only when release_build variable value is non-zero. Added the same logic to other component jobs also to avoid such issues.
Improved python package installation steps to make it simpler.
Design
For Bug, Describe the fix here.
For Feature, Post the link for design
Coding
Checklist for Author
[ ] Coding conventions are followed and code is consistent
Testing
Checklist for Author
[ ] Unit and System Tests are added
[ ] Test Cases cover Happy Path, Non-Happy Path and Scalability
Problem Statement
Added condition to execute
Update Jira
stage only whenrelease_build
variable value is non-zero. Added the same logic to other component jobs also to avoid such issues.Improved python package installation steps to make it simpler.
Design
Coding
Checklist for Author
Testing
Checklist for Author
Impact Analysis
Checklist for Author/Reviewer/GateKeeper
Review Checklist
Checklist for Author
Documentation
Checklist for Author