[DAEMON-337] Add multiple platform and Node.js testing to Jenkinsfiles
| GitHub Issue | n/a |
|---|---|
| Type | Improvement |
| Priority | High |
| Status | Resolved |
| Resolution | Fixed |
| Resolution Date | 2020-03-31T16:00:31.000+0000 |
| Affected Version/s | n/a |
| Fix Version/s | Appc Daemon 4.0.0 |
| Components | Tooling |
| Labels | cb-next |
| Reporter | Chris Barber |
| Assignee | Chris Barber |
| Created | 2020-03-26T05:23:08.000+0000 |
| Updated | 2020-03-31T20:10:23.000+0000 |
Description
The Appc Daemon has the ability to run unit tests on all platforms and multiple Node.js versions, however, no other product does. We need a new function added to our internal Jenkins
pipeline-library that adds test matrix ability and normalize the various Jenkinsfiles into a single standard solution that should work for most cases.
The new function is called
runNPMPackage(). pipeline-library PR: https://github.com/appcelerator/pipeline-library/pull/34 The following repos will need to be updated to use the new function: * amplify-tooling https://github.com/appcelerator/amplify-tooling/pull/80 * androidlib https://github.com/appcelerator/androidlib/pull/24 * appc-daemon https://github.com/appcelerator/appc-daemon/pull/462 * ioslib https://github.com/appcelerator/ioslib/pull/113 * jdklib https://github.com/appcelerator/jdklib/pull/24 * node-ios-device https://github.com/appcelerator/node-ios-device/pull/57 * template-kit https://github.com/appcelerator/template-kit/pull/1 * titaniumlib https://github.com/appcelerator/titaniumlib/pull/23 * windowslib https://github.com/appcelerator/windowslib/pull/93 * winreglib https://github.com/appcelerator/winreglib/pull/4