Currently you cannot rebuild a Jenkins job because the OpenShift Build Config does not allow patching a resource that does not actually change.
In the case of the BuildConfig, the output.to.name is being patched with a value that includes the commit hash. However, in the case of a Jenkins job rebuild, the commit hash does not change and therefore the following error occurs:
I.e. the name does not actually change so the patch fails.
We should allow for rebuilding Jenkins jobs by overcoming this shortcoming.
Currently you cannot rebuild a Jenkins job because the OpenShift Build Config does not allow patching a resource that does not actually change.
In the case of the BuildConfig, the
output.to.name
is being patched with a value that includes the commit hash. However, in the case of a Jenkins job rebuild, the commit hash does not change and therefore the following error occurs:I.e. the
name
does not actually change so the patch fails. We should allow for rebuilding Jenkins jobs by overcoming this shortcoming.