An application to trigger nightly builds of Node.js for distribution at nodejs.org _if_ there is new code available on a given branch
MIT License
An application to trigger nightly builds of Node.js for distribution at nodejs.org if there is new code available on a given branch
$ nodejs-nightly-builder [--type <nightly|next-nightly>] --ref <git head ref> --config <config file> [--force]
nightly
vs next-nightly
is a remnant of io.js and not used in current Node.js builds, it is therefore optional and defaults to nightly
.heads/v6.x
or heads/master
The GitHub API is used to check HEAD commits which is why an authentication token is required.
When run, nodejs-nightly-builder
will first check whether a build is required. It does this by checking the file at https://nodejs.org/download/{type}/index.json
, where type
is provided on the commandline, e.g. https://nodejs.org/download/nightly/index.json
. Nightly builds contain a commit sha that can be decoded from their version string. The HEAD commit is also pulled from GitHub for the ref
(branch) provided on the commandline. If the latest build does not match the HEAD commit, a new nightly build is required. Nightly builds are triggered with Jenkins.
Managed under the governance of the Node.js Build Working Group.
Copyright (c) 2016 Node.js Foundation. All rights reserved.
Licensed under MIT, see the LICENSE.md file for details