Skip to content
Permalink
Browse files
Merge branch 'build-number-instruction'
  • Loading branch information
ahgittin committed Jan 31, 2019
2 parents 7eec5c7 + 103f445 commit 2bfd3c01e38bd16313ca9c3dcc44b9140296e10b
Showing 1 changed file with 12 additions and 0 deletions.
@@ -57,6 +57,18 @@ pushd brooklyn-dist/karaf/apache-brooklyn/target/assembly/
```


### Non-Git Build

If you are performing a build on code not in source control (e.g. from a ZIP of source code, or after deleting SCM metadata),
you will need to manually set two variables that are normally inferred from the environment:

* `-DbuildNumber=manual`
* `-DscmBranch=manual`

You can set these properties to any value you wish. When using a checkout from git, the `buildNumber` is set to the SHA1 commit ID (short form)
of the containing project, and the `scmBranch` is set to the git branch.


### Resources

<!--- BROOKLYN_VERSION_BELOW -->

0 comments on commit 2bfd3c0

Please sign in to comment.