jenkinsci / jenkinsci/debian-package-builder-plugin

Artifacts aren't archive when using epoch

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

Description

Currently plugin fail to archive deb artefacts when using epoch.

https://github.com/jenkinsci/debian-package-builder-plugin/blob/master/src/main/java/ru/yandex/jenkins/plugins/debuilder/DebianPackageBuilder.java#L160
`latestVersion` is with epoch. But `dpkg-buildpackage` doesn't put it in name!

There is really a problem with version handling in this plugin. I'm quite sure #28 can fix it with some custom.

Contributor guide

Open the contributing guide

Research direction

Read DebianPackageBuilder.java around line 160 and trace how latestVersion is used when locating the generated package. Compare the version containing an epoch with the filename produced by dpkg-buildpackage, and review issue #28 for the proposed version-handling direction. Done means epoch-bearing packages are archived using the actual generated filename.

Written by the indexing model from the issue text.

Assessment

Tech stack
java
Domain
build-system
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.