ci(analytics): report Travis ID without the build number prefix
We need to track latency of individual jobs over time, but don't care to know what's the build ID that these jobs are associted with.
This commit is contained in:
@ -60,8 +60,8 @@ let customParams = {
|
||||
cd6: process.env.TRAVIS_BRANCH,
|
||||
// Travis - Repo Slug (angular/angular)
|
||||
cd7: process.env.TRAVIS_REPO_SLUG,
|
||||
// Travis - Job ID (4.1)
|
||||
cd12: process.env.TRAVIS_JOB_NUMBER,
|
||||
// Travis - Job ID (1, 2, 3, 4, ...)
|
||||
cd12: process.env.TRAVIS_JOB_NUMBER ? process.env.TRAVIS_JOB_NUMBER.split('.')[1] : undefined,
|
||||
// HW - CPU Info
|
||||
cd8: `${os.cpus().length} x ${os.cpus()[0].model}`,
|
||||
// HW - Memory Info
|
||||
|
Reference in New Issue
Block a user