[TIMOB-16657] Allow for non-timestamped builds on http://builds.appcelerator.com/#3.2.3
| GitHub Issue | n/a |
|---|---|
| Type | Improvement |
| Priority | High |
| Status | Closed |
| Resolution | Fixed |
| Resolution Date | 2014-04-05T01:00:17.000+0000 |
| Affected Version/s | n/a |
| Fix Version/s | 2014 Sprint 07, 2014 Sprint 07 Tooling |
| Components | Tooling |
| Labels | n/a |
| Reporter | Ingo Muschenetz |
| Assignee | Chris Barber |
| Created | 2014-03-21T06:36:52.000+0000 |
| Updated | 2017-03-16T20:55:45.000+0000 |
Description
So I've created a Jenkins script to tag and upload alpha/beta/rc builds to S3. I figure the best place is where we currently upload the nightlies, but in a different stream.
However, http://builds.appcelerator.com/#3.2.3 doesn't work because 3.2.3.Alpha1 fails this regex:
var p = build.filename.match(/^mobilesdk\-(.+)(?:\.v|\-)((\d{4})(\d{2})(\d{2})(\d{2})(\d{2})(\d{2}))\-([^\.]+)/),
ts = p[2];
I need a fallback mechanism for communicating the build's timestamp as part of index.json, where the build itself doesn't contain a timestamp.
Alternately, we could suffix the alpha1 with the timestamp, but I'm not sure how clean that would look.
Done!
Closing ticket as fixed.