[TIMOB-18454] Windows: apis.jsca becomes corrupted during generation on CI server
GitHub Issue | n/a |
---|---|
Type | Bug |
Priority | High |
Status | Closed |
Resolution | Fixed |
Resolution Date | 2015-02-04T22:40:28.000+0000 |
Affected Version/s | n/a |
Fix Version/s | Release 4.1.0 |
Components | Tooling, Windows |
Labels | n/a |
Reporter | Gary Mathews |
Assignee | Benjamin Hatfield |
Created | 2015-01-27T23:42:14.000+0000 |
Updated | 2017-03-14T19:48:10.000+0000 |
Description
The apis.jsca file generated on Jenkins becomes corrupted by the console output.
Example
!http://puu.sh/f7w1R/9b035ffd1f.PNG!
The script that runs the JSCA generation on Jenkins is located here:
https://github.com/appcelerator/titanium_mobile/blob/master/site_scons/package.py#L63
Calling:
https://github.com/appcelerator/titanium_mobile/blob/master/apidoc/docgen.js
[~tonylukasavage] and [~cbarber] thoughts?
those are color codes that should be stripped out, but i have no idea why they end up in the generated file. Whatever process that the file generation process is consuming might have had changes to its logging, or log level. It seems quieting down the source process would be the fix.
Use
\-\-no-colors
.Also why is there a bunch of
\[INFO\]
output in a jsca file? Something else is messed up.PR ready: https://github.com/appcelerator/titanium_mobile/pull/6617
Closing ticket as fixed.