Questions tagged [build-numbers]

Numbers generated by build processes to identify instances of a project that may not correspond to releases.

Build numbers differ from version numbers in that they are generally incremented each time a project is compiled (often as a part of a continuous integration process) rather than when a code base has reached a certain set of milestones.

Depending on the project, build numbers can be based on the date and time of the build, the total number of builds performed for the project, or the total number of builds for a given version/release.

72 questions
4
votes
1 answer

Maven - Versioning the Project

I'm trying to learn more about how big project builds are being versioned by developer teams using maven. For example, some projects have versions like: 2.0.0-SNAPSHOT-g57517b7, what that "g57517b7" represents exactly? and is it possible to automate…
4
votes
3 answers

Ant Incremental build numbers for zip names

I'm doing a project at uni and would like to create zip files which name (just a build number) increments after each successful build. What's the easiest way to do this? Is it a case of having to write a custom task? Or is there some built in…
Ricky JD
4
votes
2 answers

What's wrong with my Visual Studio auto-incrementing build number syntax?

i know Visual Studio has no way to increment the build number in a way that people would expect, but it support randomizing the build number: My AssemblyInfo.cs file contains: // Version information for an assembly consists of the following four…
Ian Boyd
  • 246,734
  • 253
  • 869
  • 1,219
4
votes
2 answers

Maven + Mercurial for Build Numbers

I can't figure out how to get a Mercurial revision id put into my Maven build (ideally I would like it in the MANIFEST of my jars and war). The closest solution I could find is: mvn -DbuildNumber=`hg id -i` Which won't really work for Windows or my…
Adam Gent
  • 47,843
  • 23
  • 153
  • 203
4
votes
3 answers

Xcode 4.3 Shell Script synthax error on autoincrement script

I have this script made to autoincrement the build number on every build: #!/bin/bash buildNumber=$(/usr/libexec/PlistBuddy -c "Print CFBundleVersion" $INFOPLIST_FILE) buildNumber=$(($buildNumber + 1)) /usr/libexec/PlistBuddy -c "Set…
rdelfin
  • 819
  • 2
  • 13
  • 31
3
votes
1 answer

buildnumber-maven-plugin and maven-assembly-plugin

I've set up the buildnumber-maven-plugin to pull the version number from SVN and stash it away in the META-INF/MANIFEST.MF inside the jar. That works ok. But when I try to use it together with the maven-assembly-plugin to pack all the other libs…
3
votes
4 answers

Devops YAML - set build name using expression

In a yaml build, is it possible to set the build name using an expression; it would be advantageous if I could match the release pipeline with the actual build id. Example: trigger: - master variables: major: 2 minor: 3 offset:…
3
votes
4 answers

How to display SVN version in Maven usng the build-number plugin

How do display the svn version and the timestamp using build number plugin. Currently I have the following org.codehaus.mojo buildnumber-maven-plugin
user373201
  • 10,945
  • 34
  • 112
  • 168
3
votes
1 answer

Jenkins BUILD_NUMBER limit - maximum build number

Curious to know what's the maximum number a Jenkins build number (BUILD_NUMBER) can get? I tried to find online but couldn't find this info. Is it infinite or has some limit (being INT or INT64 or some other type)? PS: I'm NOT looking for how to…
AKS
  • 16,482
  • 43
  • 166
  • 258
3
votes
0 answers

Why does Apple not allow letters in Build Number in XCode?

Why does Apple not allow letters in Build Number in XCode? Especially considering their own build numbers always have a letter? Just curious...
CommaToast
  • 11,370
  • 7
  • 54
  • 69
3
votes
1 answer

Working automatic build increment Visual Studio addin

I'm searching for a working Visual Studio 2012 addin which automatically increments my build number. Something like http://autobuildversion.codeplex.com/. But this isn't working for me. I am using Visual Studio 2012 Ultimate, if it matters.
Lucas
  • 3,376
  • 6
  • 31
  • 46
2
votes
2 answers

Jenkins - How to access Build number variable and use it as a Prefix/Suffix of a log name during Post build actions

I am trying to use Jenkins' Build Number in the naming of a Log that I would want to be saved as a post build action Will the below format work C:\Jenkins\workspace\Jmeter_Jenkins_Test_Job\Jenkins_Results\"${env.BUILD_NUMBER}"results.jtl
ganvartin
  • 35
  • 2
  • 9
2
votes
1 answer

Unable to reference artifacts' build numbers in Release name format

I have three artifacts in my Azure DevOps Release pipeline with the following source aliases: _Client, _Database, _WebApp. _Client is the primary artifact. I want to include each artifact's build number in the Release name. I have used the…
2
votes
1 answer

Build number/fingerprint for Android Things

I'm using the Developer Preview of Android Things on my Raspberry Pi 3 and now, that the Preview 2 is released, I was asking myself if my RPi will get this via OTA. Where can I find the build number to check against my…
mars3142
  • 2,501
  • 4
  • 28
  • 58
2
votes
1 answer

Increase property value with Maven after each Build

This is the script on build.xml, in a non maven project, on Netbeans, every time that I "Build", it is increased by 1.
FiruzzZ
  • 661
  • 1
  • 6
  • 21