Manually set Jenkins build number?

Can Jenkins build number be selected? For example, I'm doing 14 now, but it had an error. Without specifying why, I would like to be able to remove # 14 and redo the new # 14, is that possible?

I know that this is contrary to logic, but in our particular case it would be useful for us.


source to share

1 answer

You can use this plugin to set the next build number. Although, please note that you really shouldn't be doing this anyway.

Jenkins seems to require the next build number to be greater than the last one. AFAICT, there is no way to do what you ask.



All Articles