BIGTOP-2846. Add DSL documentation for GIT-based builds
Project: http://git-wip-us.apache.org/repos/asf/bigtop/repo Commit: http://git-wip-us.apache.org/repos/asf/bigtop/commit/d45b0ff8 Tree: http://git-wip-us.apache.org/repos/asf/bigtop/tree/d45b0ff8 Diff: http://git-wip-us.apache.org/repos/asf/bigtop/diff/d45b0ff8 Branch: refs/heads/BIGTOP-2839 Commit: d45b0ff8d94684f1f87f6924d8167411e582445e Parents: bd473db Author: Konstantin Boudnik <[email protected]> Authored: Fri Jul 21 12:19:59 2017 -0700 Committer: Konstantin Boudnik <[email protected]> Committed: Fri Jul 21 12:19:59 2017 -0700 ---------------------------------------------------------------------- bigtop.bom | 15 +++++++++++++++ 1 file changed, 15 insertions(+) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/bigtop/blob/d45b0ff8/bigtop.bom ---------------------------------------------------------------------- diff --git a/bigtop.bom b/bigtop.bom index 72b2b94..ff6d4e1 100644 --- a/bigtop.bom +++ b/bigtop.bom @@ -68,6 +68,21 @@ site = "${apache.APACHE_MIRROR}/${download_path}" archive = "${apache.APACHE_ARCHIVE}/${download_path}" } + git { + // Setting the info to access a git repository. Ref is any valid git reference. + // If git repo information is provided, the *url* element above will be ignored. + repo = "https://github.com/apache/bigtop.git" + ref = "branch-name" + // *dir* defines the name of the top-level folder inside of the tar-ball archive. + // if set to null, the directory name will be set to tar-ball.dist without + // the .tar* suffix + // This setting is important to allow build to locate unpacked source code + dir = "${name}-${version.base}-src" + // *optional* + // You can setup repo-specific user credentials overriding any global settings + user = "john_doe" + token = "john's access token" + } } } }
