I wanna save custom values on jenkins for read and write, it looks that groovy could help to do it,but I am new to that language,and I want to search any alternatives first.Is there anyway to handle this?
PS: The workflow I created was the first one-- free style
For the things you describe, you would probably want the Active Choices plugin. The plugin allows you to use groovy to generate custom parameter setup based on groovy. I think you would need to write out a properties file or something to save off the value you want to increment automatically, though I would just recommend using the BUILD_NUMBER variable for ResVersion instead of trying to save off and restore. This would tie the version to the build that created it for easy reference.