Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[jgit-dev] Storing a build number in Git repository

Hi,

Is there be a safe, atomic, way to store a build number in a Git repository using JGit? Let's assume the Git repository in question is canonical and there is a corresponding canonical build server. I would like to remove any reliance on an external systems, would prefer not to store the build number in a file that users can see, and prefer not to pollute the repository with log entries corresponding to modifying the build number. If a build succeeded I would like to do something akin to amend the commit that built where I stuff the build number somewhere I can retrieve, except I don't want to actually amend the commit message.

Maybe this is simply inappropriate to do, but wanted to see if anyone has any thoughts.

Thanks,

Jason

----------------------------------------------------------
Jason van Zyl
Founder,  Apache Maven
http://twitter.com/takari_io
---------------------------------------------------------

Simplex sigillum veri. (Simplicity is the seal of truth.)










Back to the top