I have a parametrized build in jenkins, in case the variable is the number of a version, or a patch. That every time I will build the digit.
I would like to save the last value typed in the variable , so I do not need to check the last one I generated.
Q.: In the future I will automate to determine if I want to generate the latest patch or version. I use gitflow as the versioning framework, and the version control tool the < mercurial