Details
-
Improvement
-
Status: Resolved (View Workflow)
-
Major
-
Resolution: Fixed
-
1.448
Description
Currently, in a Maven Project, fingerprints are generated for all build artifacts (created and used).
In a freestyle project, you can manually select files to be fingerprinted using the Fingerprinter publisher.
This needs to be possible for Maven Projects, too.
Consider for example a Maven project that uses post-build steps to create additional artifacts. You can archive them (without them being fingerprinted), but you cannot choose to fingerprint them.
Looking at hudson.tasks.Fingerprinter, I see no reason why this publisher should not be available for configuration.
If you enter the publisher by hand into the config.xml of a job, it works (until you reconfig that job, of course), so this seems to be a display issue. One small drawback: two fingerprintActions are included.
Tasks:
- make Fingerprinter available for Maven projects
- prevent Fingerprinter from always creating a new FingerprintAction (i.e. let it check for any existing FingerprintActions (like MavenFingerprinter does))
the second part is trivial, I can create a pull request for that.
Attachments
Issue Links
- depends on
-
JENKINS-17606 Copy Artifact's fingerprinting creates second hudson.tasks.Fingerprinter_-FingerprintAction section with just the artifacts copied
-
- Closed
-
- is duplicated by
-
JENKINS-18615 Add option do disable fingerprinting for maven jobs
-
- Resolved
-
- is related to
-
JENKINS-19712 [Fingerprint] Excessive Heap consumption during "Waiting for Jenkins to finish collecting data"
-
- Open
-
-
JENKINS-11814 Maven artifact fingerprints are computed and recorded twice
-
- Resolved
-
Activity
Field | Original Value | New Value |
---|---|---|
Resolution | Not A Defect [ 7 ] | |
Status | Open [ 1 ] | Resolved [ 5 ] |
Resolution | Not A Defect [ 7 ] | |
Status | Resolved [ 5 ] | Reopened [ 4 ] |
Description |
Currently, in a Maven Project, fingerprints are generated for all build artifacts (created and used). In a freestyle project, you can manually select files to be fingerprinted using the Fingerprinter publisher. This needs to be possible for Maven Projects, too. Consider for example a Maven project that uses post-build steps to create additional artifacts. You con archive them (without them being fingerprinted), but you cannot choose to fingerprint them. Looking at hudson.tasks.Fringerprinter, I see no reason why this publisher should not be available for configuration. If you enter the publisher by hand into the config.xml of a job, it works (until you reconfig that job, of course). One small drawback: two fingerprintActions are included. Tasks: - make Fingerprinter available for Maven projects - prevent Fingerprinter from always creating a new FingerprintAction (i.e. let it check for any existing FingerprintActions (like MavenFingerprinter does)) the second part is trivial, I can create a pull request for that. |
Currently, in a Maven Project, fingerprints are generated for all build artifacts (created and used). In a freestyle project, you can manually select files to be fingerprinted using the Fingerprinter publisher. This needs to be possible for Maven Projects, too. Consider for example a Maven project that uses post-build steps to create additional artifacts. You can archive them (without them being fingerprinted), but you cannot choose to fingerprint them. Looking at hudson.tasks.Fingerprinter, I see no reason why this publisher should not be available for configuration. If you enter the publisher by hand into the config.xml of a job, it works (until you reconfig that job, of course), so this seems to be a display issue. One small drawback: two fingerprintActions are included. Tasks: - make Fingerprinter available for Maven projects - prevent Fingerprinter from always creating a new FingerprintAction (i.e. let it check for any existing FingerprintActions (like MavenFingerprinter does)) the second part is trivial, I can create a pull request for that. |
Environment | 1.448 |
Attachment | FreeStylePublishers.png [ 21437 ] | |
Attachment | MavenJobPublishers.png [ 21438 ] |
Labels | fingerprints performance | |
Summary | Fingerprinter-Publisher should be available in Maven jobs | Make fingerprinting configurable in Maven projects |
Link | This issue is related to JENKINS-19712 [ JENKINS-19712 ] |
Link |
This issue is related to |
Link |
This issue depends on |
Assignee | Jesse Glick [ jglick ] |
Status | Reopened [ 4 ] | Open [ 1 ] |
Status | Open [ 1 ] | In Progress [ 3 ] |
Resolution | Fixed [ 1 ] | |
Status | In Progress [ 3 ] | Resolved [ 5 ] |
Link |
This issue is duplicated by |
Component/s | maven-plugin [ 16033 ] | |
Component/s | maven2 [ 15487 ] |
Workflow | JNJira [ 141552 ] | JNJira + In-Review [ 189685 ] |
Already is there.