-
Notifications
You must be signed in to change notification settings - Fork 31
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
LAST_TAG not working #48
Comments
Hi,
it is based on the git tags, do you have a public git repo which the plugin is failing to get LAST_TAG? |
Also, can you try via declarative pipeline DSL:
|
Hi, repo 1 - 485ec8cb0b415119b99a29547530a3d0f6a01841 something like that. |
but let's start from the last_tag not working. and still it just shows me changes from last build, not since the last tag on this git repo. |
Probably that's the issue, I don't have experience with multi-branch pipeline and never used nor tested the plugin in such situation. |
Hi,
i might be using it wrong but i want to see all changes between current build and last build that has a tag (any tag?), and if i understand correctly the "LAST_TAG" is according to the jenkins builds tags, not the git tags?
using the syntax below still only gives me changes since last build, not since the last tag. am i using it wrong?
thanks
Asher
using:
def publisher = LastChanges.getLastChangesPublisher "LAST_TAG", "SIDE", "LINE", true, true, "", "", "", "", ""
publisher.publishLastChanges()
def changes = publisher.getLastChanges()
println(changes.getEscapedDiff())
for (commit in changes.getCommits()) {
println(commit)
def commitInfo = commit.getCommitInfo()
println(commitInfo)
println(commitInfo.getCommitMessage())
println(commit.getChanges())
}
The text was updated successfully, but these errors were encountered: