Closed driftertest closed 3 years ago
Hi,
I guess you have some local modifications in the file system on the build server.
You ignore these modifications when running the release task with --no-dirty
Next time you run the the print version will detect these modifications again and add the SNAPSHOT suffix.
You could try setting the option noDirtyCheck = true
in your build file to always ignore local modifications e.g.:
semver {
noDirtyCheck = true
}
Or you could try to find out what is modified by running git status
in your pipeline and then add those files/folders to your .gitignore
file.
thx, noDirtyCheck = true
helped me.
thx, noDirtyCheck = true
helped me.
Hi, sorry for my english. In my Jenkins pipeline i use docker image jdk:8u201 for building my app by gradle. And when i run printVersion after releaseVersion, module show me some strange (if you see, that the SHA of commit is same a81ff1f and latest tag is v0.3). If I do the same thing locally, then everything is fine. Where i make mistake?