jenkinsci / jenkinsci/debian-package-builder-plugin

Dynamic package version numbers.

Open
#43 0 comments 3 reactions 0 assignees View on GitHub
Dominant language
Java
Stars
28
Forks
28
PR merge metrics
No merged PRs in 30d

Description

It would be helpful to me to have the ability to alter the generated package version string by re-structuring it with a combination of static text and variable substitution. For example:

$deb_version+$timestamp~$build_id.$git_commit_short

$deb_version - current vesion from the changelog
$deb_plus1 - Current version from changelog with the rightmost number increments.
$timestamp - build start time in text.
$epoch - build start time in epoch format.
$build_id -the id of the jenkins build.
$git_commit_short - the hash of the short git commit.
... the list could go on.

Thanks
ben

Contributor guide

Open the contributing guide

Research direction

The issue names no files, tests, or entry points. Start by locating where the plugin generates package version strings and how Jenkins build metadata is exposed. Before implementation, define the supported substitutions, formatting rules, and tests that would demonstrate the requested behavior is complete.

Written by the indexing model from the issue text.

Assessment

Tech stack
java
Domain
build-system, ci-cd
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
30/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.