jgitver / jgitver/jgitver-maven-plugin

what is different between 1.5.1 and 1.7.1

Open
#151 3 comments 0 reactions 0 assignees View on GitHub
feedback expected question
Dominant language
Groovy
Stars
166
Forks
42
PR merge metrics
No merged PRs in 30d

Description

tried to use the newest version 1.7.1 and jenkins builds behaved different than before. when creating an annotated tag called 1.0.0 it builds.

with 1.5.1. the behaviour is the same running local and running on jenkins. it creates myjar-1.0.0.jar out of a tag with name 1.0.0 on the current build. for jenkins, one needs to make sure it retrieves the tags, whihc is not the default. then it would build myjar-1.0.0.jar, just as local.

with 1.7.1 the behaviour changed slightly. local it continues to build myjar-1.0.0.jar. but on jenkins it creates 1.0.1-SNAPSHOT out of the same commit.

i tried to make out what changed from 1.5.1 to 1.7.1 but could not see the cause immediate. would you know where this different behaviour might come from?

Contributor guide

Open the contributing guide

Research direction

Reproduce the versioning difference between local Maven builds and Jenkins builds using jgitver 1.5.1 and 1.7.1, an annotated 1.0.0 tag, and Jenkins tag retrieval enabled. Compare the resulting artifacts and investigate the change between those releases; done means identifying the cause of the 1.0.1-SNAPSHOT result and documenting the expected behavior.

Written by the indexing model from the issue text.

Assessment

Tech stack
git, groovy
Domain
build-system, ci-cd
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.