[ 
https://issues.apache.org/jira/browse/EAGLE-581?focusedWorklogId=280727&page=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-280727
 ]

ASF GitHub Bot logged work on EAGLE-581:
----------------------------------------

                Author: ASF GitHub Bot
            Created on: 23/Jul/19 00:57
            Start Date: 23/Jul/19 00:57
    Worklog Time Spent: 10m 
      Work Description: pkuwm commented on pull request #505: [EAGLE-581] 
Generate buildnumber when building the project.
URL: https://github.com/apache/eagle/pull/505
 
 
   
 
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
[email protected]


Issue Time Tracking
-------------------

            Worklog Id:     (was: 280727)
            Time Spent: 10m
    Remaining Estimate: 0h

> Generate a build number when building the project.
> --------------------------------------------------
>
>                 Key: EAGLE-581
>                 URL: https://issues.apache.org/jira/browse/EAGLE-581
>             Project: Eagle
>          Issue Type: New Feature
>    Affects Versions: v0.5.0
>            Reporter: H Lu
>            Assignee: H Lu
>            Priority: Major
>             Fix For: v0.5.0
>
>          Time Spent: 10m
>  Remaining Estimate: 0h
>
> Use case:
> we need to know what version(latest commit revision) of source code we are 
> using for the current build so that it will be convenient for us to clarify 
> different builds. So when you might make 100 builds of version 
> 0.5.0-SNAPSHOT, you can differentiate between them all.
> Solution:
> Use buildnumber-maven-plugin
> 1. Add Maven plugin buildnumber-maven-plugin to pom.xml file
> 2. Add manifest entries to META-INF/MANIFEST.MF
> Build-Branch: EAGLE-581
> Build-Commit: f6fad2ebe8a384a6d17e40c609041ff77f6a692c
> Build-Time: 2016-10-02 09:05:31 AM, UTC
> 3. Placehold VERSION.
> The build info is stored in RELEASE File in the root directory. RELEASE is 
> like:
> project.version: 0.5.0-incubating-SNAPSHOT
> build.branch: EAGLE-581
> build.commit: f6fad2ebe8a384a6d17e40c609041ff77f6a692c
> build.time: 2016-10-02 01:39:40 AM, PDT



--
This message was sent by Atlassian JIRA
(v7.6.14#76016)

Reply via email to