[DAEMON-43] Create CI script
|Fix Version/s||Appc Daemon 1.0.0|
DescriptionThe Appc Daemon needs a Jenkinsfile script that: * Installs Node 7.6.0 or newer * Installs NPM * Installs Yarn * Clone appc-daemon repo * Runs:
gulp check* Runs:
gulp coverage* Runs:
gulp package* Generates report from "check" output, "coverage" output, and package output and also includes build information * Stores the report in some cloud-based data store See https://github.com/appcelerator/client-generator/blob/master/Jenkinsfile for an example. Also see https://github.com/appcelerator/jenkins_dsl/blob/master/jobs/appc_cli.groovy. -To build the bundled distribution which includes all NPM dependencies, we will need to kick off a Jenkins job on multiple slave Jenkins machines to bundle platform specific bundles. Each Jenkins slave would run
gulp package-bundleinstead of
gulp-package, then upload the resulting tarball to Axway's Artifactory server (and possibly also S3 as a backup). We need 5 Jenkins slaves: OS X (64-bit), 64-bit Windows, 32-bit Windows, 64-bit Linux, and 32-bit Linux.- The platform specific bundling has been moved to DAEMON-77. The report generation has been moved to DAEMON-78.