[DAEMON-43] Create CI script
| GitHub Issue | n/a |
|---|---|
| Type | New Feature |
| Priority | Critical |
| Status | Resolved |
| Resolution | Fixed |
| Resolution Date | 2017-05-04T20:53:46.000+0000 |
| Affected Version/s | n/a |
| Fix Version/s | Appc Daemon 1.0.0 |
| Components | Tooling |
| Labels | n/a |
| Reporter | Chris Barber |
| Assignee | Christopher Williams |
| Created | 2017-02-17T05:20:13.000+0000 |
| Updated | 2017-10-26T03:12:19.000+0000 |
Description
The Appc Daemon needs a Jenkinsfile script that:
* Installs Node 7.6.0 or newer
* Installs NPM
* Installs Yarn
* Clone appc-daemon repo
* Runs:
yarn
* 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-bundle instead 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.
No comments