mangusbrother

Results 2 issues of mangusbrother

Adding the option to override latest build also on the declaritve pipeline mode. Fixes: https://issues.jenkins.io/browse/JENKINS-35083 This is necessary as bitbucket will require all builds to pass for a merge check.