From 7f0373263dcf950cbb691ee5aa29c6185c406966 Mon Sep 17 00:00:00 2001 From: "eric.navarro" Date: Wed, 28 Jun 2023 15:33:41 +0200 Subject: [PATCH 01/16] ciapp-3571: add url validator --- packages/dd-trace/src/plugins/util/ci.js | 4 +-- packages/dd-trace/src/plugins/util/test.js | 38 ++++++++++++++++++++-- 2 files changed, 37 insertions(+), 5 deletions(-) diff --git a/packages/dd-trace/src/plugins/util/ci.js b/packages/dd-trace/src/plugins/util/ci.js index 31d0ca7b3c5..fe7a8fc8654 100644 --- a/packages/dd-trace/src/plugins/util/ci.js +++ b/packages/dd-trace/src/plugins/util/ci.js @@ -77,7 +77,7 @@ function filterSensitiveInfoFromRepository (repositoryUrl) { return `${protocol}//${hostname}${pathname}` } catch (e) { - return repositoryUrl + return '' } } @@ -93,6 +93,7 @@ function resolveTilde (filePath) { } module.exports = { + removeEmptyValues, normalizeRef, getCIMetadata () { const { env } = process @@ -605,7 +606,6 @@ module.exports = { normalizeTag(tags, GIT_REPOSITORY_URL, filterSensitiveInfoFromRepository) normalizeTag(tags, GIT_BRANCH, normalizeRef) normalizeTag(tags, GIT_TAG, normalizeRef) - return removeEmptyValues(tags) } } diff --git a/packages/dd-trace/src/plugins/util/test.js b/packages/dd-trace/src/plugins/util/test.js index 0cfdaf22cce..2cbdbaa1f8b 100644 --- a/packages/dd-trace/src/plugins/util/test.js +++ b/packages/dd-trace/src/plugins/util/test.js @@ -6,7 +6,7 @@ const ignore = require('ignore') const { getGitMetadata } = require('./git') const { getUserProviderGitMetadata } = require('./user-provided-git') -const { getCIMetadata } = require('./ci') +const { getCIMetadata, removeEmptyValues } = require('./ci') const { getRuntimeAndOSMetadata } = require('./env') const { GIT_BRANCH, @@ -16,7 +16,7 @@ const { GIT_COMMIT_AUTHOR_EMAIL, GIT_COMMIT_AUTHOR_NAME, GIT_COMMIT_MESSAGE, - CI_WORKSPACE_PATH + CI_WORKSPACE_PATH, CI_PIPELINE_URL } = require('./tags') const id = require('../../id') @@ -24,6 +24,8 @@ const { SPAN_TYPE, RESOURCE_NAME, SAMPLING_PRIORITY } = require('../../../../../ const { SAMPLING_RULE_DECISION } = require('../../constants') const { AUTO_KEEP } = require('../../../../../ext/priority') const { version: ddTraceVersion } = require('../../../../../package.json') +const { valid } = require('semver') +const { URL } = require('url') const TEST_FRAMEWORK = 'test.framework' const TEST_FRAMEWORK_VERSION = 'test.framework_version' @@ -116,6 +118,35 @@ function getPkgManager () { } } +function validateMetadata (metadata) { + if (GIT_REPOSITORY_URL in metadata) { + const validUrl = validateUrl(metadata[GIT_REPOSITORY_URL]) + if (!validUrl) { + delete metadata[GIT_REPOSITORY_URL] + } + } + if (CI_PIPELINE_URL in metadata) { + const validUrl = validateUrl(metadata[CI_PIPELINE_URL]) + if (!validUrl) { + delete metadata[CI_PIPELINE_URL] + } + } + return removeEmptyValues(metadata) +} + +function validateUrl (url) { + if (url.startsWith('git@') && url.includes(':')) { + const hostname = url.substring(url.indexOf('@') + 1, url.lastIndexOf(':')) + return hostname.includes('.') + } + try { + const { protocol, hostname, pathname } = new URL(url) + return (protocol === 'https:' || protocol === 'http:') + } catch (e) { + return false + } +} + function getTestEnvironmentMetadata (testFramework, config) { // TODO: eventually these will come from the tracer (generally available) const ciMetadata = getCIMetadata() @@ -145,13 +176,14 @@ function getTestEnvironmentMetadata (testFramework, config) { const runtimeAndOSMetadata = getRuntimeAndOSMetadata() - const metadata = { + let metadata = { [TEST_FRAMEWORK]: testFramework, ...gitMetadata, ...ciMetadata, ...userProvidedGitMetadata, ...runtimeAndOSMetadata } + metadata = validateMetadata(metadata) if (config && config.service) { metadata['service.name'] = config.service } From 04a41d2c1187b0185810dd6b19ae0789e509f137 Mon Sep 17 00:00:00 2001 From: "eric.navarro" Date: Thu, 29 Jun 2023 12:11:39 +0200 Subject: [PATCH 02/16] ciapp-3571: add url validator and change tests from ci-spec --- packages/dd-trace/src/plugins/util/test.js | 8 +- .../plugins/util/ci-env/azurepipelines.json | 180 +++++++------- .../test/plugins/util/ci-env/bitbucket.json | 56 ++--- .../test/plugins/util/ci-env/bitrise.json | 120 +++++----- .../test/plugins/util/ci-env/buildkite.json | 126 +++++----- .../test/plugins/util/ci-env/circleci.json | 120 +++++----- .../test/plugins/util/ci-env/gitlab.json | 212 ++++++++-------- .../test/plugins/util/ci-env/jenkins.json | 226 +++++++++--------- .../test/plugins/util/ci-env/teamcity.json | 12 +- .../test/plugins/util/ci-env/travisci.json | 144 +++++------ 10 files changed, 602 insertions(+), 602 deletions(-) diff --git a/packages/dd-trace/src/plugins/util/test.js b/packages/dd-trace/src/plugins/util/test.js index 2cbdbaa1f8b..25426ec5ed3 100644 --- a/packages/dd-trace/src/plugins/util/test.js +++ b/packages/dd-trace/src/plugins/util/test.js @@ -119,13 +119,13 @@ function getPkgManager () { } function validateMetadata (metadata) { - if (GIT_REPOSITORY_URL in metadata) { + if (GIT_REPOSITORY_URL in metadata && metadata[GIT_REPOSITORY_URL]) { const validUrl = validateUrl(metadata[GIT_REPOSITORY_URL]) if (!validUrl) { delete metadata[GIT_REPOSITORY_URL] } } - if (CI_PIPELINE_URL in metadata) { + if (CI_PIPELINE_URL in metadata && metadata[CI_PIPELINE_URL]) { const validUrl = validateUrl(metadata[CI_PIPELINE_URL]) if (!validUrl) { delete metadata[CI_PIPELINE_URL] @@ -140,8 +140,8 @@ function validateUrl (url) { return hostname.includes('.') } try { - const { protocol, hostname, pathname } = new URL(url) - return (protocol === 'https:' || protocol === 'http:') + const url_object = new URL(url) + return (url_object.protocol === 'https:' || url_object.protocol === 'http:') } catch (e) { return false } diff --git a/packages/dd-trace/test/plugins/util/ci-env/azurepipelines.json b/packages/dd-trace/test/plugins/util/ci-env/azurepipelines.json index 6682b1a3b34..1ce9636e449 100644 --- a/packages/dd-trace/test/plugins/util/ci-env/azurepipelines.json +++ b/packages/dd-trace/test/plugins/util/ci-env/azurepipelines.json @@ -3,7 +3,7 @@ { "BUILD_BUILDID": "azure-pipelines-build-id", "BUILD_DEFINITIONNAME": "azure-pipelines-name", - "BUILD_REPOSITORY_URI": "sample", + "BUILD_REPOSITORY_URI": "https://azure-pipelines-server-uri.com/build", "BUILD_REQUESTEDFOREMAIL": "azure-pipelines-commit-author-email@datadoghq.com", "BUILD_REQUESTEDFORID": "azure-pipelines-commit-author", "BUILD_SOURCEBRANCH": "master", @@ -12,17 +12,17 @@ "BUILD_SOURCEVERSIONMESSAGE": "azure-pipelines-commit-message", "SYSTEM_JOBID": "azure-pipelines-job-id", "SYSTEM_TASKINSTANCEID": "azure-pipelines-task-id", - "SYSTEM_TEAMFOUNDATIONSERVERURI": "azure-pipelines-server-uri/", + "SYSTEM_TEAMFOUNDATIONSERVERURI": "https://azure-pipelines-server-uri.com/", "SYSTEM_TEAMPROJECTID": "azure-pipelines-project-id", "TF_BUILD": "True" }, { "_dd.ci.env_vars": "{\"SYSTEM_TEAMPROJECTID\":\"azure-pipelines-project-id\",\"BUILD_BUILDID\":\"azure-pipelines-build-id\",\"SYSTEM_JOBID\":\"azure-pipelines-job-id\"}", - "ci.job.url": "azure-pipelines-server-uri/azure-pipelines-project-id/_build/results?buildId=azure-pipelines-build-id&view=logs&j=azure-pipelines-job-id&t=azure-pipelines-task-id", + "ci.job.url": "https://azure-pipelines-server-uri.com/azure-pipelines-project-id/_build/results?buildId=azure-pipelines-build-id&view=logs&j=azure-pipelines-job-id&t=azure-pipelines-task-id", "ci.pipeline.id": "azure-pipelines-build-id", "ci.pipeline.name": "azure-pipelines-name", "ci.pipeline.number": "azure-pipelines-build-id", - "ci.pipeline.url": "azure-pipelines-server-uri/azure-pipelines-project-id/_build/results?buildId=azure-pipelines-build-id", + "ci.pipeline.url": "https://azure-pipelines-server-uri.com/azure-pipelines-project-id/_build/results?buildId=azure-pipelines-build-id", "ci.provider.name": "azurepipelines", "ci.workspace_path": "/foo/bar", "git.branch": "master", @@ -30,14 +30,14 @@ "git.commit.author.name": "azure-pipelines-commit-author", "git.commit.message": "azure-pipelines-commit-message", "git.commit.sha": "commit", - "git.repository_url": "sample" + "git.repository_url": "https://azure-pipelines-server-uri.com/build" } ], [ { "BUILD_BUILDID": "azure-pipelines-build-id", "BUILD_DEFINITIONNAME": "azure-pipelines-name", - "BUILD_REPOSITORY_URI": "sample", + "BUILD_REPOSITORY_URI": "https://azure-pipelines-server-uri.com/build", "BUILD_REQUESTEDFOREMAIL": "azure-pipelines-commit-author-email@datadoghq.com", "BUILD_REQUESTEDFORID": "azure-pipelines-commit-author", "BUILD_SOURCEBRANCH": "master", @@ -45,19 +45,19 @@ "BUILD_SOURCEVERSION": "commit", "BUILD_SOURCEVERSIONMESSAGE": "azure-pipelines-commit-message", "SYSTEM_JOBID": "azure-pipelines-job-id", - "SYSTEM_PULLREQUEST_SOURCEREPOSITORYURI": "sample2", + "SYSTEM_PULLREQUEST_SOURCEREPOSITORYURI": "https://azure-pipelines-server-uri.com/pull", "SYSTEM_TASKINSTANCEID": "azure-pipelines-task-id", - "SYSTEM_TEAMFOUNDATIONSERVERURI": "azure-pipelines-server-uri/", + "SYSTEM_TEAMFOUNDATIONSERVERURI": "https://azure-pipelines-server-uri.com/", "SYSTEM_TEAMPROJECTID": "azure-pipelines-project-id", "TF_BUILD": "True" }, { "_dd.ci.env_vars": "{\"SYSTEM_TEAMPROJECTID\":\"azure-pipelines-project-id\",\"BUILD_BUILDID\":\"azure-pipelines-build-id\",\"SYSTEM_JOBID\":\"azure-pipelines-job-id\"}", - "ci.job.url": "azure-pipelines-server-uri/azure-pipelines-project-id/_build/results?buildId=azure-pipelines-build-id&view=logs&j=azure-pipelines-job-id&t=azure-pipelines-task-id", + "ci.job.url": "https://azure-pipelines-server-uri.com/azure-pipelines-project-id/_build/results?buildId=azure-pipelines-build-id&view=logs&j=azure-pipelines-job-id&t=azure-pipelines-task-id", "ci.pipeline.id": "azure-pipelines-build-id", "ci.pipeline.name": "azure-pipelines-name", "ci.pipeline.number": "azure-pipelines-build-id", - "ci.pipeline.url": "azure-pipelines-server-uri/azure-pipelines-project-id/_build/results?buildId=azure-pipelines-build-id", + "ci.pipeline.url": "https://azure-pipelines-server-uri.com/azure-pipelines-project-id/_build/results?buildId=azure-pipelines-build-id", "ci.provider.name": "azurepipelines", "ci.workspace_path": "/foo/bar", "git.branch": "master", @@ -65,14 +65,14 @@ "git.commit.author.name": "azure-pipelines-commit-author", "git.commit.message": "azure-pipelines-commit-message", "git.commit.sha": "commit", - "git.repository_url": "sample2" + "git.repository_url": "https://azure-pipelines-server-uri.com/pull" } ], [ { "BUILD_BUILDID": "azure-pipelines-build-id", "BUILD_DEFINITIONNAME": "azure-pipelines-name", - "BUILD_REPOSITORY_URI": "sample", + "BUILD_REPOSITORY_URI": "https://azure-pipelines-server-uri.com/build", "BUILD_REQUESTEDFOREMAIL": "azure-pipelines-commit-author-email@datadoghq.com", "BUILD_REQUESTEDFORID": "azure-pipelines-commit-author", "BUILD_SOURCEBRANCH": "origin/master", @@ -81,17 +81,17 @@ "BUILD_SOURCEVERSIONMESSAGE": "azure-pipelines-commit-message", "SYSTEM_JOBID": "azure-pipelines-job-id", "SYSTEM_TASKINSTANCEID": "azure-pipelines-task-id", - "SYSTEM_TEAMFOUNDATIONSERVERURI": "azure-pipelines-server-uri/", + "SYSTEM_TEAMFOUNDATIONSERVERURI": "https://azure-pipelines-server-uri.com/", "SYSTEM_TEAMPROJECTID": "azure-pipelines-project-id", "TF_BUILD": "True" }, { "_dd.ci.env_vars": "{\"SYSTEM_TEAMPROJECTID\":\"azure-pipelines-project-id\",\"BUILD_BUILDID\":\"azure-pipelines-build-id\",\"SYSTEM_JOBID\":\"azure-pipelines-job-id\"}", - "ci.job.url": "azure-pipelines-server-uri/azure-pipelines-project-id/_build/results?buildId=azure-pipelines-build-id&view=logs&j=azure-pipelines-job-id&t=azure-pipelines-task-id", + "ci.job.url": "https://azure-pipelines-server-uri.com/azure-pipelines-project-id/_build/results?buildId=azure-pipelines-build-id&view=logs&j=azure-pipelines-job-id&t=azure-pipelines-task-id", "ci.pipeline.id": "azure-pipelines-build-id", "ci.pipeline.name": "azure-pipelines-name", "ci.pipeline.number": "azure-pipelines-build-id", - "ci.pipeline.url": "azure-pipelines-server-uri/azure-pipelines-project-id/_build/results?buildId=azure-pipelines-build-id", + "ci.pipeline.url": "https://azure-pipelines-server-uri.com/azure-pipelines-project-id/_build/results?buildId=azure-pipelines-build-id", "ci.provider.name": "azurepipelines", "ci.workspace_path": "foo/bar", "git.branch": "master", @@ -99,14 +99,14 @@ "git.commit.author.name": "azure-pipelines-commit-author", "git.commit.message": "azure-pipelines-commit-message", "git.commit.sha": "commit", - "git.repository_url": "sample" + "git.repository_url": "https://azure-pipelines-server-uri.com/build" } ], [ { "BUILD_BUILDID": "azure-pipelines-build-id", "BUILD_DEFINITIONNAME": "azure-pipelines-name", - "BUILD_REPOSITORY_URI": "sample", + "BUILD_REPOSITORY_URI": "https://azure-pipelines-server-uri.com/build", "BUILD_REQUESTEDFOREMAIL": "azure-pipelines-commit-author-email@datadoghq.com", "BUILD_REQUESTEDFORID": "azure-pipelines-commit-author", "BUILD_SOURCEBRANCH": "origin/master", @@ -116,18 +116,18 @@ "HOME": "/not-my-home", "SYSTEM_JOBID": "azure-pipelines-job-id", "SYSTEM_TASKINSTANCEID": "azure-pipelines-task-id", - "SYSTEM_TEAMFOUNDATIONSERVERURI": "azure-pipelines-server-uri/", + "SYSTEM_TEAMFOUNDATIONSERVERURI": "https://azure-pipelines-server-uri.com/", "SYSTEM_TEAMPROJECTID": "azure-pipelines-project-id", "TF_BUILD": "True", "USERPROFILE": "/not-my-home" }, { "_dd.ci.env_vars": "{\"SYSTEM_TEAMPROJECTID\":\"azure-pipelines-project-id\",\"BUILD_BUILDID\":\"azure-pipelines-build-id\",\"SYSTEM_JOBID\":\"azure-pipelines-job-id\"}", - "ci.job.url": "azure-pipelines-server-uri/azure-pipelines-project-id/_build/results?buildId=azure-pipelines-build-id&view=logs&j=azure-pipelines-job-id&t=azure-pipelines-task-id", + "ci.job.url": "https://azure-pipelines-server-uri.com/azure-pipelines-project-id/_build/results?buildId=azure-pipelines-build-id&view=logs&j=azure-pipelines-job-id&t=azure-pipelines-task-id", "ci.pipeline.id": "azure-pipelines-build-id", "ci.pipeline.name": "azure-pipelines-name", "ci.pipeline.number": "azure-pipelines-build-id", - "ci.pipeline.url": "azure-pipelines-server-uri/azure-pipelines-project-id/_build/results?buildId=azure-pipelines-build-id", + "ci.pipeline.url": "https://azure-pipelines-server-uri.com/azure-pipelines-project-id/_build/results?buildId=azure-pipelines-build-id", "ci.provider.name": "azurepipelines", "ci.workspace_path": "/foo/bar~", "git.branch": "master", @@ -135,14 +135,14 @@ "git.commit.author.name": "azure-pipelines-commit-author", "git.commit.message": "azure-pipelines-commit-message", "git.commit.sha": "commit", - "git.repository_url": "sample" + "git.repository_url": "https://azure-pipelines-server-uri.com/build" } ], [ { "BUILD_BUILDID": "azure-pipelines-build-id", "BUILD_DEFINITIONNAME": "azure-pipelines-name", - "BUILD_REPOSITORY_URI": "sample", + "BUILD_REPOSITORY_URI": "https://azure-pipelines-server-uri.com/build", "BUILD_REQUESTEDFOREMAIL": "azure-pipelines-commit-author-email@datadoghq.com", "BUILD_REQUESTEDFORID": "azure-pipelines-commit-author", "BUILD_SOURCEBRANCH": "origin/master", @@ -152,18 +152,18 @@ "HOME": "/not-my-home", "SYSTEM_JOBID": "azure-pipelines-job-id", "SYSTEM_TASKINSTANCEID": "azure-pipelines-task-id", - "SYSTEM_TEAMFOUNDATIONSERVERURI": "azure-pipelines-server-uri/", + "SYSTEM_TEAMFOUNDATIONSERVERURI": "https://azure-pipelines-server-uri.com/", "SYSTEM_TEAMPROJECTID": "azure-pipelines-project-id", "TF_BUILD": "True", "USERPROFILE": "/not-my-home" }, { "_dd.ci.env_vars": "{\"SYSTEM_TEAMPROJECTID\":\"azure-pipelines-project-id\",\"BUILD_BUILDID\":\"azure-pipelines-build-id\",\"SYSTEM_JOBID\":\"azure-pipelines-job-id\"}", - "ci.job.url": "azure-pipelines-server-uri/azure-pipelines-project-id/_build/results?buildId=azure-pipelines-build-id&view=logs&j=azure-pipelines-job-id&t=azure-pipelines-task-id", + "ci.job.url": "https://azure-pipelines-server-uri.com/azure-pipelines-project-id/_build/results?buildId=azure-pipelines-build-id&view=logs&j=azure-pipelines-job-id&t=azure-pipelines-task-id", "ci.pipeline.id": "azure-pipelines-build-id", "ci.pipeline.name": "azure-pipelines-name", "ci.pipeline.number": "azure-pipelines-build-id", - "ci.pipeline.url": "azure-pipelines-server-uri/azure-pipelines-project-id/_build/results?buildId=azure-pipelines-build-id", + "ci.pipeline.url": "https://azure-pipelines-server-uri.com/azure-pipelines-project-id/_build/results?buildId=azure-pipelines-build-id", "ci.provider.name": "azurepipelines", "ci.workspace_path": "/foo/~/bar", "git.branch": "master", @@ -171,14 +171,14 @@ "git.commit.author.name": "azure-pipelines-commit-author", "git.commit.message": "azure-pipelines-commit-message", "git.commit.sha": "commit", - "git.repository_url": "sample" + "git.repository_url": "https://azure-pipelines-server-uri.com/build" } ], [ { "BUILD_BUILDID": "azure-pipelines-build-id", "BUILD_DEFINITIONNAME": "azure-pipelines-name", - "BUILD_REPOSITORY_URI": "sample", + "BUILD_REPOSITORY_URI": "https://azure-pipelines-server-uri.com/build", "BUILD_REQUESTEDFOREMAIL": "azure-pipelines-commit-author-email@datadoghq.com", "BUILD_REQUESTEDFORID": "azure-pipelines-commit-author", "BUILD_SOURCEBRANCH": "origin/master", @@ -188,18 +188,18 @@ "HOME": "/not-my-home", "SYSTEM_JOBID": "azure-pipelines-job-id", "SYSTEM_TASKINSTANCEID": "azure-pipelines-task-id", - "SYSTEM_TEAMFOUNDATIONSERVERURI": "azure-pipelines-server-uri/", + "SYSTEM_TEAMFOUNDATIONSERVERURI": "https://azure-pipelines-server-uri.com/", "SYSTEM_TEAMPROJECTID": "azure-pipelines-project-id", "TF_BUILD": "True", "USERPROFILE": "/not-my-home" }, { "_dd.ci.env_vars": "{\"SYSTEM_TEAMPROJECTID\":\"azure-pipelines-project-id\",\"BUILD_BUILDID\":\"azure-pipelines-build-id\",\"SYSTEM_JOBID\":\"azure-pipelines-job-id\"}", - "ci.job.url": "azure-pipelines-server-uri/azure-pipelines-project-id/_build/results?buildId=azure-pipelines-build-id&view=logs&j=azure-pipelines-job-id&t=azure-pipelines-task-id", + "ci.job.url": "https://azure-pipelines-server-uri.com/azure-pipelines-project-id/_build/results?buildId=azure-pipelines-build-id&view=logs&j=azure-pipelines-job-id&t=azure-pipelines-task-id", "ci.pipeline.id": "azure-pipelines-build-id", "ci.pipeline.name": "azure-pipelines-name", "ci.pipeline.number": "azure-pipelines-build-id", - "ci.pipeline.url": "azure-pipelines-server-uri/azure-pipelines-project-id/_build/results?buildId=azure-pipelines-build-id", + "ci.pipeline.url": "https://azure-pipelines-server-uri.com/azure-pipelines-project-id/_build/results?buildId=azure-pipelines-build-id", "ci.provider.name": "azurepipelines", "ci.workspace_path": "/not-my-home/foo/bar", "git.branch": "master", @@ -207,14 +207,14 @@ "git.commit.author.name": "azure-pipelines-commit-author", "git.commit.message": "azure-pipelines-commit-message", "git.commit.sha": "commit", - "git.repository_url": "sample" + "git.repository_url": "https://azure-pipelines-server-uri.com/build" } ], [ { "BUILD_BUILDID": "azure-pipelines-build-id", "BUILD_DEFINITIONNAME": "azure-pipelines-name", - "BUILD_REPOSITORY_URI": "sample", + "BUILD_REPOSITORY_URI": "https://azure-pipelines-server-uri.com/build", "BUILD_REQUESTEDFOREMAIL": "azure-pipelines-commit-author-email@datadoghq.com", "BUILD_REQUESTEDFORID": "azure-pipelines-commit-author", "BUILD_SOURCEBRANCH": "origin/master", @@ -224,18 +224,18 @@ "HOME": "/not-my-home", "SYSTEM_JOBID": "azure-pipelines-job-id", "SYSTEM_TASKINSTANCEID": "azure-pipelines-task-id", - "SYSTEM_TEAMFOUNDATIONSERVERURI": "azure-pipelines-server-uri/", + "SYSTEM_TEAMFOUNDATIONSERVERURI": "https://azure-pipelines-server-uri.com/", "SYSTEM_TEAMPROJECTID": "azure-pipelines-project-id", "TF_BUILD": "True", "USERPROFILE": "/not-my-home" }, { "_dd.ci.env_vars": "{\"SYSTEM_TEAMPROJECTID\":\"azure-pipelines-project-id\",\"BUILD_BUILDID\":\"azure-pipelines-build-id\",\"SYSTEM_JOBID\":\"azure-pipelines-job-id\"}", - "ci.job.url": "azure-pipelines-server-uri/azure-pipelines-project-id/_build/results?buildId=azure-pipelines-build-id&view=logs&j=azure-pipelines-job-id&t=azure-pipelines-task-id", + "ci.job.url": "https://azure-pipelines-server-uri.com/azure-pipelines-project-id/_build/results?buildId=azure-pipelines-build-id&view=logs&j=azure-pipelines-job-id&t=azure-pipelines-task-id", "ci.pipeline.id": "azure-pipelines-build-id", "ci.pipeline.name": "azure-pipelines-name", "ci.pipeline.number": "azure-pipelines-build-id", - "ci.pipeline.url": "azure-pipelines-server-uri/azure-pipelines-project-id/_build/results?buildId=azure-pipelines-build-id", + "ci.pipeline.url": "https://azure-pipelines-server-uri.com/azure-pipelines-project-id/_build/results?buildId=azure-pipelines-build-id", "ci.provider.name": "azurepipelines", "ci.workspace_path": "~foo/bar", "git.branch": "master", @@ -243,14 +243,14 @@ "git.commit.author.name": "azure-pipelines-commit-author", "git.commit.message": "azure-pipelines-commit-message", "git.commit.sha": "commit", - "git.repository_url": "sample" + "git.repository_url": "https://azure-pipelines-server-uri.com/build" } ], [ { "BUILD_BUILDID": "azure-pipelines-build-id", "BUILD_DEFINITIONNAME": "azure-pipelines-name", - "BUILD_REPOSITORY_URI": "sample", + "BUILD_REPOSITORY_URI": "https://azure-pipelines-server-uri.com/build", "BUILD_REQUESTEDFOREMAIL": "azure-pipelines-commit-author-email@datadoghq.com", "BUILD_REQUESTEDFORID": "azure-pipelines-commit-author", "BUILD_SOURCEBRANCH": "origin/master", @@ -260,18 +260,18 @@ "HOME": "/not-my-home", "SYSTEM_JOBID": "azure-pipelines-job-id", "SYSTEM_TASKINSTANCEID": "azure-pipelines-task-id", - "SYSTEM_TEAMFOUNDATIONSERVERURI": "azure-pipelines-server-uri/", + "SYSTEM_TEAMFOUNDATIONSERVERURI": "https://azure-pipelines-server-uri.com/", "SYSTEM_TEAMPROJECTID": "azure-pipelines-project-id", "TF_BUILD": "True", "USERPROFILE": "/not-my-home" }, { "_dd.ci.env_vars": "{\"SYSTEM_TEAMPROJECTID\":\"azure-pipelines-project-id\",\"BUILD_BUILDID\":\"azure-pipelines-build-id\",\"SYSTEM_JOBID\":\"azure-pipelines-job-id\"}", - "ci.job.url": "azure-pipelines-server-uri/azure-pipelines-project-id/_build/results?buildId=azure-pipelines-build-id&view=logs&j=azure-pipelines-job-id&t=azure-pipelines-task-id", + "ci.job.url": "https://azure-pipelines-server-uri.com/azure-pipelines-project-id/_build/results?buildId=azure-pipelines-build-id&view=logs&j=azure-pipelines-job-id&t=azure-pipelines-task-id", "ci.pipeline.id": "azure-pipelines-build-id", "ci.pipeline.name": "azure-pipelines-name", "ci.pipeline.number": "azure-pipelines-build-id", - "ci.pipeline.url": "azure-pipelines-server-uri/azure-pipelines-project-id/_build/results?buildId=azure-pipelines-build-id", + "ci.pipeline.url": "https://azure-pipelines-server-uri.com/azure-pipelines-project-id/_build/results?buildId=azure-pipelines-build-id", "ci.provider.name": "azurepipelines", "ci.workspace_path": "/not-my-home", "git.branch": "master", @@ -279,14 +279,14 @@ "git.commit.author.name": "azure-pipelines-commit-author", "git.commit.message": "azure-pipelines-commit-message", "git.commit.sha": "commit", - "git.repository_url": "sample" + "git.repository_url": "https://azure-pipelines-server-uri.com/build" } ], [ { "BUILD_BUILDID": "azure-pipelines-build-id", "BUILD_DEFINITIONNAME": "azure-pipelines-name", - "BUILD_REPOSITORY_URI": "sample", + "BUILD_REPOSITORY_URI": "https://azure-pipelines-server-uri.com/build", "BUILD_REQUESTEDFOREMAIL": "azure-pipelines-commit-author-email@datadoghq.com", "BUILD_REQUESTEDFORID": "azure-pipelines-commit-author", "BUILD_SOURCEBRANCH": "origin/master", @@ -295,17 +295,17 @@ "BUILD_SOURCEVERSIONMESSAGE": "azure-pipelines-commit-message", "SYSTEM_JOBID": "azure-pipelines-job-id", "SYSTEM_TASKINSTANCEID": "azure-pipelines-task-id", - "SYSTEM_TEAMFOUNDATIONSERVERURI": "azure-pipelines-server-uri/", + "SYSTEM_TEAMFOUNDATIONSERVERURI": "https://azure-pipelines-server-uri.com/", "SYSTEM_TEAMPROJECTID": "azure-pipelines-project-id", "TF_BUILD": "True" }, { "_dd.ci.env_vars": "{\"SYSTEM_TEAMPROJECTID\":\"azure-pipelines-project-id\",\"BUILD_BUILDID\":\"azure-pipelines-build-id\",\"SYSTEM_JOBID\":\"azure-pipelines-job-id\"}", - "ci.job.url": "azure-pipelines-server-uri/azure-pipelines-project-id/_build/results?buildId=azure-pipelines-build-id&view=logs&j=azure-pipelines-job-id&t=azure-pipelines-task-id", + "ci.job.url": "https://azure-pipelines-server-uri.com/azure-pipelines-project-id/_build/results?buildId=azure-pipelines-build-id&view=logs&j=azure-pipelines-job-id&t=azure-pipelines-task-id", "ci.pipeline.id": "azure-pipelines-build-id", "ci.pipeline.name": "azure-pipelines-name", "ci.pipeline.number": "azure-pipelines-build-id", - "ci.pipeline.url": "azure-pipelines-server-uri/azure-pipelines-project-id/_build/results?buildId=azure-pipelines-build-id", + "ci.pipeline.url": "https://azure-pipelines-server-uri.com/azure-pipelines-project-id/_build/results?buildId=azure-pipelines-build-id", "ci.provider.name": "azurepipelines", "ci.workspace_path": "/foo/bar", "git.branch": "master", @@ -313,14 +313,14 @@ "git.commit.author.name": "azure-pipelines-commit-author", "git.commit.message": "azure-pipelines-commit-message", "git.commit.sha": "commit", - "git.repository_url": "sample" + "git.repository_url": "https://azure-pipelines-server-uri.com/build" } ], [ { "BUILD_BUILDID": "azure-pipelines-build-id", "BUILD_DEFINITIONNAME": "azure-pipelines-name", - "BUILD_REPOSITORY_URI": "sample", + "BUILD_REPOSITORY_URI": "https://azure-pipelines-server-uri.com/build", "BUILD_REQUESTEDFOREMAIL": "azure-pipelines-commit-author-email@datadoghq.com", "BUILD_REQUESTEDFORID": "azure-pipelines-commit-author", "BUILD_SOURCEBRANCH": "refs/heads/master", @@ -329,17 +329,17 @@ "BUILD_SOURCEVERSIONMESSAGE": "azure-pipelines-commit-message", "SYSTEM_JOBID": "azure-pipelines-job-id", "SYSTEM_TASKINSTANCEID": "azure-pipelines-task-id", - "SYSTEM_TEAMFOUNDATIONSERVERURI": "azure-pipelines-server-uri/", + "SYSTEM_TEAMFOUNDATIONSERVERURI": "https://azure-pipelines-server-uri.com/", "SYSTEM_TEAMPROJECTID": "azure-pipelines-project-id", "TF_BUILD": "True" }, { "_dd.ci.env_vars": "{\"SYSTEM_TEAMPROJECTID\":\"azure-pipelines-project-id\",\"BUILD_BUILDID\":\"azure-pipelines-build-id\",\"SYSTEM_JOBID\":\"azure-pipelines-job-id\"}", - "ci.job.url": "azure-pipelines-server-uri/azure-pipelines-project-id/_build/results?buildId=azure-pipelines-build-id&view=logs&j=azure-pipelines-job-id&t=azure-pipelines-task-id", + "ci.job.url": "https://azure-pipelines-server-uri.com/azure-pipelines-project-id/_build/results?buildId=azure-pipelines-build-id&view=logs&j=azure-pipelines-job-id&t=azure-pipelines-task-id", "ci.pipeline.id": "azure-pipelines-build-id", "ci.pipeline.name": "azure-pipelines-name", "ci.pipeline.number": "azure-pipelines-build-id", - "ci.pipeline.url": "azure-pipelines-server-uri/azure-pipelines-project-id/_build/results?buildId=azure-pipelines-build-id", + "ci.pipeline.url": "https://azure-pipelines-server-uri.com/azure-pipelines-project-id/_build/results?buildId=azure-pipelines-build-id", "ci.provider.name": "azurepipelines", "ci.workspace_path": "/foo/bar", "git.branch": "master", @@ -347,14 +347,14 @@ "git.commit.author.name": "azure-pipelines-commit-author", "git.commit.message": "azure-pipelines-commit-message", "git.commit.sha": "commit", - "git.repository_url": "sample" + "git.repository_url": "https://azure-pipelines-server-uri.com/build" } ], [ { "BUILD_BUILDID": "azure-pipelines-build-id", "BUILD_DEFINITIONNAME": "azure-pipelines-name", - "BUILD_REPOSITORY_URI": "sample", + "BUILD_REPOSITORY_URI": "https://azure-pipelines-server-uri.com/build", "BUILD_REQUESTEDFOREMAIL": "azure-pipelines-commit-author-email@datadoghq.com", "BUILD_REQUESTEDFORID": "azure-pipelines-commit-author", "BUILD_SOURCEBRANCH": "refs/heads/feature/one", @@ -363,17 +363,17 @@ "BUILD_SOURCEVERSIONMESSAGE": "azure-pipelines-commit-message", "SYSTEM_JOBID": "azure-pipelines-job-id", "SYSTEM_TASKINSTANCEID": "azure-pipelines-task-id", - "SYSTEM_TEAMFOUNDATIONSERVERURI": "azure-pipelines-server-uri/", + "SYSTEM_TEAMFOUNDATIONSERVERURI": "https://azure-pipelines-server-uri.com/", "SYSTEM_TEAMPROJECTID": "azure-pipelines-project-id", "TF_BUILD": "True" }, { "_dd.ci.env_vars": "{\"SYSTEM_TEAMPROJECTID\":\"azure-pipelines-project-id\",\"BUILD_BUILDID\":\"azure-pipelines-build-id\",\"SYSTEM_JOBID\":\"azure-pipelines-job-id\"}", - "ci.job.url": "azure-pipelines-server-uri/azure-pipelines-project-id/_build/results?buildId=azure-pipelines-build-id&view=logs&j=azure-pipelines-job-id&t=azure-pipelines-task-id", + "ci.job.url": "https://azure-pipelines-server-uri.com/azure-pipelines-project-id/_build/results?buildId=azure-pipelines-build-id&view=logs&j=azure-pipelines-job-id&t=azure-pipelines-task-id", "ci.pipeline.id": "azure-pipelines-build-id", "ci.pipeline.name": "azure-pipelines-name", "ci.pipeline.number": "azure-pipelines-build-id", - "ci.pipeline.url": "azure-pipelines-server-uri/azure-pipelines-project-id/_build/results?buildId=azure-pipelines-build-id", + "ci.pipeline.url": "https://azure-pipelines-server-uri.com/azure-pipelines-project-id/_build/results?buildId=azure-pipelines-build-id", "ci.provider.name": "azurepipelines", "ci.workspace_path": "/foo/bar", "git.branch": "feature/one", @@ -381,14 +381,14 @@ "git.commit.author.name": "azure-pipelines-commit-author", "git.commit.message": "azure-pipelines-commit-message", "git.commit.sha": "commit", - "git.repository_url": "sample" + "git.repository_url": "https://azure-pipelines-server-uri.com/build" } ], [ { "BUILD_BUILDID": "azure-pipelines-build-id", "BUILD_DEFINITIONNAME": "azure-pipelines-name", - "BUILD_REPOSITORY_URI": "sample", + "BUILD_REPOSITORY_URI": "https://azure-pipelines-server-uri.com/build", "BUILD_REQUESTEDFOREMAIL": "azure-pipelines-commit-author-email@datadoghq.com", "BUILD_REQUESTEDFORID": "azure-pipelines-commit-author", "BUILD_SOURCEBRANCH": "origin/tags/0.1.0", @@ -397,24 +397,24 @@ "BUILD_SOURCEVERSIONMESSAGE": "azure-pipelines-commit-message", "SYSTEM_JOBID": "azure-pipelines-job-id", "SYSTEM_TASKINSTANCEID": "azure-pipelines-task-id", - "SYSTEM_TEAMFOUNDATIONSERVERURI": "azure-pipelines-server-uri/", + "SYSTEM_TEAMFOUNDATIONSERVERURI": "https://azure-pipelines-server-uri.com/", "SYSTEM_TEAMPROJECTID": "azure-pipelines-project-id", "TF_BUILD": "True" }, { "_dd.ci.env_vars": "{\"SYSTEM_TEAMPROJECTID\":\"azure-pipelines-project-id\",\"BUILD_BUILDID\":\"azure-pipelines-build-id\",\"SYSTEM_JOBID\":\"azure-pipelines-job-id\"}", - "ci.job.url": "azure-pipelines-server-uri/azure-pipelines-project-id/_build/results?buildId=azure-pipelines-build-id&view=logs&j=azure-pipelines-job-id&t=azure-pipelines-task-id", + "ci.job.url": "https://azure-pipelines-server-uri.com/azure-pipelines-project-id/_build/results?buildId=azure-pipelines-build-id&view=logs&j=azure-pipelines-job-id&t=azure-pipelines-task-id", "ci.pipeline.id": "azure-pipelines-build-id", "ci.pipeline.name": "azure-pipelines-name", "ci.pipeline.number": "azure-pipelines-build-id", - "ci.pipeline.url": "azure-pipelines-server-uri/azure-pipelines-project-id/_build/results?buildId=azure-pipelines-build-id", + "ci.pipeline.url": "https://azure-pipelines-server-uri.com/azure-pipelines-project-id/_build/results?buildId=azure-pipelines-build-id", "ci.provider.name": "azurepipelines", "ci.workspace_path": "/foo/bar", "git.commit.author.email": "azure-pipelines-commit-author-email@datadoghq.com", "git.commit.author.name": "azure-pipelines-commit-author", "git.commit.message": "azure-pipelines-commit-message", "git.commit.sha": "commit", - "git.repository_url": "sample", + "git.repository_url": "https://azure-pipelines-server-uri.com/build", "git.tag": "0.1.0" } ], @@ -422,7 +422,7 @@ { "BUILD_BUILDID": "azure-pipelines-build-id", "BUILD_DEFINITIONNAME": "azure-pipelines-name", - "BUILD_REPOSITORY_URI": "sample", + "BUILD_REPOSITORY_URI": "https://azure-pipelines-server-uri.com/build", "BUILD_REQUESTEDFOREMAIL": "azure-pipelines-commit-author-email@datadoghq.com", "BUILD_REQUESTEDFORID": "azure-pipelines-commit-author", "BUILD_SOURCEBRANCH": "refs/heads/tags/0.1.0", @@ -431,24 +431,24 @@ "BUILD_SOURCEVERSIONMESSAGE": "azure-pipelines-commit-message", "SYSTEM_JOBID": "azure-pipelines-job-id", "SYSTEM_TASKINSTANCEID": "azure-pipelines-task-id", - "SYSTEM_TEAMFOUNDATIONSERVERURI": "azure-pipelines-server-uri/", + "SYSTEM_TEAMFOUNDATIONSERVERURI": "https://azure-pipelines-server-uri.com/", "SYSTEM_TEAMPROJECTID": "azure-pipelines-project-id", "TF_BUILD": "True" }, { "_dd.ci.env_vars": "{\"SYSTEM_TEAMPROJECTID\":\"azure-pipelines-project-id\",\"BUILD_BUILDID\":\"azure-pipelines-build-id\",\"SYSTEM_JOBID\":\"azure-pipelines-job-id\"}", - "ci.job.url": "azure-pipelines-server-uri/azure-pipelines-project-id/_build/results?buildId=azure-pipelines-build-id&view=logs&j=azure-pipelines-job-id&t=azure-pipelines-task-id", + "ci.job.url": "https://azure-pipelines-server-uri.com/azure-pipelines-project-id/_build/results?buildId=azure-pipelines-build-id&view=logs&j=azure-pipelines-job-id&t=azure-pipelines-task-id", "ci.pipeline.id": "azure-pipelines-build-id", "ci.pipeline.name": "azure-pipelines-name", "ci.pipeline.number": "azure-pipelines-build-id", - "ci.pipeline.url": "azure-pipelines-server-uri/azure-pipelines-project-id/_build/results?buildId=azure-pipelines-build-id", + "ci.pipeline.url": "https://azure-pipelines-server-uri.com/azure-pipelines-project-id/_build/results?buildId=azure-pipelines-build-id", "ci.provider.name": "azurepipelines", "ci.workspace_path": "/foo/bar", "git.commit.author.email": "azure-pipelines-commit-author-email@datadoghq.com", "git.commit.author.name": "azure-pipelines-commit-author", "git.commit.message": "azure-pipelines-commit-message", "git.commit.sha": "commit", - "git.repository_url": "sample", + "git.repository_url": "https://azure-pipelines-server-uri.com/build", "git.tag": "0.1.0" } ], @@ -456,7 +456,7 @@ { "BUILD_BUILDID": "azure-pipelines-build-id", "BUILD_DEFINITIONNAME": "azure-pipelines-name", - "BUILD_REPOSITORY_URI": "sample", + "BUILD_REPOSITORY_URI": "https://azure-pipelines-server-uri.com/build", "BUILD_REQUESTEDFOREMAIL": "azure-pipelines-commit-author-email@datadoghq.com", "BUILD_REQUESTEDFORID": "azure-pipelines-commit-author", "BUILD_SOURCEBRANCH": "origin/master", @@ -467,17 +467,17 @@ "SYSTEM_PULLREQUEST_SOURCEBRANCH": "origin/pr", "SYSTEM_PULLREQUEST_SOURCECOMMITID": "commitPR", "SYSTEM_TASKINSTANCEID": "azure-pipelines-task-id", - "SYSTEM_TEAMFOUNDATIONSERVERURI": "azure-pipelines-server-uri/", + "SYSTEM_TEAMFOUNDATIONSERVERURI": "https://azure-pipelines-server-uri.com/", "SYSTEM_TEAMPROJECTID": "azure-pipelines-project-id", "TF_BUILD": "True" }, { "_dd.ci.env_vars": "{\"SYSTEM_TEAMPROJECTID\":\"azure-pipelines-project-id\",\"BUILD_BUILDID\":\"azure-pipelines-build-id\",\"SYSTEM_JOBID\":\"azure-pipelines-job-id\"}", - "ci.job.url": "azure-pipelines-server-uri/azure-pipelines-project-id/_build/results?buildId=azure-pipelines-build-id&view=logs&j=azure-pipelines-job-id&t=azure-pipelines-task-id", + "ci.job.url": "https://azure-pipelines-server-uri.com/azure-pipelines-project-id/_build/results?buildId=azure-pipelines-build-id&view=logs&j=azure-pipelines-job-id&t=azure-pipelines-task-id", "ci.pipeline.id": "azure-pipelines-build-id", "ci.pipeline.name": "azure-pipelines-name", "ci.pipeline.number": "azure-pipelines-build-id", - "ci.pipeline.url": "azure-pipelines-server-uri/azure-pipelines-project-id/_build/results?buildId=azure-pipelines-build-id", + "ci.pipeline.url": "https://azure-pipelines-server-uri.com/azure-pipelines-project-id/_build/results?buildId=azure-pipelines-build-id", "ci.provider.name": "azurepipelines", "ci.workspace_path": "/foo/bar", "git.branch": "pr", @@ -485,14 +485,14 @@ "git.commit.author.name": "azure-pipelines-commit-author", "git.commit.message": "azure-pipelines-commit-message", "git.commit.sha": "commitPR", - "git.repository_url": "sample" + "git.repository_url": "https://azure-pipelines-server-uri.com/build" } ], [ { "BUILD_BUILDID": "azure-pipelines-build-id", "BUILD_DEFINITIONNAME": "azure-pipelines-name", - "BUILD_REPOSITORY_URI": "sample", + "BUILD_REPOSITORY_URI": "https://azure-pipelines-server-uri.com/build", "BUILD_REQUESTEDFOREMAIL": "azure-pipelines-commit-author-email@datadoghq.com", "BUILD_REQUESTEDFORID": "azure-pipelines-commit-author", "BUILD_SOURCEBRANCH": "refs/heads/master", @@ -504,17 +504,17 @@ "SYSTEM_PULLREQUEST_SOURCECOMMITID": "commitPR", "SYSTEM_STAGEDISPLAYNAME": "azure-pipelines-stage-name", "SYSTEM_TASKINSTANCEID": "azure-pipelines-task-id", - "SYSTEM_TEAMFOUNDATIONSERVERURI": "azure-pipelines-server-uri/", + "SYSTEM_TEAMFOUNDATIONSERVERURI": "https://azure-pipelines-server-uri.com/", "SYSTEM_TEAMPROJECTID": "azure-pipelines-project-id", "TF_BUILD": "True" }, { "_dd.ci.env_vars": "{\"SYSTEM_TEAMPROJECTID\":\"azure-pipelines-project-id\",\"BUILD_BUILDID\":\"azure-pipelines-build-id\",\"SYSTEM_JOBID\":\"azure-pipelines-job-id\"}", - "ci.job.url": "azure-pipelines-server-uri/azure-pipelines-project-id/_build/results?buildId=azure-pipelines-build-id&view=logs&j=azure-pipelines-job-id&t=azure-pipelines-task-id", + "ci.job.url": "https://azure-pipelines-server-uri.com/azure-pipelines-project-id/_build/results?buildId=azure-pipelines-build-id&view=logs&j=azure-pipelines-job-id&t=azure-pipelines-task-id", "ci.pipeline.id": "azure-pipelines-build-id", "ci.pipeline.name": "azure-pipelines-name", "ci.pipeline.number": "azure-pipelines-build-id", - "ci.pipeline.url": "azure-pipelines-server-uri/azure-pipelines-project-id/_build/results?buildId=azure-pipelines-build-id", + "ci.pipeline.url": "https://azure-pipelines-server-uri.com/azure-pipelines-project-id/_build/results?buildId=azure-pipelines-build-id", "ci.provider.name": "azurepipelines", "ci.stage.name": "azure-pipelines-stage-name", "ci.workspace_path": "/foo/bar", @@ -523,14 +523,14 @@ "git.commit.author.name": "azure-pipelines-commit-author", "git.commit.message": "azure-pipelines-commit-message", "git.commit.sha": "commitPR", - "git.repository_url": "sample" + "git.repository_url": "https://azure-pipelines-server-uri.com/build" } ], [ { "BUILD_BUILDID": "azure-pipelines-build-id", "BUILD_DEFINITIONNAME": "azure-pipelines-name", - "BUILD_REPOSITORY_URI": "sample", + "BUILD_REPOSITORY_URI": "https://azure-pipelines-server-uri.com/build", "BUILD_REQUESTEDFOREMAIL": "azure-pipelines-commit-author-email@datadoghq.com", "BUILD_REQUESTEDFORID": "azure-pipelines-commit-author", "BUILD_SOURCEBRANCH": "refs/heads/feature/one", @@ -542,18 +542,18 @@ "SYSTEM_PULLREQUEST_SOURCEBRANCH": "refs/heads/pr", "SYSTEM_PULLREQUEST_SOURCECOMMITID": "commitPR", "SYSTEM_TASKINSTANCEID": "azure-pipelines-task-id", - "SYSTEM_TEAMFOUNDATIONSERVERURI": "azure-pipelines-server-uri/", + "SYSTEM_TEAMFOUNDATIONSERVERURI": "https://azure-pipelines-server-uri.com/", "SYSTEM_TEAMPROJECTID": "azure-pipelines-project-id", "TF_BUILD": "True" }, { "_dd.ci.env_vars": "{\"SYSTEM_TEAMPROJECTID\":\"azure-pipelines-project-id\",\"BUILD_BUILDID\":\"azure-pipelines-build-id\",\"SYSTEM_JOBID\":\"azure-pipelines-job-id\"}", "ci.job.name": "azure-pipelines-job-name", - "ci.job.url": "azure-pipelines-server-uri/azure-pipelines-project-id/_build/results?buildId=azure-pipelines-build-id&view=logs&j=azure-pipelines-job-id&t=azure-pipelines-task-id", + "ci.job.url": "https://azure-pipelines-server-uri.com/azure-pipelines-project-id/_build/results?buildId=azure-pipelines-build-id&view=logs&j=azure-pipelines-job-id&t=azure-pipelines-task-id", "ci.pipeline.id": "azure-pipelines-build-id", "ci.pipeline.name": "azure-pipelines-name", "ci.pipeline.number": "azure-pipelines-build-id", - "ci.pipeline.url": "azure-pipelines-server-uri/azure-pipelines-project-id/_build/results?buildId=azure-pipelines-build-id", + "ci.pipeline.url": "https://azure-pipelines-server-uri.com/azure-pipelines-project-id/_build/results?buildId=azure-pipelines-build-id", "ci.provider.name": "azurepipelines", "ci.workspace_path": "/foo/bar", "git.branch": "pr", @@ -561,7 +561,7 @@ "git.commit.author.name": "azure-pipelines-commit-author", "git.commit.message": "azure-pipelines-commit-message", "git.commit.sha": "commitPR", - "git.repository_url": "sample" + "git.repository_url": "https://azure-pipelines-server-uri.com/build" } ], [ @@ -583,17 +583,17 @@ "DD_GIT_REPOSITORY_URL": "git@github.com:DataDog/userrepo.git", "SYSTEM_JOBID": "azure-pipelines-job-id", "SYSTEM_TASKINSTANCEID": "azure-pipelines-task-id", - "SYSTEM_TEAMFOUNDATIONSERVERURI": "azure-pipelines-server-uri/", + "SYSTEM_TEAMFOUNDATIONSERVERURI": "https://azure-pipelines-server-uri.com/", "SYSTEM_TEAMPROJECTID": "azure-pipelines-project-id", "TF_BUILD": "True" }, { "_dd.ci.env_vars": "{\"SYSTEM_TEAMPROJECTID\":\"azure-pipelines-project-id\",\"BUILD_BUILDID\":\"azure-pipelines-build-id\",\"SYSTEM_JOBID\":\"azure-pipelines-job-id\"}", - "ci.job.url": "azure-pipelines-server-uri/azure-pipelines-project-id/_build/results?buildId=azure-pipelines-build-id&view=logs&j=azure-pipelines-job-id&t=azure-pipelines-task-id", + "ci.job.url": "https://azure-pipelines-server-uri.com/azure-pipelines-project-id/_build/results?buildId=azure-pipelines-build-id&view=logs&j=azure-pipelines-job-id&t=azure-pipelines-task-id", "ci.pipeline.id": "azure-pipelines-build-id", "ci.pipeline.name": "azure-pipelines-name", "ci.pipeline.number": "azure-pipelines-build-id", - "ci.pipeline.url": "azure-pipelines-server-uri/azure-pipelines-project-id/_build/results?buildId=azure-pipelines-build-id", + "ci.pipeline.url": "https://azure-pipelines-server-uri.com/azure-pipelines-project-id/_build/results?buildId=azure-pipelines-build-id", "ci.provider.name": "azurepipelines", "git.branch": "user-supplied-branch", "git.commit.author.date": "usersupplied-authordate", @@ -626,17 +626,17 @@ "DD_GIT_TAG": "0.0.2", "SYSTEM_JOBID": "azure-pipelines-job-id", "SYSTEM_TASKINSTANCEID": "azure-pipelines-task-id", - "SYSTEM_TEAMFOUNDATIONSERVERURI": "azure-pipelines-server-uri/", + "SYSTEM_TEAMFOUNDATIONSERVERURI": "https://azure-pipelines-server-uri.com/", "SYSTEM_TEAMPROJECTID": "azure-pipelines-project-id", "TF_BUILD": "True" }, { "_dd.ci.env_vars": "{\"SYSTEM_TEAMPROJECTID\":\"azure-pipelines-project-id\",\"BUILD_BUILDID\":\"azure-pipelines-build-id\",\"SYSTEM_JOBID\":\"azure-pipelines-job-id\"}", - "ci.job.url": "azure-pipelines-server-uri/azure-pipelines-project-id/_build/results?buildId=azure-pipelines-build-id&view=logs&j=azure-pipelines-job-id&t=azure-pipelines-task-id", + "ci.job.url": "https://azure-pipelines-server-uri.com/azure-pipelines-project-id/_build/results?buildId=azure-pipelines-build-id&view=logs&j=azure-pipelines-job-id&t=azure-pipelines-task-id", "ci.pipeline.id": "azure-pipelines-build-id", "ci.pipeline.name": "azure-pipelines-name", "ci.pipeline.number": "azure-pipelines-build-id", - "ci.pipeline.url": "azure-pipelines-server-uri/azure-pipelines-project-id/_build/results?buildId=azure-pipelines-build-id", + "ci.pipeline.url": "https://azure-pipelines-server-uri.com/azure-pipelines-project-id/_build/results?buildId=azure-pipelines-build-id", "ci.provider.name": "azurepipelines", "git.commit.author.date": "usersupplied-authordate", "git.commit.author.email": "usersupplied-authoremail", @@ -660,17 +660,17 @@ "BUILD_SOURCEVERSIONMESSAGE": "azure-pipelines-commit-message", "SYSTEM_JOBID": "azure-pipelines-job-id", "SYSTEM_TASKINSTANCEID": "azure-pipelines-task-id", - "SYSTEM_TEAMFOUNDATIONSERVERURI": "azure-pipelines-server-uri/", + "SYSTEM_TEAMFOUNDATIONSERVERURI": "https://azure-pipelines-server-uri.com/", "SYSTEM_TEAMPROJECTID": "azure-pipelines-project-id", "TF_BUILD": "True" }, { "_dd.ci.env_vars": "{\"SYSTEM_TEAMPROJECTID\":\"azure-pipelines-project-id\",\"BUILD_BUILDID\":\"azure-pipelines-build-id\",\"SYSTEM_JOBID\":\"azure-pipelines-job-id\"}", - "ci.job.url": "azure-pipelines-server-uri/azure-pipelines-project-id/_build/results?buildId=azure-pipelines-build-id&view=logs&j=azure-pipelines-job-id&t=azure-pipelines-task-id", + "ci.job.url": "https://azure-pipelines-server-uri.com/azure-pipelines-project-id/_build/results?buildId=azure-pipelines-build-id&view=logs&j=azure-pipelines-job-id&t=azure-pipelines-task-id", "ci.pipeline.id": "azure-pipelines-build-id", "ci.pipeline.name": "azure-pipelines-name", "ci.pipeline.number": "azure-pipelines-build-id", - "ci.pipeline.url": "azure-pipelines-server-uri/azure-pipelines-project-id/_build/results?buildId=azure-pipelines-build-id", + "ci.pipeline.url": "https://azure-pipelines-server-uri.com/azure-pipelines-project-id/_build/results?buildId=azure-pipelines-build-id", "ci.provider.name": "azurepipelines", "git.commit.author.email": "azure-pipelines-commit-author-email@datadoghq.com", "git.commit.author.name": "azure-pipelines-commit-author", diff --git a/packages/dd-trace/test/plugins/util/ci-env/bitbucket.json b/packages/dd-trace/test/plugins/util/ci-env/bitbucket.json index c7171cf02e2..721e798cc67 100644 --- a/packages/dd-trace/test/plugins/util/ci-env/bitbucket.json +++ b/packages/dd-trace/test/plugins/util/ci-env/bitbucket.json @@ -5,7 +5,7 @@ "BITBUCKET_BUILD_NUMBER": "bitbucket-build-num", "BITBUCKET_CLONE_DIR": "/foo/bar", "BITBUCKET_COMMIT": "bitbucket-commit", - "BITBUCKET_GIT_SSH_ORIGIN": "bitbucket-repo-url", + "BITBUCKET_GIT_SSH_ORIGIN": "https://bitbucket-repo-url.com/", "BITBUCKET_PIPELINE_UUID": "{bitbucket-uuid}", "BITBUCKET_REPO_FULL_NAME": "bitbucket-repo" }, @@ -19,7 +19,7 @@ "ci.workspace_path": "/foo/bar", "git.branch": "master", "git.commit.sha": "bitbucket-commit", - "git.repository_url": "bitbucket-repo-url" + "git.repository_url": "https://bitbucket-repo-url.com/" } ], [ @@ -28,7 +28,7 @@ "BITBUCKET_BUILD_NUMBER": "bitbucket-build-num", "BITBUCKET_CLONE_DIR": "foo/bar", "BITBUCKET_COMMIT": "bitbucket-commit", - "BITBUCKET_GIT_SSH_ORIGIN": "bitbucket-repo-url", + "BITBUCKET_GIT_SSH_ORIGIN": "https://bitbucket-repo-url.com/", "BITBUCKET_PIPELINE_UUID": "{bitbucket-uuid}", "BITBUCKET_REPO_FULL_NAME": "bitbucket-repo" }, @@ -42,7 +42,7 @@ "ci.workspace_path": "foo/bar", "git.branch": "master", "git.commit.sha": "bitbucket-commit", - "git.repository_url": "bitbucket-repo-url" + "git.repository_url": "https://bitbucket-repo-url.com/" } ], [ @@ -51,7 +51,7 @@ "BITBUCKET_BUILD_NUMBER": "bitbucket-build-num", "BITBUCKET_CLONE_DIR": "/foo/bar~", "BITBUCKET_COMMIT": "bitbucket-commit", - "BITBUCKET_GIT_SSH_ORIGIN": "bitbucket-repo-url", + "BITBUCKET_GIT_SSH_ORIGIN": "https://bitbucket-repo-url.com/", "BITBUCKET_PIPELINE_UUID": "{bitbucket-uuid}", "BITBUCKET_REPO_FULL_NAME": "bitbucket-repo" }, @@ -65,7 +65,7 @@ "ci.workspace_path": "/foo/bar~", "git.branch": "master", "git.commit.sha": "bitbucket-commit", - "git.repository_url": "bitbucket-repo-url" + "git.repository_url": "https://bitbucket-repo-url.com/" } ], [ @@ -74,7 +74,7 @@ "BITBUCKET_BUILD_NUMBER": "bitbucket-build-num", "BITBUCKET_CLONE_DIR": "/foo/~/bar", "BITBUCKET_COMMIT": "bitbucket-commit", - "BITBUCKET_GIT_SSH_ORIGIN": "bitbucket-repo-url", + "BITBUCKET_GIT_SSH_ORIGIN": "https://bitbucket-repo-url.com/", "BITBUCKET_PIPELINE_UUID": "{bitbucket-uuid}", "BITBUCKET_REPO_FULL_NAME": "bitbucket-repo" }, @@ -88,7 +88,7 @@ "ci.workspace_path": "/foo/~/bar", "git.branch": "master", "git.commit.sha": "bitbucket-commit", - "git.repository_url": "bitbucket-repo-url" + "git.repository_url": "https://bitbucket-repo-url.com/" } ], [ @@ -97,7 +97,7 @@ "BITBUCKET_BUILD_NUMBER": "bitbucket-build-num", "BITBUCKET_CLONE_DIR": "~/foo/bar", "BITBUCKET_COMMIT": "bitbucket-commit", - "BITBUCKET_GIT_SSH_ORIGIN": "bitbucket-repo-url", + "BITBUCKET_GIT_SSH_ORIGIN": "https://bitbucket-repo-url.com/", "BITBUCKET_PIPELINE_UUID": "{bitbucket-uuid}", "BITBUCKET_REPO_FULL_NAME": "bitbucket-repo", "HOME": "/not-my-home", @@ -113,7 +113,7 @@ "ci.workspace_path": "/not-my-home/foo/bar", "git.branch": "master", "git.commit.sha": "bitbucket-commit", - "git.repository_url": "bitbucket-repo-url" + "git.repository_url": "https://bitbucket-repo-url.com/" } ], [ @@ -122,7 +122,7 @@ "BITBUCKET_BUILD_NUMBER": "bitbucket-build-num", "BITBUCKET_CLONE_DIR": "~foo/bar", "BITBUCKET_COMMIT": "bitbucket-commit", - "BITBUCKET_GIT_SSH_ORIGIN": "bitbucket-repo-url", + "BITBUCKET_GIT_SSH_ORIGIN": "https://bitbucket-repo-url.com/", "BITBUCKET_PIPELINE_UUID": "{bitbucket-uuid}", "BITBUCKET_REPO_FULL_NAME": "bitbucket-repo" }, @@ -136,7 +136,7 @@ "ci.workspace_path": "~foo/bar", "git.branch": "master", "git.commit.sha": "bitbucket-commit", - "git.repository_url": "bitbucket-repo-url" + "git.repository_url": "https://bitbucket-repo-url.com/" } ], [ @@ -145,7 +145,7 @@ "BITBUCKET_BUILD_NUMBER": "bitbucket-build-num", "BITBUCKET_CLONE_DIR": "~", "BITBUCKET_COMMIT": "bitbucket-commit", - "BITBUCKET_GIT_SSH_ORIGIN": "bitbucket-repo-url", + "BITBUCKET_GIT_SSH_ORIGIN": "https://bitbucket-repo-url.com/", "BITBUCKET_PIPELINE_UUID": "{bitbucket-uuid}", "BITBUCKET_REPO_FULL_NAME": "bitbucket-repo", "HOME": "/not-my-home", @@ -161,7 +161,7 @@ "ci.workspace_path": "/not-my-home", "git.branch": "master", "git.commit.sha": "bitbucket-commit", - "git.repository_url": "bitbucket-repo-url" + "git.repository_url": "https://bitbucket-repo-url.com/" } ], [ @@ -170,7 +170,7 @@ "BITBUCKET_BUILD_NUMBER": "bitbucket-build-num", "BITBUCKET_CLONE_DIR": "/foo/bar", "BITBUCKET_COMMIT": "bitbucket-commit", - "BITBUCKET_GIT_SSH_ORIGIN": "bitbucket-repo-url", + "BITBUCKET_GIT_SSH_ORIGIN": "https://bitbucket-repo-url.com/", "BITBUCKET_PIPELINE_UUID": "{bitbucket-uuid}", "BITBUCKET_REPO_FULL_NAME": "bitbucket-repo" }, @@ -184,7 +184,7 @@ "ci.workspace_path": "/foo/bar", "git.branch": "master", "git.commit.sha": "bitbucket-commit", - "git.repository_url": "bitbucket-repo-url" + "git.repository_url": "https://bitbucket-repo-url.com/" } ], [ @@ -193,7 +193,7 @@ "BITBUCKET_BUILD_NUMBER": "bitbucket-build-num", "BITBUCKET_CLONE_DIR": "/foo/bar", "BITBUCKET_COMMIT": "bitbucket-commit", - "BITBUCKET_GIT_SSH_ORIGIN": "bitbucket-repo-url", + "BITBUCKET_GIT_SSH_ORIGIN": "https://bitbucket-repo-url.com/", "BITBUCKET_PIPELINE_UUID": "{bitbucket-uuid}", "BITBUCKET_REPO_FULL_NAME": "bitbucket-repo" }, @@ -207,7 +207,7 @@ "ci.workspace_path": "/foo/bar", "git.branch": "master", "git.commit.sha": "bitbucket-commit", - "git.repository_url": "bitbucket-repo-url" + "git.repository_url": "https://bitbucket-repo-url.com/" } ], [ @@ -216,7 +216,7 @@ "BITBUCKET_BUILD_NUMBER": "bitbucket-build-num", "BITBUCKET_CLONE_DIR": "/foo/bar", "BITBUCKET_COMMIT": "bitbucket-commit", - "BITBUCKET_GIT_SSH_ORIGIN": "bitbucket-repo-url", + "BITBUCKET_GIT_SSH_ORIGIN": "https://bitbucket-repo-url.com/", "BITBUCKET_PIPELINE_UUID": "{bitbucket-uuid}", "BITBUCKET_REPO_FULL_NAME": "bitbucket-repo" }, @@ -230,7 +230,7 @@ "ci.workspace_path": "/foo/bar", "git.branch": "master", "git.commit.sha": "bitbucket-commit", - "git.repository_url": "bitbucket-repo-url" + "git.repository_url": "https://bitbucket-repo-url.com/" } ], [ @@ -239,7 +239,7 @@ "BITBUCKET_BUILD_NUMBER": "bitbucket-build-num", "BITBUCKET_CLONE_DIR": "/foo/bar", "BITBUCKET_COMMIT": "bitbucket-commit", - "BITBUCKET_GIT_SSH_ORIGIN": "bitbucket-repo-url", + "BITBUCKET_GIT_SSH_ORIGIN": "https://bitbucket-repo-url.com/", "BITBUCKET_PIPELINE_UUID": "{bitbucket-uuid}", "BITBUCKET_REPO_FULL_NAME": "bitbucket-repo" }, @@ -253,7 +253,7 @@ "ci.workspace_path": "/foo/bar", "git.branch": "feature/one", "git.commit.sha": "bitbucket-commit", - "git.repository_url": "bitbucket-repo-url" + "git.repository_url": "https://bitbucket-repo-url.com/" } ], [ @@ -261,7 +261,7 @@ "BITBUCKET_BUILD_NUMBER": "bitbucket-build-num", "BITBUCKET_CLONE_DIR": "/foo/bar", "BITBUCKET_COMMIT": "bitbucket-commit", - "BITBUCKET_GIT_SSH_ORIGIN": "bitbucket-repo-url", + "BITBUCKET_GIT_SSH_ORIGIN": "https://bitbucket-repo-url.com/", "BITBUCKET_PIPELINE_UUID": "{bitbucket-uuid}", "BITBUCKET_REPO_FULL_NAME": "bitbucket-repo", "BITBUCKET_TAG": "origin/tags/0.1.0" @@ -275,7 +275,7 @@ "ci.provider.name": "bitbucket", "ci.workspace_path": "/foo/bar", "git.commit.sha": "bitbucket-commit", - "git.repository_url": "bitbucket-repo-url", + "git.repository_url": "https://bitbucket-repo-url.com/", "git.tag": "0.1.0" } ], @@ -284,7 +284,7 @@ "BITBUCKET_BUILD_NUMBER": "bitbucket-build-num", "BITBUCKET_CLONE_DIR": "/foo/bar", "BITBUCKET_COMMIT": "bitbucket-commit", - "BITBUCKET_GIT_SSH_ORIGIN": "bitbucket-repo-url", + "BITBUCKET_GIT_SSH_ORIGIN": "https://bitbucket-repo-url.com/", "BITBUCKET_PIPELINE_UUID": "{bitbucket-uuid}", "BITBUCKET_REPO_FULL_NAME": "bitbucket-repo", "BITBUCKET_TAG": "refs/heads/tags/0.1.0" @@ -298,7 +298,7 @@ "ci.provider.name": "bitbucket", "ci.workspace_path": "/foo/bar", "git.commit.sha": "bitbucket-commit", - "git.repository_url": "bitbucket-repo-url", + "git.repository_url": "https://bitbucket-repo-url.com/", "git.tag": "0.1.0" } ], @@ -306,7 +306,7 @@ { "BITBUCKET_BUILD_NUMBER": "bitbucket-build-num", "BITBUCKET_COMMIT": "bitbucket-commit", - "BITBUCKET_GIT_SSH_ORIGIN": "bitbucket-repo-url", + "BITBUCKET_GIT_SSH_ORIGIN": "https://bitbucket-repo-url.com/", "BITBUCKET_PIPELINE_UUID": "{bitbucket-uuid}", "BITBUCKET_REPO_FULL_NAME": "bitbucket-repo", "DD_GIT_BRANCH": "user-supplied-branch", @@ -343,7 +343,7 @@ { "BITBUCKET_BUILD_NUMBER": "bitbucket-build-num", "BITBUCKET_COMMIT": "bitbucket-commit", - "BITBUCKET_GIT_SSH_ORIGIN": "bitbucket-repo-url", + "BITBUCKET_GIT_SSH_ORIGIN": "https://bitbucket-repo-url.com/", "BITBUCKET_PIPELINE_UUID": "{bitbucket-uuid}", "BITBUCKET_REPO_FULL_NAME": "bitbucket-repo", "DD_GIT_COMMIT_AUTHOR_DATE": "usersupplied-authordate", diff --git a/packages/dd-trace/test/plugins/util/ci-env/bitrise.json b/packages/dd-trace/test/plugins/util/ci-env/bitrise.json index a3ed2305ba9..63d33ad310d 100644 --- a/packages/dd-trace/test/plugins/util/ci-env/bitrise.json +++ b/packages/dd-trace/test/plugins/util/ci-env/bitrise.json @@ -3,137 +3,137 @@ { "BITRISE_BUILD_NUMBER": "bitrise-pipeline-number", "BITRISE_BUILD_SLUG": "bitrise-pipeline-id", - "BITRISE_BUILD_URL": "bitrise-build-url", + "BITRISE_BUILD_URL": "https://bitrise-build-url.com//", "BITRISE_GIT_COMMIT": "gitcommit", "BITRISE_GIT_MESSAGE": "bitrise-git-commit-message", "BITRISE_SOURCE_DIR": "/foo/bar", "BITRISE_TRIGGERED_WORKFLOW_ID": "bitrise-pipeline-name", "GIT_CLONE_COMMIT_HASH": "bitrise-git-commit", - "GIT_REPOSITORY_URL": "sample" + "GIT_REPOSITORY_URL": "https://bitrise-build-url.com/" }, { "ci.pipeline.id": "bitrise-pipeline-id", "ci.pipeline.name": "bitrise-pipeline-name", "ci.pipeline.number": "bitrise-pipeline-number", - "ci.pipeline.url": "bitrise-build-url", + "ci.pipeline.url": "https://bitrise-build-url.com//", "ci.provider.name": "bitrise", "ci.workspace_path": "/foo/bar", "git.commit.message": "bitrise-git-commit-message", "git.commit.sha": "gitcommit", - "git.repository_url": "sample" + "git.repository_url": "https://bitrise-build-url.com/" } ], [ { "BITRISE_BUILD_NUMBER": "bitrise-pipeline-number", "BITRISE_BUILD_SLUG": "bitrise-pipeline-id", - "BITRISE_BUILD_URL": "bitrise-build-url", + "BITRISE_BUILD_URL": "https://bitrise-build-url.com//", "BITRISE_GIT_BRANCH": "origin/master", "BITRISE_GIT_MESSAGE": "bitrise-git-commit-message", "BITRISE_SOURCE_DIR": "/foo/bar", "BITRISE_TRIGGERED_WORKFLOW_ID": "bitrise-pipeline-name", "GIT_CLONE_COMMIT_HASH": "bitrise-git-commit", - "GIT_REPOSITORY_URL": "sample" + "GIT_REPOSITORY_URL": "https://bitrise-build-url.com/" }, { "ci.pipeline.id": "bitrise-pipeline-id", "ci.pipeline.name": "bitrise-pipeline-name", "ci.pipeline.number": "bitrise-pipeline-number", - "ci.pipeline.url": "bitrise-build-url", + "ci.pipeline.url": "https://bitrise-build-url.com//", "ci.provider.name": "bitrise", "ci.workspace_path": "/foo/bar", "git.branch": "master", "git.commit.message": "bitrise-git-commit-message", "git.commit.sha": "bitrise-git-commit", - "git.repository_url": "sample" + "git.repository_url": "https://bitrise-build-url.com/" } ], [ { "BITRISE_BUILD_NUMBER": "bitrise-pipeline-number", "BITRISE_BUILD_SLUG": "bitrise-pipeline-id", - "BITRISE_BUILD_URL": "bitrise-build-url", + "BITRISE_BUILD_URL": "https://bitrise-build-url.com//", "BITRISE_GIT_BRANCH": "origin/master", "BITRISE_GIT_MESSAGE": "bitrise-git-commit-message", "BITRISE_SOURCE_DIR": "foo/bar", "BITRISE_TRIGGERED_WORKFLOW_ID": "bitrise-pipeline-name", "GIT_CLONE_COMMIT_HASH": "bitrise-git-commit", - "GIT_REPOSITORY_URL": "sample" + "GIT_REPOSITORY_URL": "https://bitrise-build-url.com/" }, { "ci.pipeline.id": "bitrise-pipeline-id", "ci.pipeline.name": "bitrise-pipeline-name", "ci.pipeline.number": "bitrise-pipeline-number", - "ci.pipeline.url": "bitrise-build-url", + "ci.pipeline.url": "https://bitrise-build-url.com//", "ci.provider.name": "bitrise", "ci.workspace_path": "foo/bar", "git.branch": "master", "git.commit.message": "bitrise-git-commit-message", "git.commit.sha": "bitrise-git-commit", - "git.repository_url": "sample" + "git.repository_url": "https://bitrise-build-url.com/" } ], [ { "BITRISE_BUILD_NUMBER": "bitrise-pipeline-number", "BITRISE_BUILD_SLUG": "bitrise-pipeline-id", - "BITRISE_BUILD_URL": "bitrise-build-url", + "BITRISE_BUILD_URL": "https://bitrise-build-url.com//", "BITRISE_GIT_BRANCH": "origin/master", "BITRISE_GIT_MESSAGE": "bitrise-git-commit-message", "BITRISE_SOURCE_DIR": "/foo/bar~", "BITRISE_TRIGGERED_WORKFLOW_ID": "bitrise-pipeline-name", "GIT_CLONE_COMMIT_HASH": "bitrise-git-commit", - "GIT_REPOSITORY_URL": "sample" + "GIT_REPOSITORY_URL": "https://bitrise-build-url.com/" }, { "ci.pipeline.id": "bitrise-pipeline-id", "ci.pipeline.name": "bitrise-pipeline-name", "ci.pipeline.number": "bitrise-pipeline-number", - "ci.pipeline.url": "bitrise-build-url", + "ci.pipeline.url": "https://bitrise-build-url.com//", "ci.provider.name": "bitrise", "ci.workspace_path": "/foo/bar~", "git.branch": "master", "git.commit.message": "bitrise-git-commit-message", "git.commit.sha": "bitrise-git-commit", - "git.repository_url": "sample" + "git.repository_url": "https://bitrise-build-url.com/" } ], [ { "BITRISE_BUILD_NUMBER": "bitrise-pipeline-number", "BITRISE_BUILD_SLUG": "bitrise-pipeline-id", - "BITRISE_BUILD_URL": "bitrise-build-url", + "BITRISE_BUILD_URL": "https://bitrise-build-url.com//", "BITRISE_GIT_BRANCH": "origin/master", "BITRISE_GIT_MESSAGE": "bitrise-git-commit-message", "BITRISE_SOURCE_DIR": "/foo/~/bar", "BITRISE_TRIGGERED_WORKFLOW_ID": "bitrise-pipeline-name", "GIT_CLONE_COMMIT_HASH": "bitrise-git-commit", - "GIT_REPOSITORY_URL": "sample" + "GIT_REPOSITORY_URL": "https://bitrise-build-url.com/" }, { "ci.pipeline.id": "bitrise-pipeline-id", "ci.pipeline.name": "bitrise-pipeline-name", "ci.pipeline.number": "bitrise-pipeline-number", - "ci.pipeline.url": "bitrise-build-url", + "ci.pipeline.url": "https://bitrise-build-url.com//", "ci.provider.name": "bitrise", "ci.workspace_path": "/foo/~/bar", "git.branch": "master", "git.commit.message": "bitrise-git-commit-message", "git.commit.sha": "bitrise-git-commit", - "git.repository_url": "sample" + "git.repository_url": "https://bitrise-build-url.com/" } ], [ { "BITRISE_BUILD_NUMBER": "bitrise-pipeline-number", "BITRISE_BUILD_SLUG": "bitrise-pipeline-id", - "BITRISE_BUILD_URL": "bitrise-build-url", + "BITRISE_BUILD_URL": "https://bitrise-build-url.com//", "BITRISE_GIT_BRANCH": "origin/master", "BITRISE_GIT_MESSAGE": "bitrise-git-commit-message", "BITRISE_SOURCE_DIR": "~/foo/bar", "BITRISE_TRIGGERED_WORKFLOW_ID": "bitrise-pipeline-name", "GIT_CLONE_COMMIT_HASH": "bitrise-git-commit", - "GIT_REPOSITORY_URL": "sample", + "GIT_REPOSITORY_URL": "https://bitrise-build-url.com/", "HOME": "/not-my-home", "USERPROFILE": "/not-my-home" }, @@ -141,26 +141,26 @@ "ci.pipeline.id": "bitrise-pipeline-id", "ci.pipeline.name": "bitrise-pipeline-name", "ci.pipeline.number": "bitrise-pipeline-number", - "ci.pipeline.url": "bitrise-build-url", + "ci.pipeline.url": "https://bitrise-build-url.com//", "ci.provider.name": "bitrise", "ci.workspace_path": "/not-my-home/foo/bar", "git.branch": "master", "git.commit.message": "bitrise-git-commit-message", "git.commit.sha": "bitrise-git-commit", - "git.repository_url": "sample" + "git.repository_url": "https://bitrise-build-url.com/" } ], [ { "BITRISE_BUILD_NUMBER": "bitrise-pipeline-number", "BITRISE_BUILD_SLUG": "bitrise-pipeline-id", - "BITRISE_BUILD_URL": "bitrise-build-url", + "BITRISE_BUILD_URL": "https://bitrise-build-url.com//", "BITRISE_GIT_BRANCH": "origin/master", "BITRISE_GIT_MESSAGE": "bitrise-git-commit-message", "BITRISE_SOURCE_DIR": "~foo/bar", "BITRISE_TRIGGERED_WORKFLOW_ID": "bitrise-pipeline-name", "GIT_CLONE_COMMIT_HASH": "bitrise-git-commit", - "GIT_REPOSITORY_URL": "sample", + "GIT_REPOSITORY_URL": "https://bitrise-build-url.com/", "HOME": "/not-my-home", "USERPROFILE": "/not-my-home" }, @@ -168,26 +168,26 @@ "ci.pipeline.id": "bitrise-pipeline-id", "ci.pipeline.name": "bitrise-pipeline-name", "ci.pipeline.number": "bitrise-pipeline-number", - "ci.pipeline.url": "bitrise-build-url", + "ci.pipeline.url": "https://bitrise-build-url.com//", "ci.provider.name": "bitrise", "ci.workspace_path": "~foo/bar", "git.branch": "master", "git.commit.message": "bitrise-git-commit-message", "git.commit.sha": "bitrise-git-commit", - "git.repository_url": "sample" + "git.repository_url": "https://bitrise-build-url.com/" } ], [ { "BITRISE_BUILD_NUMBER": "bitrise-pipeline-number", "BITRISE_BUILD_SLUG": "bitrise-pipeline-id", - "BITRISE_BUILD_URL": "bitrise-build-url", + "BITRISE_BUILD_URL": "https://bitrise-build-url.com//", "BITRISE_GIT_BRANCH": "origin/master", "BITRISE_GIT_MESSAGE": "bitrise-git-commit-message", "BITRISE_SOURCE_DIR": "~", "BITRISE_TRIGGERED_WORKFLOW_ID": "bitrise-pipeline-name", "GIT_CLONE_COMMIT_HASH": "bitrise-git-commit", - "GIT_REPOSITORY_URL": "sample", + "GIT_REPOSITORY_URL": "https://bitrise-build-url.com/", "HOME": "/not-my-home", "USERPROFILE": "/not-my-home" }, @@ -195,88 +195,88 @@ "ci.pipeline.id": "bitrise-pipeline-id", "ci.pipeline.name": "bitrise-pipeline-name", "ci.pipeline.number": "bitrise-pipeline-number", - "ci.pipeline.url": "bitrise-build-url", + "ci.pipeline.url": "https://bitrise-build-url.com//", "ci.provider.name": "bitrise", "ci.workspace_path": "/not-my-home", "git.branch": "master", "git.commit.message": "bitrise-git-commit-message", "git.commit.sha": "bitrise-git-commit", - "git.repository_url": "sample" + "git.repository_url": "https://bitrise-build-url.com/" } ], [ { "BITRISE_BUILD_NUMBER": "bitrise-pipeline-number", "BITRISE_BUILD_SLUG": "bitrise-pipeline-id", - "BITRISE_BUILD_URL": "bitrise-build-url", + "BITRISE_BUILD_URL": "https://bitrise-build-url.com//", "BITRISE_GIT_BRANCH": "refs/heads/master", "BITRISE_GIT_MESSAGE": "bitrise-git-commit-message", "BITRISE_SOURCE_DIR": "/foo/bar", "BITRISE_TRIGGERED_WORKFLOW_ID": "bitrise-pipeline-name", "GIT_CLONE_COMMIT_HASH": "bitrise-git-commit", - "GIT_REPOSITORY_URL": "sample" + "GIT_REPOSITORY_URL": "https://bitrise-build-url.com/" }, { "ci.pipeline.id": "bitrise-pipeline-id", "ci.pipeline.name": "bitrise-pipeline-name", "ci.pipeline.number": "bitrise-pipeline-number", - "ci.pipeline.url": "bitrise-build-url", + "ci.pipeline.url": "https://bitrise-build-url.com//", "ci.provider.name": "bitrise", "ci.workspace_path": "/foo/bar", "git.branch": "master", "git.commit.message": "bitrise-git-commit-message", "git.commit.sha": "bitrise-git-commit", - "git.repository_url": "sample" + "git.repository_url": "https://bitrise-build-url.com/" } ], [ { "BITRISE_BUILD_NUMBER": "bitrise-pipeline-number", "BITRISE_BUILD_SLUG": "bitrise-pipeline-id", - "BITRISE_BUILD_URL": "bitrise-build-url", + "BITRISE_BUILD_URL": "https://bitrise-build-url.com//", "BITRISE_GIT_BRANCH": "refs/heads/feature/one", "BITRISE_GIT_MESSAGE": "bitrise-git-commit-message", "BITRISE_SOURCE_DIR": "/foo/bar", "BITRISE_TRIGGERED_WORKFLOW_ID": "bitrise-pipeline-name", "GIT_CLONE_COMMIT_HASH": "bitrise-git-commit", - "GIT_REPOSITORY_URL": "sample" + "GIT_REPOSITORY_URL": "https://bitrise-build-url.com/" }, { "ci.pipeline.id": "bitrise-pipeline-id", "ci.pipeline.name": "bitrise-pipeline-name", "ci.pipeline.number": "bitrise-pipeline-number", - "ci.pipeline.url": "bitrise-build-url", + "ci.pipeline.url": "https://bitrise-build-url.com//", "ci.provider.name": "bitrise", "ci.workspace_path": "/foo/bar", "git.branch": "feature/one", "git.commit.message": "bitrise-git-commit-message", "git.commit.sha": "bitrise-git-commit", - "git.repository_url": "sample" + "git.repository_url": "https://bitrise-build-url.com/" } ], [ { "BITRISE_BUILD_NUMBER": "bitrise-pipeline-number", "BITRISE_BUILD_SLUG": "bitrise-pipeline-id", - "BITRISE_BUILD_URL": "bitrise-build-url", + "BITRISE_BUILD_URL": "https://bitrise-build-url.com//", "BITRISE_GIT_BRANCH": "origin/tags/0.1.0", "BITRISE_GIT_MESSAGE": "bitrise-git-commit-message", "BITRISE_GIT_TAG": "origin/tags/0.1.0", "BITRISE_SOURCE_DIR": "/foo/bar", "BITRISE_TRIGGERED_WORKFLOW_ID": "bitrise-pipeline-name", "GIT_CLONE_COMMIT_HASH": "bitrise-git-commit", - "GIT_REPOSITORY_URL": "sample" + "GIT_REPOSITORY_URL": "https://bitrise-build-url.com/" }, { "ci.pipeline.id": "bitrise-pipeline-id", "ci.pipeline.name": "bitrise-pipeline-name", "ci.pipeline.number": "bitrise-pipeline-number", - "ci.pipeline.url": "bitrise-build-url", + "ci.pipeline.url": "https://bitrise-build-url.com//", "ci.provider.name": "bitrise", "ci.workspace_path": "/foo/bar", "git.commit.message": "bitrise-git-commit-message", "git.commit.sha": "bitrise-git-commit", - "git.repository_url": "sample", + "git.repository_url": "https://bitrise-build-url.com/", "git.tag": "0.1.0" } ], @@ -284,25 +284,25 @@ { "BITRISE_BUILD_NUMBER": "bitrise-pipeline-number", "BITRISE_BUILD_SLUG": "bitrise-pipeline-id", - "BITRISE_BUILD_URL": "bitrise-build-url", + "BITRISE_BUILD_URL": "https://bitrise-build-url.com//", "BITRISE_GIT_BRANCH": "refs/heads/tags/0.1.0", "BITRISE_GIT_MESSAGE": "bitrise-git-commit-message", "BITRISE_GIT_TAG": "refs/heads/tags/0.1.0", "BITRISE_SOURCE_DIR": "/foo/bar", "BITRISE_TRIGGERED_WORKFLOW_ID": "bitrise-pipeline-name", "GIT_CLONE_COMMIT_HASH": "bitrise-git-commit", - "GIT_REPOSITORY_URL": "sample" + "GIT_REPOSITORY_URL": "https://bitrise-build-url.com/" }, { "ci.pipeline.id": "bitrise-pipeline-id", "ci.pipeline.name": "bitrise-pipeline-name", "ci.pipeline.number": "bitrise-pipeline-number", - "ci.pipeline.url": "bitrise-build-url", + "ci.pipeline.url": "https://bitrise-build-url.com//", "ci.provider.name": "bitrise", "ci.workspace_path": "/foo/bar", "git.commit.message": "bitrise-git-commit-message", "git.commit.sha": "bitrise-git-commit", - "git.repository_url": "sample", + "git.repository_url": "https://bitrise-build-url.com/", "git.tag": "0.1.0" } ], @@ -310,7 +310,7 @@ { "BITRISE_BUILD_NUMBER": "bitrise-pipeline-number", "BITRISE_BUILD_SLUG": "bitrise-pipeline-id", - "BITRISE_BUILD_URL": "bitrise-build-url", + "BITRISE_BUILD_URL": "https://bitrise-build-url.com//", "BITRISE_GIT_BRANCH": "origin/master", "BITRISE_GIT_MESSAGE": "bitrise-git-commit-message", "BITRISE_SOURCE_DIR": "/foo/bar", @@ -322,7 +322,7 @@ "ci.pipeline.id": "bitrise-pipeline-id", "ci.pipeline.name": "bitrise-pipeline-name", "ci.pipeline.number": "bitrise-pipeline-number", - "ci.pipeline.url": "bitrise-build-url", + "ci.pipeline.url": "https://bitrise-build-url.com//", "ci.provider.name": "bitrise", "ci.workspace_path": "/foo/bar", "git.branch": "master", @@ -335,7 +335,7 @@ { "BITRISE_BUILD_NUMBER": "bitrise-pipeline-number", "BITRISE_BUILD_SLUG": "bitrise-pipeline-id", - "BITRISE_BUILD_URL": "bitrise-build-url", + "BITRISE_BUILD_URL": "https://bitrise-build-url.com//", "BITRISE_GIT_BRANCH": "origin/master", "BITRISE_GIT_MESSAGE": "bitrise-git-commit-message", "BITRISE_SOURCE_DIR": "/foo/bar", @@ -347,7 +347,7 @@ "ci.pipeline.id": "bitrise-pipeline-id", "ci.pipeline.name": "bitrise-pipeline-name", "ci.pipeline.number": "bitrise-pipeline-number", - "ci.pipeline.url": "bitrise-build-url", + "ci.pipeline.url": "https://bitrise-build-url.com//", "ci.provider.name": "bitrise", "ci.workspace_path": "/foo/bar", "git.branch": "master", @@ -360,7 +360,7 @@ { "BITRISE_BUILD_NUMBER": "bitrise-pipeline-number", "BITRISE_BUILD_SLUG": "bitrise-pipeline-id", - "BITRISE_BUILD_URL": "bitrise-build-url", + "BITRISE_BUILD_URL": "https://bitrise-build-url.com//", "BITRISE_GIT_BRANCH": "origin/notmaster", "BITRISE_GIT_MESSAGE": "bitrise-git-commit-message", "BITRISE_SOURCE_DIR": "/foo/bar", @@ -372,7 +372,7 @@ "ci.pipeline.id": "bitrise-pipeline-id", "ci.pipeline.name": "bitrise-pipeline-name", "ci.pipeline.number": "bitrise-pipeline-number", - "ci.pipeline.url": "bitrise-build-url", + "ci.pipeline.url": "https://bitrise-build-url.com//", "ci.provider.name": "bitrise", "ci.workspace_path": "/foo/bar", "git.branch": "notmaster", @@ -385,7 +385,7 @@ { "BITRISE_BUILD_NUMBER": "bitrise-pipeline-number", "BITRISE_BUILD_SLUG": "bitrise-pipeline-id", - "BITRISE_BUILD_URL": "bitrise-build-url", + "BITRISE_BUILD_URL": "https://bitrise-build-url.com//", "BITRISE_GIT_MESSAGE": "bitrise-git-commit-message", "BITRISE_TRIGGERED_WORKFLOW_ID": "bitrise-pipeline-name", "DD_GIT_BRANCH": "user-supplied-branch", @@ -404,7 +404,7 @@ "ci.pipeline.id": "bitrise-pipeline-id", "ci.pipeline.name": "bitrise-pipeline-name", "ci.pipeline.number": "bitrise-pipeline-number", - "ci.pipeline.url": "bitrise-build-url", + "ci.pipeline.url": "https://bitrise-build-url.com//", "ci.provider.name": "bitrise", "git.branch": "user-supplied-branch", "git.commit.author.date": "usersupplied-authordate", @@ -422,7 +422,7 @@ { "BITRISE_BUILD_NUMBER": "bitrise-pipeline-number", "BITRISE_BUILD_SLUG": "bitrise-pipeline-id", - "BITRISE_BUILD_URL": "bitrise-build-url", + "BITRISE_BUILD_URL": "https://bitrise-build-url.com//", "BITRISE_GIT_MESSAGE": "bitrise-git-commit-message", "BITRISE_TRIGGERED_WORKFLOW_ID": "bitrise-pipeline-name", "DD_GIT_COMMIT_AUTHOR_DATE": "usersupplied-authordate", @@ -441,7 +441,7 @@ "ci.pipeline.id": "bitrise-pipeline-id", "ci.pipeline.name": "bitrise-pipeline-name", "ci.pipeline.number": "bitrise-pipeline-number", - "ci.pipeline.url": "bitrise-build-url", + "ci.pipeline.url": "https://bitrise-build-url.com//", "ci.provider.name": "bitrise", "git.commit.author.date": "usersupplied-authordate", "git.commit.author.email": "usersupplied-authoremail", @@ -459,7 +459,7 @@ { "BITRISE_BUILD_NUMBER": "bitrise-pipeline-number", "BITRISE_BUILD_SLUG": "bitrise-pipeline-id", - "BITRISE_BUILD_URL": "bitrise-build-url", + "BITRISE_BUILD_URL": "https://bitrise-build-url.com//", "BITRISE_GIT_MESSAGE": "bitrise-git-commit-message", "BITRISE_TRIGGERED_WORKFLOW_ID": "bitrise-pipeline-name", "GIT_CLONE_COMMIT_HASH": "bitrise-git-commit", @@ -469,7 +469,7 @@ "ci.pipeline.id": "bitrise-pipeline-id", "ci.pipeline.name": "bitrise-pipeline-name", "ci.pipeline.number": "bitrise-pipeline-number", - "ci.pipeline.url": "bitrise-build-url", + "ci.pipeline.url": "https://bitrise-build-url.com//", "ci.provider.name": "bitrise", "git.commit.message": "bitrise-git-commit-message", "git.commit.sha": "bitrise-git-commit", diff --git a/packages/dd-trace/test/plugins/util/ci-env/buildkite.json b/packages/dd-trace/test/plugins/util/ci-env/buildkite.json index f70b0590916..e68fdca4e7e 100644 --- a/packages/dd-trace/test/plugins/util/ci-env/buildkite.json +++ b/packages/dd-trace/test/plugins/util/ci-env/buildkite.json @@ -8,7 +8,7 @@ "BUILDKITE_BUILD_CHECKOUT_PATH": "/foo/bar", "BUILDKITE_BUILD_ID": "buildkite-pipeline-id", "BUILDKITE_BUILD_NUMBER": "buildkite-pipeline-number", - "BUILDKITE_BUILD_URL": "buildkite-build-url", + "BUILDKITE_BUILD_URL": "https://buildkite-build-url.com", "BUILDKITE_COMMIT": "buildkite-git-commit", "BUILDKITE_JOB_ID": "buildkite-job-id", "BUILDKITE_MESSAGE": "buildkite-git-commit-message", @@ -18,11 +18,11 @@ }, { "_dd.ci.env_vars": "{\"BUILDKITE_BUILD_ID\":\"buildkite-pipeline-id\",\"BUILDKITE_JOB_ID\":\"buildkite-job-id\"}", - "ci.job.url": "buildkite-build-url#buildkite-job-id", + "ci.job.url": "https://buildkite-build-url.com#buildkite-job-id", "ci.pipeline.id": "buildkite-pipeline-id", "ci.pipeline.name": "buildkite-pipeline-name", "ci.pipeline.number": "buildkite-pipeline-number", - "ci.pipeline.url": "buildkite-build-url", + "ci.pipeline.url": "https://buildkite-build-url.com", "ci.provider.name": "buildkite", "ci.workspace_path": "/foo/bar", "git.branch": "master", @@ -42,7 +42,7 @@ "BUILDKITE_BUILD_CHECKOUT_PATH": "foo/bar", "BUILDKITE_BUILD_ID": "buildkite-pipeline-id", "BUILDKITE_BUILD_NUMBER": "buildkite-pipeline-number", - "BUILDKITE_BUILD_URL": "buildkite-build-url", + "BUILDKITE_BUILD_URL": "https://buildkite-build-url.com", "BUILDKITE_COMMIT": "buildkite-git-commit", "BUILDKITE_JOB_ID": "buildkite-job-id", "BUILDKITE_MESSAGE": "buildkite-git-commit-message", @@ -52,11 +52,11 @@ }, { "_dd.ci.env_vars": "{\"BUILDKITE_BUILD_ID\":\"buildkite-pipeline-id\",\"BUILDKITE_JOB_ID\":\"buildkite-job-id\"}", - "ci.job.url": "buildkite-build-url#buildkite-job-id", + "ci.job.url": "https://buildkite-build-url.com#buildkite-job-id", "ci.pipeline.id": "buildkite-pipeline-id", "ci.pipeline.name": "buildkite-pipeline-name", "ci.pipeline.number": "buildkite-pipeline-number", - "ci.pipeline.url": "buildkite-build-url", + "ci.pipeline.url": "https://buildkite-build-url.com", "ci.provider.name": "buildkite", "ci.workspace_path": "foo/bar", "git.branch": "master", @@ -76,7 +76,7 @@ "BUILDKITE_BUILD_CHECKOUT_PATH": "/foo/bar~", "BUILDKITE_BUILD_ID": "buildkite-pipeline-id", "BUILDKITE_BUILD_NUMBER": "buildkite-pipeline-number", - "BUILDKITE_BUILD_URL": "buildkite-build-url", + "BUILDKITE_BUILD_URL": "https://buildkite-build-url.com", "BUILDKITE_COMMIT": "buildkite-git-commit", "BUILDKITE_JOB_ID": "buildkite-job-id", "BUILDKITE_MESSAGE": "buildkite-git-commit-message", @@ -86,11 +86,11 @@ }, { "_dd.ci.env_vars": "{\"BUILDKITE_BUILD_ID\":\"buildkite-pipeline-id\",\"BUILDKITE_JOB_ID\":\"buildkite-job-id\"}", - "ci.job.url": "buildkite-build-url#buildkite-job-id", + "ci.job.url": "https://buildkite-build-url.com#buildkite-job-id", "ci.pipeline.id": "buildkite-pipeline-id", "ci.pipeline.name": "buildkite-pipeline-name", "ci.pipeline.number": "buildkite-pipeline-number", - "ci.pipeline.url": "buildkite-build-url", + "ci.pipeline.url": "https://buildkite-build-url.com", "ci.provider.name": "buildkite", "ci.workspace_path": "/foo/bar~", "git.branch": "master", @@ -110,7 +110,7 @@ "BUILDKITE_BUILD_CHECKOUT_PATH": "/foo/~/bar", "BUILDKITE_BUILD_ID": "buildkite-pipeline-id", "BUILDKITE_BUILD_NUMBER": "buildkite-pipeline-number", - "BUILDKITE_BUILD_URL": "buildkite-build-url", + "BUILDKITE_BUILD_URL": "https://buildkite-build-url.com", "BUILDKITE_COMMIT": "buildkite-git-commit", "BUILDKITE_JOB_ID": "buildkite-job-id", "BUILDKITE_MESSAGE": "buildkite-git-commit-message", @@ -120,11 +120,11 @@ }, { "_dd.ci.env_vars": "{\"BUILDKITE_BUILD_ID\":\"buildkite-pipeline-id\",\"BUILDKITE_JOB_ID\":\"buildkite-job-id\"}", - "ci.job.url": "buildkite-build-url#buildkite-job-id", + "ci.job.url": "https://buildkite-build-url.com#buildkite-job-id", "ci.pipeline.id": "buildkite-pipeline-id", "ci.pipeline.name": "buildkite-pipeline-name", "ci.pipeline.number": "buildkite-pipeline-number", - "ci.pipeline.url": "buildkite-build-url", + "ci.pipeline.url": "https://buildkite-build-url.com", "ci.provider.name": "buildkite", "ci.workspace_path": "/foo/~/bar", "git.branch": "master", @@ -144,7 +144,7 @@ "BUILDKITE_BUILD_CHECKOUT_PATH": "~/foo/bar", "BUILDKITE_BUILD_ID": "buildkite-pipeline-id", "BUILDKITE_BUILD_NUMBER": "buildkite-pipeline-number", - "BUILDKITE_BUILD_URL": "buildkite-build-url", + "BUILDKITE_BUILD_URL": "https://buildkite-build-url.com", "BUILDKITE_COMMIT": "buildkite-git-commit", "BUILDKITE_JOB_ID": "buildkite-job-id", "BUILDKITE_MESSAGE": "buildkite-git-commit-message", @@ -156,11 +156,11 @@ }, { "_dd.ci.env_vars": "{\"BUILDKITE_BUILD_ID\":\"buildkite-pipeline-id\",\"BUILDKITE_JOB_ID\":\"buildkite-job-id\"}", - "ci.job.url": "buildkite-build-url#buildkite-job-id", + "ci.job.url": "https://buildkite-build-url.com#buildkite-job-id", "ci.pipeline.id": "buildkite-pipeline-id", "ci.pipeline.name": "buildkite-pipeline-name", "ci.pipeline.number": "buildkite-pipeline-number", - "ci.pipeline.url": "buildkite-build-url", + "ci.pipeline.url": "https://buildkite-build-url.com", "ci.provider.name": "buildkite", "ci.workspace_path": "/not-my-home/foo/bar", "git.branch": "master", @@ -180,7 +180,7 @@ "BUILDKITE_BUILD_CHECKOUT_PATH": "~foo/bar", "BUILDKITE_BUILD_ID": "buildkite-pipeline-id", "BUILDKITE_BUILD_NUMBER": "buildkite-pipeline-number", - "BUILDKITE_BUILD_URL": "buildkite-build-url", + "BUILDKITE_BUILD_URL": "https://buildkite-build-url.com", "BUILDKITE_COMMIT": "buildkite-git-commit", "BUILDKITE_JOB_ID": "buildkite-job-id", "BUILDKITE_MESSAGE": "buildkite-git-commit-message", @@ -192,11 +192,11 @@ }, { "_dd.ci.env_vars": "{\"BUILDKITE_BUILD_ID\":\"buildkite-pipeline-id\",\"BUILDKITE_JOB_ID\":\"buildkite-job-id\"}", - "ci.job.url": "buildkite-build-url#buildkite-job-id", + "ci.job.url": "https://buildkite-build-url.com#buildkite-job-id", "ci.pipeline.id": "buildkite-pipeline-id", "ci.pipeline.name": "buildkite-pipeline-name", "ci.pipeline.number": "buildkite-pipeline-number", - "ci.pipeline.url": "buildkite-build-url", + "ci.pipeline.url": "https://buildkite-build-url.com", "ci.provider.name": "buildkite", "ci.workspace_path": "~foo/bar", "git.branch": "master", @@ -216,7 +216,7 @@ "BUILDKITE_BUILD_CHECKOUT_PATH": "~", "BUILDKITE_BUILD_ID": "buildkite-pipeline-id", "BUILDKITE_BUILD_NUMBER": "buildkite-pipeline-number", - "BUILDKITE_BUILD_URL": "buildkite-build-url", + "BUILDKITE_BUILD_URL": "https://buildkite-build-url.com", "BUILDKITE_COMMIT": "buildkite-git-commit", "BUILDKITE_JOB_ID": "buildkite-job-id", "BUILDKITE_MESSAGE": "buildkite-git-commit-message", @@ -228,11 +228,11 @@ }, { "_dd.ci.env_vars": "{\"BUILDKITE_BUILD_ID\":\"buildkite-pipeline-id\",\"BUILDKITE_JOB_ID\":\"buildkite-job-id\"}", - "ci.job.url": "buildkite-build-url#buildkite-job-id", + "ci.job.url": "https://buildkite-build-url.com#buildkite-job-id", "ci.pipeline.id": "buildkite-pipeline-id", "ci.pipeline.name": "buildkite-pipeline-name", "ci.pipeline.number": "buildkite-pipeline-number", - "ci.pipeline.url": "buildkite-build-url", + "ci.pipeline.url": "https://buildkite-build-url.com", "ci.provider.name": "buildkite", "ci.workspace_path": "/not-my-home", "git.branch": "master", @@ -252,7 +252,7 @@ "BUILDKITE_BUILD_CHECKOUT_PATH": "/foo/bar", "BUILDKITE_BUILD_ID": "buildkite-pipeline-id", "BUILDKITE_BUILD_NUMBER": "buildkite-pipeline-number", - "BUILDKITE_BUILD_URL": "buildkite-build-url", + "BUILDKITE_BUILD_URL": "https://buildkite-build-url.com", "BUILDKITE_COMMIT": "buildkite-git-commit", "BUILDKITE_JOB_ID": "buildkite-job-id", "BUILDKITE_MESSAGE": "buildkite-git-commit-message", @@ -262,11 +262,11 @@ }, { "_dd.ci.env_vars": "{\"BUILDKITE_BUILD_ID\":\"buildkite-pipeline-id\",\"BUILDKITE_JOB_ID\":\"buildkite-job-id\"}", - "ci.job.url": "buildkite-build-url#buildkite-job-id", + "ci.job.url": "https://buildkite-build-url.com#buildkite-job-id", "ci.pipeline.id": "buildkite-pipeline-id", "ci.pipeline.name": "buildkite-pipeline-name", "ci.pipeline.number": "buildkite-pipeline-number", - "ci.pipeline.url": "buildkite-build-url", + "ci.pipeline.url": "https://buildkite-build-url.com", "ci.provider.name": "buildkite", "ci.workspace_path": "/foo/bar", "git.branch": "master", @@ -286,7 +286,7 @@ "BUILDKITE_BUILD_CHECKOUT_PATH": "/foo/bar", "BUILDKITE_BUILD_ID": "buildkite-pipeline-id", "BUILDKITE_BUILD_NUMBER": "buildkite-pipeline-number", - "BUILDKITE_BUILD_URL": "buildkite-build-url", + "BUILDKITE_BUILD_URL": "https://buildkite-build-url.com", "BUILDKITE_COMMIT": "buildkite-git-commit", "BUILDKITE_JOB_ID": "buildkite-job-id", "BUILDKITE_MESSAGE": "buildkite-git-commit-message", @@ -296,11 +296,11 @@ }, { "_dd.ci.env_vars": "{\"BUILDKITE_BUILD_ID\":\"buildkite-pipeline-id\",\"BUILDKITE_JOB_ID\":\"buildkite-job-id\"}", - "ci.job.url": "buildkite-build-url#buildkite-job-id", + "ci.job.url": "https://buildkite-build-url.com#buildkite-job-id", "ci.pipeline.id": "buildkite-pipeline-id", "ci.pipeline.name": "buildkite-pipeline-name", "ci.pipeline.number": "buildkite-pipeline-number", - "ci.pipeline.url": "buildkite-build-url", + "ci.pipeline.url": "https://buildkite-build-url.com", "ci.provider.name": "buildkite", "ci.workspace_path": "/foo/bar", "git.branch": "master", @@ -320,7 +320,7 @@ "BUILDKITE_BUILD_CHECKOUT_PATH": "/foo/bar", "BUILDKITE_BUILD_ID": "buildkite-pipeline-id", "BUILDKITE_BUILD_NUMBER": "buildkite-pipeline-number", - "BUILDKITE_BUILD_URL": "buildkite-build-url", + "BUILDKITE_BUILD_URL": "https://buildkite-build-url.com", "BUILDKITE_COMMIT": "buildkite-git-commit", "BUILDKITE_JOB_ID": "buildkite-job-id", "BUILDKITE_MESSAGE": "buildkite-git-commit-message", @@ -330,11 +330,11 @@ }, { "_dd.ci.env_vars": "{\"BUILDKITE_BUILD_ID\":\"buildkite-pipeline-id\",\"BUILDKITE_JOB_ID\":\"buildkite-job-id\"}", - "ci.job.url": "buildkite-build-url#buildkite-job-id", + "ci.job.url": "https://buildkite-build-url.com#buildkite-job-id", "ci.pipeline.id": "buildkite-pipeline-id", "ci.pipeline.name": "buildkite-pipeline-name", "ci.pipeline.number": "buildkite-pipeline-number", - "ci.pipeline.url": "buildkite-build-url", + "ci.pipeline.url": "https://buildkite-build-url.com", "ci.provider.name": "buildkite", "ci.workspace_path": "/foo/bar", "git.branch": "master", @@ -354,7 +354,7 @@ "BUILDKITE_BUILD_CHECKOUT_PATH": "/foo/bar", "BUILDKITE_BUILD_ID": "buildkite-pipeline-id", "BUILDKITE_BUILD_NUMBER": "buildkite-pipeline-number", - "BUILDKITE_BUILD_URL": "buildkite-build-url", + "BUILDKITE_BUILD_URL": "https://buildkite-build-url.com", "BUILDKITE_COMMIT": "buildkite-git-commit", "BUILDKITE_JOB_ID": "buildkite-job-id", "BUILDKITE_MESSAGE": "buildkite-git-commit-message", @@ -364,11 +364,11 @@ }, { "_dd.ci.env_vars": "{\"BUILDKITE_BUILD_ID\":\"buildkite-pipeline-id\",\"BUILDKITE_JOB_ID\":\"buildkite-job-id\"}", - "ci.job.url": "buildkite-build-url#buildkite-job-id", + "ci.job.url": "https://buildkite-build-url.com#buildkite-job-id", "ci.pipeline.id": "buildkite-pipeline-id", "ci.pipeline.name": "buildkite-pipeline-name", "ci.pipeline.number": "buildkite-pipeline-number", - "ci.pipeline.url": "buildkite-build-url", + "ci.pipeline.url": "https://buildkite-build-url.com", "ci.provider.name": "buildkite", "ci.workspace_path": "/foo/bar", "git.branch": "master", @@ -388,7 +388,7 @@ "BUILDKITE_BUILD_CHECKOUT_PATH": "/foo/bar", "BUILDKITE_BUILD_ID": "buildkite-pipeline-id", "BUILDKITE_BUILD_NUMBER": "buildkite-pipeline-number", - "BUILDKITE_BUILD_URL": "buildkite-build-url", + "BUILDKITE_BUILD_URL": "https://buildkite-build-url.com", "BUILDKITE_COMMIT": "buildkite-git-commit", "BUILDKITE_JOB_ID": "buildkite-job-id", "BUILDKITE_MESSAGE": "buildkite-git-commit-message", @@ -398,11 +398,11 @@ }, { "_dd.ci.env_vars": "{\"BUILDKITE_BUILD_ID\":\"buildkite-pipeline-id\",\"BUILDKITE_JOB_ID\":\"buildkite-job-id\"}", - "ci.job.url": "buildkite-build-url#buildkite-job-id", + "ci.job.url": "https://buildkite-build-url.com#buildkite-job-id", "ci.pipeline.id": "buildkite-pipeline-id", "ci.pipeline.name": "buildkite-pipeline-name", "ci.pipeline.number": "buildkite-pipeline-number", - "ci.pipeline.url": "buildkite-build-url", + "ci.pipeline.url": "https://buildkite-build-url.com", "ci.provider.name": "buildkite", "ci.workspace_path": "/foo/bar", "git.branch": "master", @@ -422,7 +422,7 @@ "BUILDKITE_BUILD_CHECKOUT_PATH": "/foo/bar", "BUILDKITE_BUILD_ID": "buildkite-pipeline-id", "BUILDKITE_BUILD_NUMBER": "buildkite-pipeline-number", - "BUILDKITE_BUILD_URL": "buildkite-build-url", + "BUILDKITE_BUILD_URL": "https://buildkite-build-url.com", "BUILDKITE_COMMIT": "buildkite-git-commit", "BUILDKITE_JOB_ID": "buildkite-job-id", "BUILDKITE_MESSAGE": "buildkite-git-commit-message", @@ -432,11 +432,11 @@ }, { "_dd.ci.env_vars": "{\"BUILDKITE_BUILD_ID\":\"buildkite-pipeline-id\",\"BUILDKITE_JOB_ID\":\"buildkite-job-id\"}", - "ci.job.url": "buildkite-build-url#buildkite-job-id", + "ci.job.url": "https://buildkite-build-url.com#buildkite-job-id", "ci.pipeline.id": "buildkite-pipeline-id", "ci.pipeline.name": "buildkite-pipeline-name", "ci.pipeline.number": "buildkite-pipeline-number", - "ci.pipeline.url": "buildkite-build-url", + "ci.pipeline.url": "https://buildkite-build-url.com", "ci.provider.name": "buildkite", "ci.workspace_path": "/foo/bar", "git.branch": "master", @@ -456,7 +456,7 @@ "BUILDKITE_BUILD_CHECKOUT_PATH": "/foo/bar", "BUILDKITE_BUILD_ID": "buildkite-pipeline-id", "BUILDKITE_BUILD_NUMBER": "buildkite-pipeline-number", - "BUILDKITE_BUILD_URL": "buildkite-build-url", + "BUILDKITE_BUILD_URL": "https://buildkite-build-url.com", "BUILDKITE_COMMIT": "buildkite-git-commit", "BUILDKITE_JOB_ID": "buildkite-job-id", "BUILDKITE_MESSAGE": "buildkite-git-commit-message", @@ -466,11 +466,11 @@ }, { "_dd.ci.env_vars": "{\"BUILDKITE_BUILD_ID\":\"buildkite-pipeline-id\",\"BUILDKITE_JOB_ID\":\"buildkite-job-id\"}", - "ci.job.url": "buildkite-build-url#buildkite-job-id", + "ci.job.url": "https://buildkite-build-url.com#buildkite-job-id", "ci.pipeline.id": "buildkite-pipeline-id", "ci.pipeline.name": "buildkite-pipeline-name", "ci.pipeline.number": "buildkite-pipeline-number", - "ci.pipeline.url": "buildkite-build-url", + "ci.pipeline.url": "https://buildkite-build-url.com", "ci.provider.name": "buildkite", "ci.workspace_path": "/foo/bar", "git.branch": "feature/one", @@ -490,7 +490,7 @@ "BUILDKITE_BUILD_CHECKOUT_PATH": "/foo/bar", "BUILDKITE_BUILD_ID": "buildkite-pipeline-id", "BUILDKITE_BUILD_NUMBER": "buildkite-pipeline-number", - "BUILDKITE_BUILD_URL": "buildkite-build-url", + "BUILDKITE_BUILD_URL": "https://buildkite-build-url.com", "BUILDKITE_COMMIT": "buildkite-git-commit", "BUILDKITE_JOB_ID": "buildkite-job-id", "BUILDKITE_MESSAGE": "buildkite-git-commit-message", @@ -500,11 +500,11 @@ }, { "_dd.ci.env_vars": "{\"BUILDKITE_BUILD_ID\":\"buildkite-pipeline-id\",\"BUILDKITE_JOB_ID\":\"buildkite-job-id\"}", - "ci.job.url": "buildkite-build-url#buildkite-job-id", + "ci.job.url": "https://buildkite-build-url.com#buildkite-job-id", "ci.pipeline.id": "buildkite-pipeline-id", "ci.pipeline.name": "buildkite-pipeline-name", "ci.pipeline.number": "buildkite-pipeline-number", - "ci.pipeline.url": "buildkite-build-url", + "ci.pipeline.url": "https://buildkite-build-url.com", "ci.provider.name": "buildkite", "ci.workspace_path": "/foo/bar", "git.commit.author.email": "buildkite-git-commit-author-email@datadoghq.com", @@ -524,7 +524,7 @@ "BUILDKITE_BUILD_CHECKOUT_PATH": "/foo/bar", "BUILDKITE_BUILD_ID": "buildkite-pipeline-id", "BUILDKITE_BUILD_NUMBER": "buildkite-pipeline-number", - "BUILDKITE_BUILD_URL": "buildkite-build-url", + "BUILDKITE_BUILD_URL": "https://buildkite-build-url.com", "BUILDKITE_COMMIT": "buildkite-git-commit", "BUILDKITE_JOB_ID": "buildkite-job-id", "BUILDKITE_MESSAGE": "buildkite-git-commit-message", @@ -534,11 +534,11 @@ }, { "_dd.ci.env_vars": "{\"BUILDKITE_BUILD_ID\":\"buildkite-pipeline-id\",\"BUILDKITE_JOB_ID\":\"buildkite-job-id\"}", - "ci.job.url": "buildkite-build-url#buildkite-job-id", + "ci.job.url": "https://buildkite-build-url.com#buildkite-job-id", "ci.pipeline.id": "buildkite-pipeline-id", "ci.pipeline.name": "buildkite-pipeline-name", "ci.pipeline.number": "buildkite-pipeline-number", - "ci.pipeline.url": "buildkite-build-url", + "ci.pipeline.url": "https://buildkite-build-url.com", "ci.provider.name": "buildkite", "ci.workspace_path": "/foo/bar", "git.commit.author.email": "buildkite-git-commit-author-email@datadoghq.com", @@ -558,7 +558,7 @@ "BUILDKITE_BUILD_CHECKOUT_PATH": "/foo/bar", "BUILDKITE_BUILD_ID": "buildkite-pipeline-id", "BUILDKITE_BUILD_NUMBER": "buildkite-pipeline-number", - "BUILDKITE_BUILD_URL": "buildkite-build-url", + "BUILDKITE_BUILD_URL": "https://buildkite-build-url.com", "BUILDKITE_COMMIT": "buildkite-git-commit", "BUILDKITE_JOB_ID": "buildkite-job-id", "BUILDKITE_MESSAGE": "buildkite-git-commit-message", @@ -568,11 +568,11 @@ }, { "_dd.ci.env_vars": "{\"BUILDKITE_BUILD_ID\":\"buildkite-pipeline-id\",\"BUILDKITE_JOB_ID\":\"buildkite-job-id\"}", - "ci.job.url": "buildkite-build-url#buildkite-job-id", + "ci.job.url": "https://buildkite-build-url.com#buildkite-job-id", "ci.pipeline.id": "buildkite-pipeline-id", "ci.pipeline.name": "buildkite-pipeline-name", "ci.pipeline.number": "buildkite-pipeline-number", - "ci.pipeline.url": "buildkite-build-url", + "ci.pipeline.url": "https://buildkite-build-url.com", "ci.provider.name": "buildkite", "ci.workspace_path": "/foo/bar", "git.commit.author.email": "buildkite-git-commit-author-email@datadoghq.com", @@ -591,7 +591,7 @@ "BUILDKITE_BUILD_AUTHOR_EMAIL": "buildkite-git-commit-author-email@datadoghq.com", "BUILDKITE_BUILD_ID": "buildkite-pipeline-id", "BUILDKITE_BUILD_NUMBER": "buildkite-pipeline-number", - "BUILDKITE_BUILD_URL": "buildkite-build-url", + "BUILDKITE_BUILD_URL": "https://buildkite-build-url.com", "BUILDKITE_COMMIT": "buildkite-git-commit", "BUILDKITE_JOB_ID": "buildkite-job-id", "BUILDKITE_MESSAGE": "buildkite-git-commit-message", @@ -610,11 +610,11 @@ }, { "_dd.ci.env_vars": "{\"BUILDKITE_BUILD_ID\":\"buildkite-pipeline-id\",\"BUILDKITE_JOB_ID\":\"buildkite-job-id\"}", - "ci.job.url": "buildkite-build-url#buildkite-job-id", + "ci.job.url": "https://buildkite-build-url.com#buildkite-job-id", "ci.pipeline.id": "buildkite-pipeline-id", "ci.pipeline.name": "buildkite-pipeline-name", "ci.pipeline.number": "buildkite-pipeline-number", - "ci.pipeline.url": "buildkite-build-url", + "ci.pipeline.url": "https://buildkite-build-url.com", "ci.provider.name": "buildkite", "git.branch": "user-supplied-branch", "git.commit.author.date": "usersupplied-authordate", @@ -636,7 +636,7 @@ "BUILDKITE_BUILD_AUTHOR_EMAIL": "buildkite-git-commit-author-email@datadoghq.com", "BUILDKITE_BUILD_ID": "buildkite-pipeline-id", "BUILDKITE_BUILD_NUMBER": "buildkite-pipeline-number", - "BUILDKITE_BUILD_URL": "buildkite-build-url", + "BUILDKITE_BUILD_URL": "https://buildkite-build-url.com", "BUILDKITE_COMMIT": "buildkite-git-commit", "BUILDKITE_JOB_ID": "buildkite-job-id", "BUILDKITE_MESSAGE": "buildkite-git-commit-message", @@ -655,11 +655,11 @@ }, { "_dd.ci.env_vars": "{\"BUILDKITE_BUILD_ID\":\"buildkite-pipeline-id\",\"BUILDKITE_JOB_ID\":\"buildkite-job-id\"}", - "ci.job.url": "buildkite-build-url#buildkite-job-id", + "ci.job.url": "https://buildkite-build-url.com#buildkite-job-id", "ci.pipeline.id": "buildkite-pipeline-id", "ci.pipeline.name": "buildkite-pipeline-name", "ci.pipeline.number": "buildkite-pipeline-number", - "ci.pipeline.url": "buildkite-build-url", + "ci.pipeline.url": "https://buildkite-build-url.com", "ci.provider.name": "buildkite", "git.commit.author.date": "usersupplied-authordate", "git.commit.author.email": "usersupplied-authoremail", @@ -681,7 +681,7 @@ "BUILDKITE_BUILD_AUTHOR_EMAIL": "buildkite-git-commit-author-email@datadoghq.com", "BUILDKITE_BUILD_ID": "buildkite-pipeline-id", "BUILDKITE_BUILD_NUMBER": "buildkite-pipeline-number", - "BUILDKITE_BUILD_URL": "buildkite-build-url", + "BUILDKITE_BUILD_URL": "https://buildkite-build-url.com", "BUILDKITE_COMMIT": "buildkite-git-commit", "BUILDKITE_JOB_ID": "buildkite-job-id", "BUILDKITE_MESSAGE": "buildkite-git-commit-message", @@ -691,11 +691,11 @@ }, { "_dd.ci.env_vars": "{\"BUILDKITE_BUILD_ID\":\"buildkite-pipeline-id\",\"BUILDKITE_JOB_ID\":\"buildkite-job-id\"}", - "ci.job.url": "buildkite-build-url#buildkite-job-id", + "ci.job.url": "https://buildkite-build-url.com#buildkite-job-id", "ci.pipeline.id": "buildkite-pipeline-id", "ci.pipeline.name": "buildkite-pipeline-name", "ci.pipeline.number": "buildkite-pipeline-number", - "ci.pipeline.url": "buildkite-build-url", + "ci.pipeline.url": "https://buildkite-build-url.com", "ci.provider.name": "buildkite", "git.commit.author.email": "buildkite-git-commit-author-email@datadoghq.com", "git.commit.author.name": "buildkite-git-commit-author-name", @@ -715,7 +715,7 @@ "BUILDKITE_BUILD_AUTHOR_EMAIL": "buildkite-git-commit-author-email@datadoghq.com", "BUILDKITE_BUILD_ID": "buildkite-pipeline-id", "BUILDKITE_BUILD_NUMBER": "buildkite-pipeline-number", - "BUILDKITE_BUILD_URL": "buildkite-build-url", + "BUILDKITE_BUILD_URL": "https://buildkite-build-url.com", "BUILDKITE_COMMIT": "buildkite-git-commit", "BUILDKITE_JOB_ID": "buildkite-job-id", "BUILDKITE_MESSAGE": "buildkite-git-commit-message", @@ -724,13 +724,13 @@ }, { "_dd.ci.env_vars": "{\"BUILDKITE_BUILD_ID\":\"buildkite-pipeline-id\",\"BUILDKITE_JOB_ID\":\"buildkite-job-id\"}", - "ci.job.url": "buildkite-build-url#buildkite-job-id", + "ci.job.url": "https://buildkite-build-url.com#buildkite-job-id", "ci.node.labels": "[\"mytag:my-value\",\"myothertag:my-other-value\"]", "ci.node.name": "1a222222-e999-3636-8ddd-802222222222", "ci.pipeline.id": "buildkite-pipeline-id", "ci.pipeline.name": "buildkite-pipeline-name", "ci.pipeline.number": "buildkite-pipeline-number", - "ci.pipeline.url": "buildkite-build-url", + "ci.pipeline.url": "https://buildkite-build-url.com", "ci.provider.name": "buildkite", "git.commit.author.email": "buildkite-git-commit-author-email@datadoghq.com", "git.commit.author.name": "buildkite-git-commit-author-name", diff --git a/packages/dd-trace/test/plugins/util/ci-env/circleci.json b/packages/dd-trace/test/plugins/util/ci-env/circleci.json index 5364d69b6ca..46691e205dd 100644 --- a/packages/dd-trace/test/plugins/util/ci-env/circleci.json +++ b/packages/dd-trace/test/plugins/util/ci-env/circleci.json @@ -4,10 +4,10 @@ "CIRCLECI": "circleCI", "CIRCLE_BRANCH": "origin/master", "CIRCLE_BUILD_NUM": "circleci-pipeline-number", - "CIRCLE_BUILD_URL": "circleci-build-url", + "CIRCLE_BUILD_URL": "https://circleci-build-url.com/", "CIRCLE_JOB": "circleci-job-name", "CIRCLE_PROJECT_REPONAME": "circleci-pipeline-name", - "CIRCLE_REPOSITORY_URL": "sample", + "CIRCLE_REPOSITORY_URL": "https://circleci-build-url.com/", "CIRCLE_SHA1": "circleci-git-commit", "CIRCLE_WORKFLOW_ID": "circleci-pipeline-id", "CIRCLE_WORKING_DIRECTORY": "/foo/bar" @@ -15,7 +15,7 @@ { "_dd.ci.env_vars": "{\"CIRCLE_WORKFLOW_ID\":\"circleci-pipeline-id\",\"CIRCLE_BUILD_NUM\":\"circleci-pipeline-number\"}", "ci.job.name": "circleci-job-name", - "ci.job.url": "circleci-build-url", + "ci.job.url": "https://circleci-build-url.com/", "ci.pipeline.id": "circleci-pipeline-id", "ci.pipeline.name": "circleci-pipeline-name", "ci.pipeline.url": "https://app.circleci.com/pipelines/workflows/circleci-pipeline-id", @@ -23,7 +23,7 @@ "ci.workspace_path": "/foo/bar", "git.branch": "master", "git.commit.sha": "circleci-git-commit", - "git.repository_url": "sample" + "git.repository_url": "https://circleci-build-url.com/" } ], [ @@ -31,10 +31,10 @@ "CIRCLECI": "circleCI", "CIRCLE_BRANCH": "origin/master", "CIRCLE_BUILD_NUM": "circleci-pipeline-number", - "CIRCLE_BUILD_URL": "circleci-build-url", + "CIRCLE_BUILD_URL": "https://circleci-build-url.com/", "CIRCLE_JOB": "circleci-job-name", "CIRCLE_PROJECT_REPONAME": "circleci-pipeline-name", - "CIRCLE_REPOSITORY_URL": "sample", + "CIRCLE_REPOSITORY_URL": "https://circleci-build-url.com/", "CIRCLE_SHA1": "circleci-git-commit", "CIRCLE_WORKFLOW_ID": "circleci-pipeline-id", "CIRCLE_WORKING_DIRECTORY": "foo/bar" @@ -42,7 +42,7 @@ { "_dd.ci.env_vars": "{\"CIRCLE_WORKFLOW_ID\":\"circleci-pipeline-id\",\"CIRCLE_BUILD_NUM\":\"circleci-pipeline-number\"}", "ci.job.name": "circleci-job-name", - "ci.job.url": "circleci-build-url", + "ci.job.url": "https://circleci-build-url.com/", "ci.pipeline.id": "circleci-pipeline-id", "ci.pipeline.name": "circleci-pipeline-name", "ci.pipeline.url": "https://app.circleci.com/pipelines/workflows/circleci-pipeline-id", @@ -50,7 +50,7 @@ "ci.workspace_path": "foo/bar", "git.branch": "master", "git.commit.sha": "circleci-git-commit", - "git.repository_url": "sample" + "git.repository_url": "https://circleci-build-url.com/" } ], [ @@ -58,10 +58,10 @@ "CIRCLECI": "circleCI", "CIRCLE_BRANCH": "origin/master", "CIRCLE_BUILD_NUM": "circleci-pipeline-number", - "CIRCLE_BUILD_URL": "circleci-build-url", + "CIRCLE_BUILD_URL": "https://circleci-build-url.com/", "CIRCLE_JOB": "circleci-job-name", "CIRCLE_PROJECT_REPONAME": "circleci-pipeline-name", - "CIRCLE_REPOSITORY_URL": "sample", + "CIRCLE_REPOSITORY_URL": "https://circleci-build-url.com/", "CIRCLE_SHA1": "circleci-git-commit", "CIRCLE_WORKFLOW_ID": "circleci-pipeline-id", "CIRCLE_WORKING_DIRECTORY": "/foo/bar~" @@ -69,7 +69,7 @@ { "_dd.ci.env_vars": "{\"CIRCLE_WORKFLOW_ID\":\"circleci-pipeline-id\",\"CIRCLE_BUILD_NUM\":\"circleci-pipeline-number\"}", "ci.job.name": "circleci-job-name", - "ci.job.url": "circleci-build-url", + "ci.job.url": "https://circleci-build-url.com/", "ci.pipeline.id": "circleci-pipeline-id", "ci.pipeline.name": "circleci-pipeline-name", "ci.pipeline.url": "https://app.circleci.com/pipelines/workflows/circleci-pipeline-id", @@ -77,7 +77,7 @@ "ci.workspace_path": "/foo/bar~", "git.branch": "master", "git.commit.sha": "circleci-git-commit", - "git.repository_url": "sample" + "git.repository_url": "https://circleci-build-url.com/" } ], [ @@ -85,10 +85,10 @@ "CIRCLECI": "circleCI", "CIRCLE_BRANCH": "origin/master", "CIRCLE_BUILD_NUM": "circleci-pipeline-number", - "CIRCLE_BUILD_URL": "circleci-build-url", + "CIRCLE_BUILD_URL": "https://circleci-build-url.com/", "CIRCLE_JOB": "circleci-job-name", "CIRCLE_PROJECT_REPONAME": "circleci-pipeline-name", - "CIRCLE_REPOSITORY_URL": "sample", + "CIRCLE_REPOSITORY_URL": "https://circleci-build-url.com/", "CIRCLE_SHA1": "circleci-git-commit", "CIRCLE_WORKFLOW_ID": "circleci-pipeline-id", "CIRCLE_WORKING_DIRECTORY": "/foo/~/bar" @@ -96,7 +96,7 @@ { "_dd.ci.env_vars": "{\"CIRCLE_WORKFLOW_ID\":\"circleci-pipeline-id\",\"CIRCLE_BUILD_NUM\":\"circleci-pipeline-number\"}", "ci.job.name": "circleci-job-name", - "ci.job.url": "circleci-build-url", + "ci.job.url": "https://circleci-build-url.com/", "ci.pipeline.id": "circleci-pipeline-id", "ci.pipeline.name": "circleci-pipeline-name", "ci.pipeline.url": "https://app.circleci.com/pipelines/workflows/circleci-pipeline-id", @@ -104,7 +104,7 @@ "ci.workspace_path": "/foo/~/bar", "git.branch": "master", "git.commit.sha": "circleci-git-commit", - "git.repository_url": "sample" + "git.repository_url": "https://circleci-build-url.com/" } ], [ @@ -112,10 +112,10 @@ "CIRCLECI": "circleCI", "CIRCLE_BRANCH": "origin/master", "CIRCLE_BUILD_NUM": "circleci-pipeline-number", - "CIRCLE_BUILD_URL": "circleci-build-url", + "CIRCLE_BUILD_URL": "https://circleci-build-url.com/", "CIRCLE_JOB": "circleci-job-name", "CIRCLE_PROJECT_REPONAME": "circleci-pipeline-name", - "CIRCLE_REPOSITORY_URL": "sample", + "CIRCLE_REPOSITORY_URL": "https://circleci-build-url.com/", "CIRCLE_SHA1": "circleci-git-commit", "CIRCLE_WORKFLOW_ID": "circleci-pipeline-id", "CIRCLE_WORKING_DIRECTORY": "~/foo/bar", @@ -125,7 +125,7 @@ { "_dd.ci.env_vars": "{\"CIRCLE_WORKFLOW_ID\":\"circleci-pipeline-id\",\"CIRCLE_BUILD_NUM\":\"circleci-pipeline-number\"}", "ci.job.name": "circleci-job-name", - "ci.job.url": "circleci-build-url", + "ci.job.url": "https://circleci-build-url.com/", "ci.pipeline.id": "circleci-pipeline-id", "ci.pipeline.name": "circleci-pipeline-name", "ci.pipeline.url": "https://app.circleci.com/pipelines/workflows/circleci-pipeline-id", @@ -133,7 +133,7 @@ "ci.workspace_path": "/not-my-home/foo/bar", "git.branch": "master", "git.commit.sha": "circleci-git-commit", - "git.repository_url": "sample" + "git.repository_url": "https://circleci-build-url.com/" } ], [ @@ -141,10 +141,10 @@ "CIRCLECI": "circleCI", "CIRCLE_BRANCH": "origin/master", "CIRCLE_BUILD_NUM": "circleci-pipeline-number", - "CIRCLE_BUILD_URL": "circleci-build-url", + "CIRCLE_BUILD_URL": "https://circleci-build-url.com/", "CIRCLE_JOB": "circleci-job-name", "CIRCLE_PROJECT_REPONAME": "circleci-pipeline-name", - "CIRCLE_REPOSITORY_URL": "sample", + "CIRCLE_REPOSITORY_URL": "https://circleci-build-url.com/", "CIRCLE_SHA1": "circleci-git-commit", "CIRCLE_WORKFLOW_ID": "circleci-pipeline-id", "CIRCLE_WORKING_DIRECTORY": "~foo/bar", @@ -154,7 +154,7 @@ { "_dd.ci.env_vars": "{\"CIRCLE_WORKFLOW_ID\":\"circleci-pipeline-id\",\"CIRCLE_BUILD_NUM\":\"circleci-pipeline-number\"}", "ci.job.name": "circleci-job-name", - "ci.job.url": "circleci-build-url", + "ci.job.url": "https://circleci-build-url.com/", "ci.pipeline.id": "circleci-pipeline-id", "ci.pipeline.name": "circleci-pipeline-name", "ci.pipeline.url": "https://app.circleci.com/pipelines/workflows/circleci-pipeline-id", @@ -162,7 +162,7 @@ "ci.workspace_path": "~foo/bar", "git.branch": "master", "git.commit.sha": "circleci-git-commit", - "git.repository_url": "sample" + "git.repository_url": "https://circleci-build-url.com/" } ], [ @@ -170,10 +170,10 @@ "CIRCLECI": "circleCI", "CIRCLE_BRANCH": "origin/master", "CIRCLE_BUILD_NUM": "circleci-pipeline-number", - "CIRCLE_BUILD_URL": "circleci-build-url", + "CIRCLE_BUILD_URL": "https://circleci-build-url.com/", "CIRCLE_JOB": "circleci-job-name", "CIRCLE_PROJECT_REPONAME": "circleci-pipeline-name", - "CIRCLE_REPOSITORY_URL": "sample", + "CIRCLE_REPOSITORY_URL": "https://circleci-build-url.com/", "CIRCLE_SHA1": "circleci-git-commit", "CIRCLE_WORKFLOW_ID": "circleci-pipeline-id", "CIRCLE_WORKING_DIRECTORY": "~", @@ -183,7 +183,7 @@ { "_dd.ci.env_vars": "{\"CIRCLE_WORKFLOW_ID\":\"circleci-pipeline-id\",\"CIRCLE_BUILD_NUM\":\"circleci-pipeline-number\"}", "ci.job.name": "circleci-job-name", - "ci.job.url": "circleci-build-url", + "ci.job.url": "https://circleci-build-url.com/", "ci.pipeline.id": "circleci-pipeline-id", "ci.pipeline.name": "circleci-pipeline-name", "ci.pipeline.url": "https://app.circleci.com/pipelines/workflows/circleci-pipeline-id", @@ -191,7 +191,7 @@ "ci.workspace_path": "/not-my-home", "git.branch": "master", "git.commit.sha": "circleci-git-commit", - "git.repository_url": "sample" + "git.repository_url": "https://circleci-build-url.com/" } ], [ @@ -199,10 +199,10 @@ "CIRCLECI": "circleCI", "CIRCLE_BRANCH": "refs/heads/master", "CIRCLE_BUILD_NUM": "circleci-pipeline-number", - "CIRCLE_BUILD_URL": "circleci-build-url", + "CIRCLE_BUILD_URL": "https://circleci-build-url.com/", "CIRCLE_JOB": "circleci-job-name", "CIRCLE_PROJECT_REPONAME": "circleci-pipeline-name", - "CIRCLE_REPOSITORY_URL": "sample", + "CIRCLE_REPOSITORY_URL": "https://circleci-build-url.com/", "CIRCLE_SHA1": "circleci-git-commit", "CIRCLE_WORKFLOW_ID": "circleci-pipeline-id", "CIRCLE_WORKING_DIRECTORY": "/foo/bar" @@ -210,7 +210,7 @@ { "_dd.ci.env_vars": "{\"CIRCLE_WORKFLOW_ID\":\"circleci-pipeline-id\",\"CIRCLE_BUILD_NUM\":\"circleci-pipeline-number\"}", "ci.job.name": "circleci-job-name", - "ci.job.url": "circleci-build-url", + "ci.job.url": "https://circleci-build-url.com/", "ci.pipeline.id": "circleci-pipeline-id", "ci.pipeline.name": "circleci-pipeline-name", "ci.pipeline.url": "https://app.circleci.com/pipelines/workflows/circleci-pipeline-id", @@ -218,7 +218,7 @@ "ci.workspace_path": "/foo/bar", "git.branch": "master", "git.commit.sha": "circleci-git-commit", - "git.repository_url": "sample" + "git.repository_url": "https://circleci-build-url.com/" } ], [ @@ -226,10 +226,10 @@ "CIRCLECI": "circleCI", "CIRCLE_BRANCH": "refs/heads/feature/one", "CIRCLE_BUILD_NUM": "circleci-pipeline-number", - "CIRCLE_BUILD_URL": "circleci-build-url", + "CIRCLE_BUILD_URL": "https://circleci-build-url.com/", "CIRCLE_JOB": "circleci-job-name", "CIRCLE_PROJECT_REPONAME": "circleci-pipeline-name", - "CIRCLE_REPOSITORY_URL": "sample", + "CIRCLE_REPOSITORY_URL": "https://circleci-build-url.com/", "CIRCLE_SHA1": "circleci-git-commit", "CIRCLE_WORKFLOW_ID": "circleci-pipeline-id", "CIRCLE_WORKING_DIRECTORY": "/foo/bar" @@ -237,7 +237,7 @@ { "_dd.ci.env_vars": "{\"CIRCLE_WORKFLOW_ID\":\"circleci-pipeline-id\",\"CIRCLE_BUILD_NUM\":\"circleci-pipeline-number\"}", "ci.job.name": "circleci-job-name", - "ci.job.url": "circleci-build-url", + "ci.job.url": "https://circleci-build-url.com/", "ci.pipeline.id": "circleci-pipeline-id", "ci.pipeline.name": "circleci-pipeline-name", "ci.pipeline.url": "https://app.circleci.com/pipelines/workflows/circleci-pipeline-id", @@ -245,7 +245,7 @@ "ci.workspace_path": "/foo/bar", "git.branch": "feature/one", "git.commit.sha": "circleci-git-commit", - "git.repository_url": "sample" + "git.repository_url": "https://circleci-build-url.com/" } ], [ @@ -253,10 +253,10 @@ "CIRCLECI": "circleCI", "CIRCLE_BRANCH": "origin/tags/0.1.0", "CIRCLE_BUILD_NUM": "circleci-pipeline-number", - "CIRCLE_BUILD_URL": "circleci-build-url", + "CIRCLE_BUILD_URL": "https://circleci-build-url.com/", "CIRCLE_JOB": "circleci-job-name", "CIRCLE_PROJECT_REPONAME": "circleci-pipeline-name", - "CIRCLE_REPOSITORY_URL": "sample", + "CIRCLE_REPOSITORY_URL": "https://circleci-build-url.com/", "CIRCLE_SHA1": "circleci-git-commit", "CIRCLE_TAG": "origin/tags/0.1.0", "CIRCLE_WORKFLOW_ID": "circleci-pipeline-id", @@ -265,14 +265,14 @@ { "_dd.ci.env_vars": "{\"CIRCLE_WORKFLOW_ID\":\"circleci-pipeline-id\",\"CIRCLE_BUILD_NUM\":\"circleci-pipeline-number\"}", "ci.job.name": "circleci-job-name", - "ci.job.url": "circleci-build-url", + "ci.job.url": "https://circleci-build-url.com/", "ci.pipeline.id": "circleci-pipeline-id", "ci.pipeline.name": "circleci-pipeline-name", "ci.pipeline.url": "https://app.circleci.com/pipelines/workflows/circleci-pipeline-id", "ci.provider.name": "circleci", "ci.workspace_path": "/foo/bar", "git.commit.sha": "circleci-git-commit", - "git.repository_url": "sample", + "git.repository_url": "https://circleci-build-url.com/", "git.tag": "0.1.0" } ], @@ -281,10 +281,10 @@ "CIRCLECI": "circleCI", "CIRCLE_BRANCH": "refs/heads/tags/0.1.0", "CIRCLE_BUILD_NUM": "circleci-pipeline-number", - "CIRCLE_BUILD_URL": "circleci-build-url", + "CIRCLE_BUILD_URL": "https://circleci-build-url.com/", "CIRCLE_JOB": "circleci-job-name", "CIRCLE_PROJECT_REPONAME": "circleci-pipeline-name", - "CIRCLE_REPOSITORY_URL": "sample", + "CIRCLE_REPOSITORY_URL": "https://circleci-build-url.com/", "CIRCLE_SHA1": "circleci-git-commit", "CIRCLE_TAG": "refs/heads/tags/0.1.0", "CIRCLE_WORKFLOW_ID": "circleci-pipeline-id", @@ -293,14 +293,14 @@ { "_dd.ci.env_vars": "{\"CIRCLE_WORKFLOW_ID\":\"circleci-pipeline-id\",\"CIRCLE_BUILD_NUM\":\"circleci-pipeline-number\"}", "ci.job.name": "circleci-job-name", - "ci.job.url": "circleci-build-url", + "ci.job.url": "https://circleci-build-url.com/", "ci.pipeline.id": "circleci-pipeline-id", "ci.pipeline.name": "circleci-pipeline-name", "ci.pipeline.url": "https://app.circleci.com/pipelines/workflows/circleci-pipeline-id", "ci.provider.name": "circleci", "ci.workspace_path": "/foo/bar", "git.commit.sha": "circleci-git-commit", - "git.repository_url": "sample", + "git.repository_url": "https://circleci-build-url.com/", "git.tag": "0.1.0" } ], @@ -309,7 +309,7 @@ "CIRCLECI": "circleCI", "CIRCLE_BRANCH": "origin/master", "CIRCLE_BUILD_NUM": "circleci-pipeline-number", - "CIRCLE_BUILD_URL": "circleci-build-url", + "CIRCLE_BUILD_URL": "https://circleci-build-url.com/", "CIRCLE_JOB": "circleci-job-name", "CIRCLE_PROJECT_REPONAME": "circleci-pipeline-name", "CIRCLE_REPOSITORY_URL": "http://hostname.com/repo.git", @@ -320,7 +320,7 @@ { "_dd.ci.env_vars": "{\"CIRCLE_WORKFLOW_ID\":\"circleci-pipeline-id\",\"CIRCLE_BUILD_NUM\":\"circleci-pipeline-number\"}", "ci.job.name": "circleci-job-name", - "ci.job.url": "circleci-build-url", + "ci.job.url": "https://circleci-build-url.com/", "ci.pipeline.id": "circleci-pipeline-id", "ci.pipeline.name": "circleci-pipeline-name", "ci.pipeline.url": "https://app.circleci.com/pipelines/workflows/circleci-pipeline-id", @@ -336,7 +336,7 @@ "CIRCLECI": "circleCI", "CIRCLE_BRANCH": "origin/master", "CIRCLE_BUILD_NUM": "circleci-pipeline-number", - "CIRCLE_BUILD_URL": "circleci-build-url", + "CIRCLE_BUILD_URL": "https://circleci-build-url.com/", "CIRCLE_JOB": "circleci-job-name", "CIRCLE_PROJECT_REPONAME": "circleci-pipeline-name", "CIRCLE_REPOSITORY_URL": "http://user@hostname.com/repo.git", @@ -347,7 +347,7 @@ { "_dd.ci.env_vars": "{\"CIRCLE_WORKFLOW_ID\":\"circleci-pipeline-id\",\"CIRCLE_BUILD_NUM\":\"circleci-pipeline-number\"}", "ci.job.name": "circleci-job-name", - "ci.job.url": "circleci-build-url", + "ci.job.url": "https://circleci-build-url.com/", "ci.pipeline.id": "circleci-pipeline-id", "ci.pipeline.name": "circleci-pipeline-name", "ci.pipeline.url": "https://app.circleci.com/pipelines/workflows/circleci-pipeline-id", @@ -363,7 +363,7 @@ "CIRCLECI": "circleCI", "CIRCLE_BRANCH": "origin/master", "CIRCLE_BUILD_NUM": "circleci-pipeline-number", - "CIRCLE_BUILD_URL": "circleci-build-url", + "CIRCLE_BUILD_URL": "https://circleci-build-url.com/", "CIRCLE_JOB": "circleci-job-name", "CIRCLE_PROJECT_REPONAME": "circleci-pipeline-name", "CIRCLE_REPOSITORY_URL": "http://user%E2%82%AC@hostname.com/repo.git", @@ -374,7 +374,7 @@ { "_dd.ci.env_vars": "{\"CIRCLE_WORKFLOW_ID\":\"circleci-pipeline-id\",\"CIRCLE_BUILD_NUM\":\"circleci-pipeline-number\"}", "ci.job.name": "circleci-job-name", - "ci.job.url": "circleci-build-url", + "ci.job.url": "https://circleci-build-url.com/", "ci.pipeline.id": "circleci-pipeline-id", "ci.pipeline.name": "circleci-pipeline-name", "ci.pipeline.url": "https://app.circleci.com/pipelines/workflows/circleci-pipeline-id", @@ -390,7 +390,7 @@ "CIRCLECI": "circleCI", "CIRCLE_BRANCH": "origin/master", "CIRCLE_BUILD_NUM": "circleci-pipeline-number", - "CIRCLE_BUILD_URL": "circleci-build-url", + "CIRCLE_BUILD_URL": "https://circleci-build-url.com/", "CIRCLE_JOB": "circleci-job-name", "CIRCLE_PROJECT_REPONAME": "circleci-pipeline-name", "CIRCLE_REPOSITORY_URL": "http://user:pwd@hostname.com/repo.git", @@ -401,7 +401,7 @@ { "_dd.ci.env_vars": "{\"CIRCLE_WORKFLOW_ID\":\"circleci-pipeline-id\",\"CIRCLE_BUILD_NUM\":\"circleci-pipeline-number\"}", "ci.job.name": "circleci-job-name", - "ci.job.url": "circleci-build-url", + "ci.job.url": "https://circleci-build-url.com/", "ci.pipeline.id": "circleci-pipeline-id", "ci.pipeline.name": "circleci-pipeline-name", "ci.pipeline.url": "https://app.circleci.com/pipelines/workflows/circleci-pipeline-id", @@ -417,7 +417,7 @@ "CIRCLECI": "circleCI", "CIRCLE_BRANCH": "origin/master", "CIRCLE_BUILD_NUM": "circleci-pipeline-number", - "CIRCLE_BUILD_URL": "circleci-build-url", + "CIRCLE_BUILD_URL": "https://circleci-build-url.com/", "CIRCLE_JOB": "circleci-job-name", "CIRCLE_PROJECT_REPONAME": "circleci-pipeline-name", "CIRCLE_REPOSITORY_URL": "git@hostname.com:org/repo.git", @@ -428,7 +428,7 @@ { "_dd.ci.env_vars": "{\"CIRCLE_WORKFLOW_ID\":\"circleci-pipeline-id\",\"CIRCLE_BUILD_NUM\":\"circleci-pipeline-number\"}", "ci.job.name": "circleci-job-name", - "ci.job.url": "circleci-build-url", + "ci.job.url": "https://circleci-build-url.com/", "ci.pipeline.id": "circleci-pipeline-id", "ci.pipeline.name": "circleci-pipeline-name", "ci.pipeline.url": "https://app.circleci.com/pipelines/workflows/circleci-pipeline-id", @@ -443,7 +443,7 @@ { "CIRCLECI": "circleCI", "CIRCLE_BUILD_NUM": "circleci-pipeline-number", - "CIRCLE_BUILD_URL": "circleci-build-url", + "CIRCLE_BUILD_URL": "https://circleci-build-url.com/", "CIRCLE_JOB": "circleci-job-name", "CIRCLE_PROJECT_REPONAME": "circleci-pipeline-name", "CIRCLE_SHA1": "circleci-git-commit", @@ -462,7 +462,7 @@ { "_dd.ci.env_vars": "{\"CIRCLE_WORKFLOW_ID\":\"circleci-pipeline-id\",\"CIRCLE_BUILD_NUM\":\"circleci-pipeline-number\"}", "ci.job.name": "circleci-job-name", - "ci.job.url": "circleci-build-url", + "ci.job.url": "https://circleci-build-url.com/", "ci.pipeline.id": "circleci-pipeline-id", "ci.pipeline.name": "circleci-pipeline-name", "ci.pipeline.url": "https://app.circleci.com/pipelines/workflows/circleci-pipeline-id", @@ -483,7 +483,7 @@ { "CIRCLECI": "circleCI", "CIRCLE_BUILD_NUM": "circleci-pipeline-number", - "CIRCLE_BUILD_URL": "circleci-build-url", + "CIRCLE_BUILD_URL": "https://circleci-build-url.com/", "CIRCLE_JOB": "circleci-job-name", "CIRCLE_PROJECT_REPONAME": "circleci-pipeline-name", "CIRCLE_SHA1": "circleci-git-commit", @@ -502,7 +502,7 @@ { "_dd.ci.env_vars": "{\"CIRCLE_WORKFLOW_ID\":\"circleci-pipeline-id\",\"CIRCLE_BUILD_NUM\":\"circleci-pipeline-number\"}", "ci.job.name": "circleci-job-name", - "ci.job.url": "circleci-build-url", + "ci.job.url": "https://circleci-build-url.com/", "ci.pipeline.id": "circleci-pipeline-id", "ci.pipeline.name": "circleci-pipeline-name", "ci.pipeline.url": "https://app.circleci.com/pipelines/workflows/circleci-pipeline-id", @@ -523,7 +523,7 @@ { "CIRCLECI": "circleCI", "CIRCLE_BUILD_NUM": "circleci-pipeline-number", - "CIRCLE_BUILD_URL": "circleci-build-url", + "CIRCLE_BUILD_URL": "https://circleci-build-url.com/", "CIRCLE_JOB": "circleci-job-name", "CIRCLE_PROJECT_REPONAME": "circleci-pipeline-name", "CIRCLE_REPOSITORY_URL": "https://user:password@github.com/DataDog/dogweb.git", @@ -533,7 +533,7 @@ { "_dd.ci.env_vars": "{\"CIRCLE_WORKFLOW_ID\":\"circleci-pipeline-id\",\"CIRCLE_BUILD_NUM\":\"circleci-pipeline-number\"}", "ci.job.name": "circleci-job-name", - "ci.job.url": "circleci-build-url", + "ci.job.url": "https://circleci-build-url.com/", "ci.pipeline.id": "circleci-pipeline-id", "ci.pipeline.name": "circleci-pipeline-name", "ci.pipeline.url": "https://app.circleci.com/pipelines/workflows/circleci-pipeline-id", diff --git a/packages/dd-trace/test/plugins/util/ci-env/gitlab.json b/packages/dd-trace/test/plugins/util/ci-env/gitlab.json index 3e1cbfdf7f3..be6dd9aeb27 100644 --- a/packages/dd-trace/test/plugins/util/ci-env/gitlab.json +++ b/packages/dd-trace/test/plugins/util/ci-env/gitlab.json @@ -9,20 +9,20 @@ "CI_JOB_ID": "gitlab-job-id", "CI_JOB_NAME": "gitlab-job-name", "CI_JOB_STAGE": "gitlab-stage-name", - "CI_JOB_URL": "gitlab-job-url", + "CI_JOB_URL": "https://gitlab.com/job", "CI_PIPELINE_ID": "gitlab-pipeline-id", "CI_PIPELINE_IID": "gitlab-pipeline-number", "CI_PIPELINE_URL": "https://foo/repo/-/pipelines/1234", "CI_PROJECT_DIR": "foo/bar", "CI_PROJECT_PATH": "gitlab-pipeline-name", - "CI_PROJECT_URL": "gitlab-project-url", - "CI_REPOSITORY_URL": "sample", + "CI_PROJECT_URL": "https://gitlab.com/repo", + "CI_REPOSITORY_URL": "https://gitlab.com/repo/myrepo.git", "GITLAB_CI": "gitlab" }, { - "_dd.ci.env_vars": "{\"CI_PROJECT_URL\":\"gitlab-project-url\",\"CI_PIPELINE_ID\":\"gitlab-pipeline-id\",\"CI_JOB_ID\":\"gitlab-job-id\"}", + "_dd.ci.env_vars": "{\"CI_PROJECT_URL\":\"https://gitlab.com/repo\",\"CI_PIPELINE_ID\":\"gitlab-pipeline-id\",\"CI_JOB_ID\":\"gitlab-job-id\"}", "ci.job.name": "gitlab-job-name", - "ci.job.url": "gitlab-job-url", + "ci.job.url": "https://gitlab.com/job", "ci.pipeline.id": "gitlab-pipeline-id", "ci.pipeline.name": "gitlab-pipeline-name", "ci.pipeline.number": "gitlab-pipeline-number", @@ -36,7 +36,7 @@ "git.commit.author.name": "John Doe", "git.commit.message": "gitlab-git-commit-message", "git.commit.sha": "gitlab-git-commit", - "git.repository_url": "sample" + "git.repository_url": "https://gitlab.com/repo/myrepo.git" } ], [ @@ -49,20 +49,20 @@ "CI_JOB_ID": "gitlab-job-id", "CI_JOB_NAME": "gitlab-job-name", "CI_JOB_STAGE": "gitlab-stage-name", - "CI_JOB_URL": "gitlab-job-url", + "CI_JOB_URL": "https://gitlab.com/job", "CI_PIPELINE_ID": "gitlab-pipeline-id", "CI_PIPELINE_IID": "gitlab-pipeline-number", "CI_PIPELINE_URL": "https://foo/repo/-/pipelines/1234", "CI_PROJECT_DIR": "/foo/bar~", "CI_PROJECT_PATH": "gitlab-pipeline-name", - "CI_PROJECT_URL": "gitlab-project-url", - "CI_REPOSITORY_URL": "sample", + "CI_PROJECT_URL": "https://gitlab.com/repo", + "CI_REPOSITORY_URL": "https://gitlab.com/repo/myrepo.git", "GITLAB_CI": "gitlab" }, { - "_dd.ci.env_vars": "{\"CI_PROJECT_URL\":\"gitlab-project-url\",\"CI_PIPELINE_ID\":\"gitlab-pipeline-id\",\"CI_JOB_ID\":\"gitlab-job-id\"}", + "_dd.ci.env_vars": "{\"CI_PROJECT_URL\":\"https://gitlab.com/repo\",\"CI_PIPELINE_ID\":\"gitlab-pipeline-id\",\"CI_JOB_ID\":\"gitlab-job-id\"}", "ci.job.name": "gitlab-job-name", - "ci.job.url": "gitlab-job-url", + "ci.job.url": "https://gitlab.com/job", "ci.pipeline.id": "gitlab-pipeline-id", "ci.pipeline.name": "gitlab-pipeline-name", "ci.pipeline.number": "gitlab-pipeline-number", @@ -76,7 +76,7 @@ "git.commit.author.name": "John Doe", "git.commit.message": "gitlab-git-commit-message", "git.commit.sha": "gitlab-git-commit", - "git.repository_url": "sample" + "git.repository_url": "https://gitlab.com/repo/myrepo.git" } ], [ @@ -89,20 +89,20 @@ "CI_JOB_ID": "gitlab-job-id", "CI_JOB_NAME": "gitlab-job-name", "CI_JOB_STAGE": "gitlab-stage-name", - "CI_JOB_URL": "gitlab-job-url", + "CI_JOB_URL": "https://gitlab.com/job", "CI_PIPELINE_ID": "gitlab-pipeline-id", "CI_PIPELINE_IID": "gitlab-pipeline-number", "CI_PIPELINE_URL": "https://foo/repo/-/pipelines/1234", "CI_PROJECT_DIR": "/foo/~/bar", "CI_PROJECT_PATH": "gitlab-pipeline-name", - "CI_PROJECT_URL": "gitlab-project-url", - "CI_REPOSITORY_URL": "sample", + "CI_PROJECT_URL": "https://gitlab.com/repo", + "CI_REPOSITORY_URL": "https://gitlab.com/repo/myrepo.git", "GITLAB_CI": "gitlab" }, { - "_dd.ci.env_vars": "{\"CI_PROJECT_URL\":\"gitlab-project-url\",\"CI_PIPELINE_ID\":\"gitlab-pipeline-id\",\"CI_JOB_ID\":\"gitlab-job-id\"}", + "_dd.ci.env_vars": "{\"CI_PROJECT_URL\":\"https://gitlab.com/repo\",\"CI_PIPELINE_ID\":\"gitlab-pipeline-id\",\"CI_JOB_ID\":\"gitlab-job-id\"}", "ci.job.name": "gitlab-job-name", - "ci.job.url": "gitlab-job-url", + "ci.job.url": "https://gitlab.com/job", "ci.pipeline.id": "gitlab-pipeline-id", "ci.pipeline.name": "gitlab-pipeline-name", "ci.pipeline.number": "gitlab-pipeline-number", @@ -116,7 +116,7 @@ "git.commit.author.name": "John Doe", "git.commit.message": "gitlab-git-commit-message", "git.commit.sha": "gitlab-git-commit", - "git.repository_url": "sample" + "git.repository_url": "https://gitlab.com/repo/myrepo.git" } ], [ @@ -129,22 +129,22 @@ "CI_JOB_ID": "gitlab-job-id", "CI_JOB_NAME": "gitlab-job-name", "CI_JOB_STAGE": "gitlab-stage-name", - "CI_JOB_URL": "gitlab-job-url", + "CI_JOB_URL": "https://gitlab.com/job", "CI_PIPELINE_ID": "gitlab-pipeline-id", "CI_PIPELINE_IID": "gitlab-pipeline-number", "CI_PIPELINE_URL": "https://foo/repo/-/pipelines/1234", "CI_PROJECT_DIR": "~/foo/bar", "CI_PROJECT_PATH": "gitlab-pipeline-name", - "CI_PROJECT_URL": "gitlab-project-url", - "CI_REPOSITORY_URL": "sample", + "CI_PROJECT_URL": "https://gitlab.com/repo", + "CI_REPOSITORY_URL": "https://gitlab.com/repo/myrepo.git", "GITLAB_CI": "gitlab", "HOME": "/not-my-home", "USERPROFILE": "/not-my-home" }, { - "_dd.ci.env_vars": "{\"CI_PROJECT_URL\":\"gitlab-project-url\",\"CI_PIPELINE_ID\":\"gitlab-pipeline-id\",\"CI_JOB_ID\":\"gitlab-job-id\"}", + "_dd.ci.env_vars": "{\"CI_PROJECT_URL\":\"https://gitlab.com/repo\",\"CI_PIPELINE_ID\":\"gitlab-pipeline-id\",\"CI_JOB_ID\":\"gitlab-job-id\"}", "ci.job.name": "gitlab-job-name", - "ci.job.url": "gitlab-job-url", + "ci.job.url": "https://gitlab.com/job", "ci.pipeline.id": "gitlab-pipeline-id", "ci.pipeline.name": "gitlab-pipeline-name", "ci.pipeline.number": "gitlab-pipeline-number", @@ -158,7 +158,7 @@ "git.commit.author.name": "John Doe", "git.commit.message": "gitlab-git-commit-message", "git.commit.sha": "gitlab-git-commit", - "git.repository_url": "sample" + "git.repository_url": "https://gitlab.com/repo/myrepo.git" } ], [ @@ -171,22 +171,22 @@ "CI_JOB_ID": "gitlab-job-id", "CI_JOB_NAME": "gitlab-job-name", "CI_JOB_STAGE": "gitlab-stage-name", - "CI_JOB_URL": "gitlab-job-url", + "CI_JOB_URL": "https://gitlab.com/job", "CI_PIPELINE_ID": "gitlab-pipeline-id", "CI_PIPELINE_IID": "gitlab-pipeline-number", "CI_PIPELINE_URL": "https://foo/repo/-/pipelines/1234", "CI_PROJECT_DIR": "~foo/bar", "CI_PROJECT_PATH": "gitlab-pipeline-name", - "CI_PROJECT_URL": "gitlab-project-url", - "CI_REPOSITORY_URL": "sample", + "CI_PROJECT_URL": "https://gitlab.com/repo", + "CI_REPOSITORY_URL": "https://gitlab.com/repo/myrepo.git", "GITLAB_CI": "gitlab", "HOME": "/not-my-home", "USERPROFILE": "/not-my-home" }, { - "_dd.ci.env_vars": "{\"CI_PROJECT_URL\":\"gitlab-project-url\",\"CI_PIPELINE_ID\":\"gitlab-pipeline-id\",\"CI_JOB_ID\":\"gitlab-job-id\"}", + "_dd.ci.env_vars": "{\"CI_PROJECT_URL\":\"https://gitlab.com/repo\",\"CI_PIPELINE_ID\":\"gitlab-pipeline-id\",\"CI_JOB_ID\":\"gitlab-job-id\"}", "ci.job.name": "gitlab-job-name", - "ci.job.url": "gitlab-job-url", + "ci.job.url": "https://gitlab.com/job", "ci.pipeline.id": "gitlab-pipeline-id", "ci.pipeline.name": "gitlab-pipeline-name", "ci.pipeline.number": "gitlab-pipeline-number", @@ -200,7 +200,7 @@ "git.commit.author.name": "John Doe", "git.commit.message": "gitlab-git-commit-message", "git.commit.sha": "gitlab-git-commit", - "git.repository_url": "sample" + "git.repository_url": "https://gitlab.com/repo/myrepo.git" } ], [ @@ -213,22 +213,22 @@ "CI_JOB_ID": "gitlab-job-id", "CI_JOB_NAME": "gitlab-job-name", "CI_JOB_STAGE": "gitlab-stage-name", - "CI_JOB_URL": "gitlab-job-url", + "CI_JOB_URL": "https://gitlab.com/job", "CI_PIPELINE_ID": "gitlab-pipeline-id", "CI_PIPELINE_IID": "gitlab-pipeline-number", "CI_PIPELINE_URL": "https://foo/repo/-/pipelines/1234", "CI_PROJECT_DIR": "~", "CI_PROJECT_PATH": "gitlab-pipeline-name", - "CI_PROJECT_URL": "gitlab-project-url", - "CI_REPOSITORY_URL": "sample", + "CI_PROJECT_URL": "https://gitlab.com/repo", + "CI_REPOSITORY_URL": "https://gitlab.com/repo/myrepo.git", "GITLAB_CI": "gitlab", "HOME": "/not-my-home", "USERPROFILE": "/not-my-home" }, { - "_dd.ci.env_vars": "{\"CI_PROJECT_URL\":\"gitlab-project-url\",\"CI_PIPELINE_ID\":\"gitlab-pipeline-id\",\"CI_JOB_ID\":\"gitlab-job-id\"}", + "_dd.ci.env_vars": "{\"CI_PROJECT_URL\":\"https://gitlab.com/repo\",\"CI_PIPELINE_ID\":\"gitlab-pipeline-id\",\"CI_JOB_ID\":\"gitlab-job-id\"}", "ci.job.name": "gitlab-job-name", - "ci.job.url": "gitlab-job-url", + "ci.job.url": "https://gitlab.com/job", "ci.pipeline.id": "gitlab-pipeline-id", "ci.pipeline.name": "gitlab-pipeline-name", "ci.pipeline.number": "gitlab-pipeline-number", @@ -242,7 +242,7 @@ "git.commit.author.name": "John Doe", "git.commit.message": "gitlab-git-commit-message", "git.commit.sha": "gitlab-git-commit", - "git.repository_url": "sample" + "git.repository_url": "https://gitlab.com/repo/myrepo.git" } ], [ @@ -255,20 +255,20 @@ "CI_JOB_ID": "gitlab-job-id", "CI_JOB_NAME": "gitlab-job-name", "CI_JOB_STAGE": "gitlab-stage-name", - "CI_JOB_URL": "gitlab-job-url", + "CI_JOB_URL": "https://gitlab.com/job", "CI_PIPELINE_ID": "gitlab-pipeline-id", "CI_PIPELINE_IID": "gitlab-pipeline-number", "CI_PIPELINE_URL": "https://foo/repo/-/pipelines/1234", "CI_PROJECT_DIR": "/foo/bar", "CI_PROJECT_PATH": "gitlab-pipeline-name", - "CI_PROJECT_URL": "gitlab-project-url", - "CI_REPOSITORY_URL": "sample", + "CI_PROJECT_URL": "https://gitlab.com/repo", + "CI_REPOSITORY_URL": "https://gitlab.com/repo/myrepo.git", "GITLAB_CI": "gitlab" }, { - "_dd.ci.env_vars": "{\"CI_PROJECT_URL\":\"gitlab-project-url\",\"CI_PIPELINE_ID\":\"gitlab-pipeline-id\",\"CI_JOB_ID\":\"gitlab-job-id\"}", + "_dd.ci.env_vars": "{\"CI_PROJECT_URL\":\"https://gitlab.com/repo\",\"CI_PIPELINE_ID\":\"gitlab-pipeline-id\",\"CI_JOB_ID\":\"gitlab-job-id\"}", "ci.job.name": "gitlab-job-name", - "ci.job.url": "gitlab-job-url", + "ci.job.url": "https://gitlab.com/job", "ci.pipeline.id": "gitlab-pipeline-id", "ci.pipeline.name": "gitlab-pipeline-name", "ci.pipeline.number": "gitlab-pipeline-number", @@ -282,7 +282,7 @@ "git.commit.author.name": "John Doe", "git.commit.message": "gitlab-git-commit-message", "git.commit.sha": "gitlab-git-commit", - "git.repository_url": "sample" + "git.repository_url": "https://gitlab.com/repo/myrepo.git" } ], [ @@ -295,20 +295,20 @@ "CI_JOB_ID": "gitlab-job-id", "CI_JOB_NAME": "gitlab-job-name", "CI_JOB_STAGE": "gitlab-stage-name", - "CI_JOB_URL": "gitlab-job-url", + "CI_JOB_URL": "https://gitlab.com/job", "CI_PIPELINE_ID": "gitlab-pipeline-id", "CI_PIPELINE_IID": "gitlab-pipeline-number", "CI_PIPELINE_URL": "https://foo/repo/-/pipelines/1234", "CI_PROJECT_DIR": "/foo/bar", "CI_PROJECT_PATH": "gitlab-pipeline-name", - "CI_PROJECT_URL": "gitlab-project-url", - "CI_REPOSITORY_URL": "sample", + "CI_PROJECT_URL": "https://gitlab.com/repo", + "CI_REPOSITORY_URL": "https://gitlab.com/repo/myrepo.git", "GITLAB_CI": "gitlab" }, { - "_dd.ci.env_vars": "{\"CI_PROJECT_URL\":\"gitlab-project-url\",\"CI_PIPELINE_ID\":\"gitlab-pipeline-id\",\"CI_JOB_ID\":\"gitlab-job-id\"}", + "_dd.ci.env_vars": "{\"CI_PROJECT_URL\":\"https://gitlab.com/repo\",\"CI_PIPELINE_ID\":\"gitlab-pipeline-id\",\"CI_JOB_ID\":\"gitlab-job-id\"}", "ci.job.name": "gitlab-job-name", - "ci.job.url": "gitlab-job-url", + "ci.job.url": "https://gitlab.com/job", "ci.pipeline.id": "gitlab-pipeline-id", "ci.pipeline.name": "gitlab-pipeline-name", "ci.pipeline.number": "gitlab-pipeline-number", @@ -322,7 +322,7 @@ "git.commit.author.name": "John Doe", "git.commit.message": "gitlab-git-commit-message", "git.commit.sha": "gitlab-git-commit", - "git.repository_url": "sample" + "git.repository_url": "https://gitlab.com/repo/myrepo.git" } ], [ @@ -336,20 +336,20 @@ "CI_JOB_ID": "gitlab-job-id", "CI_JOB_NAME": "gitlab-job-name", "CI_JOB_STAGE": "gitlab-stage-name", - "CI_JOB_URL": "gitlab-job-url", + "CI_JOB_URL": "https://gitlab.com/job", "CI_PIPELINE_ID": "gitlab-pipeline-id", "CI_PIPELINE_IID": "gitlab-pipeline-number", "CI_PIPELINE_URL": "https://foo/repo/-/pipelines/1234", "CI_PROJECT_DIR": "/foo/bar", "CI_PROJECT_PATH": "gitlab-pipeline-name", - "CI_PROJECT_URL": "gitlab-project-url", - "CI_REPOSITORY_URL": "sample", + "CI_PROJECT_URL": "https://gitlab.com/repo", + "CI_REPOSITORY_URL": "https://gitlab.com/repo/myrepo.git", "GITLAB_CI": "gitlab" }, { - "_dd.ci.env_vars": "{\"CI_PROJECT_URL\":\"gitlab-project-url\",\"CI_PIPELINE_ID\":\"gitlab-pipeline-id\",\"CI_JOB_ID\":\"gitlab-job-id\"}", + "_dd.ci.env_vars": "{\"CI_PROJECT_URL\":\"https://gitlab.com/repo\",\"CI_PIPELINE_ID\":\"gitlab-pipeline-id\",\"CI_JOB_ID\":\"gitlab-job-id\"}", "ci.job.name": "gitlab-job-name", - "ci.job.url": "gitlab-job-url", + "ci.job.url": "https://gitlab.com/job", "ci.pipeline.id": "gitlab-pipeline-id", "ci.pipeline.name": "gitlab-pipeline-name", "ci.pipeline.number": "gitlab-pipeline-number", @@ -363,7 +363,7 @@ "git.commit.author.name": "John Doe", "git.commit.message": "gitlab-git-commit-message", "git.commit.sha": "gitlab-git-commit", - "git.repository_url": "sample", + "git.repository_url": "https://gitlab.com/repo/myrepo.git", "git.tag": "0.1.0" } ], @@ -378,20 +378,20 @@ "CI_JOB_ID": "gitlab-job-id", "CI_JOB_NAME": "gitlab-job-name", "CI_JOB_STAGE": "gitlab-stage-name", - "CI_JOB_URL": "gitlab-job-url", + "CI_JOB_URL": "https://gitlab.com/job", "CI_PIPELINE_ID": "gitlab-pipeline-id", "CI_PIPELINE_IID": "gitlab-pipeline-number", "CI_PIPELINE_URL": "https://foo/repo/-/pipelines/1234", "CI_PROJECT_DIR": "/foo/bar", "CI_PROJECT_PATH": "gitlab-pipeline-name", - "CI_PROJECT_URL": "gitlab-project-url", - "CI_REPOSITORY_URL": "sample", + "CI_PROJECT_URL": "https://gitlab.com/repo", + "CI_REPOSITORY_URL": "https://gitlab.com/repo/myrepo.git", "GITLAB_CI": "gitlab" }, { - "_dd.ci.env_vars": "{\"CI_PROJECT_URL\":\"gitlab-project-url\",\"CI_PIPELINE_ID\":\"gitlab-pipeline-id\",\"CI_JOB_ID\":\"gitlab-job-id\"}", + "_dd.ci.env_vars": "{\"CI_PROJECT_URL\":\"https://gitlab.com/repo\",\"CI_PIPELINE_ID\":\"gitlab-pipeline-id\",\"CI_JOB_ID\":\"gitlab-job-id\"}", "ci.job.name": "gitlab-job-name", - "ci.job.url": "gitlab-job-url", + "ci.job.url": "https://gitlab.com/job", "ci.pipeline.id": "gitlab-pipeline-id", "ci.pipeline.name": "gitlab-pipeline-name", "ci.pipeline.number": "gitlab-pipeline-number", @@ -405,7 +405,7 @@ "git.commit.author.name": "John Doe", "git.commit.message": "gitlab-git-commit-message", "git.commit.sha": "gitlab-git-commit", - "git.repository_url": "sample", + "git.repository_url": "https://gitlab.com/repo/myrepo.git", "git.tag": "0.1.0" } ], @@ -420,20 +420,20 @@ "CI_JOB_ID": "gitlab-job-id", "CI_JOB_NAME": "gitlab-job-name", "CI_JOB_STAGE": "gitlab-stage-name", - "CI_JOB_URL": "gitlab-job-url", + "CI_JOB_URL": "https://gitlab.com/job", "CI_PIPELINE_ID": "gitlab-pipeline-id", "CI_PIPELINE_IID": "gitlab-pipeline-number", "CI_PIPELINE_URL": "https://foo/repo/-/pipelines/1234", "CI_PROJECT_DIR": "/foo/bar", "CI_PROJECT_PATH": "gitlab-pipeline-name", - "CI_PROJECT_URL": "gitlab-project-url", - "CI_REPOSITORY_URL": "sample", + "CI_PROJECT_URL": "https://gitlab.com/repo", + "CI_REPOSITORY_URL": "https://gitlab.com/repo/myrepo.git", "GITLAB_CI": "gitlab" }, { - "_dd.ci.env_vars": "{\"CI_PROJECT_URL\":\"gitlab-project-url\",\"CI_PIPELINE_ID\":\"gitlab-pipeline-id\",\"CI_JOB_ID\":\"gitlab-job-id\"}", + "_dd.ci.env_vars": "{\"CI_PROJECT_URL\":\"https://gitlab.com/repo\",\"CI_PIPELINE_ID\":\"gitlab-pipeline-id\",\"CI_JOB_ID\":\"gitlab-job-id\"}", "ci.job.name": "gitlab-job-name", - "ci.job.url": "gitlab-job-url", + "ci.job.url": "https://gitlab.com/job", "ci.pipeline.id": "gitlab-pipeline-id", "ci.pipeline.name": "gitlab-pipeline-name", "ci.pipeline.number": "gitlab-pipeline-number", @@ -447,7 +447,7 @@ "git.commit.author.name": "John Doe", "git.commit.message": "gitlab-git-commit-message", "git.commit.sha": "gitlab-git-commit", - "git.repository_url": "sample", + "git.repository_url": "https://gitlab.com/repo/myrepo.git", "git.tag": "0.1.0" } ], @@ -461,20 +461,20 @@ "CI_JOB_ID": "gitlab-job-id", "CI_JOB_NAME": "gitlab-job-name", "CI_JOB_STAGE": "gitlab-stage-name", - "CI_JOB_URL": "gitlab-job-url", + "CI_JOB_URL": "https://gitlab.com/job", "CI_PIPELINE_ID": "gitlab-pipeline-id", "CI_PIPELINE_IID": "gitlab-pipeline-number", "CI_PIPELINE_URL": "https://foo/repo/-/pipelines/1234", "CI_PROJECT_DIR": "/foo/bar", "CI_PROJECT_PATH": "gitlab-pipeline-name", - "CI_PROJECT_URL": "gitlab-project-url", + "CI_PROJECT_URL": "https://gitlab.com/repo", "CI_REPOSITORY_URL": "http://hostname.com/repo.git", "GITLAB_CI": "gitlab" }, { - "_dd.ci.env_vars": "{\"CI_PROJECT_URL\":\"gitlab-project-url\",\"CI_PIPELINE_ID\":\"gitlab-pipeline-id\",\"CI_JOB_ID\":\"gitlab-job-id\"}", + "_dd.ci.env_vars": "{\"CI_PROJECT_URL\":\"https://gitlab.com/repo\",\"CI_PIPELINE_ID\":\"gitlab-pipeline-id\",\"CI_JOB_ID\":\"gitlab-job-id\"}", "ci.job.name": "gitlab-job-name", - "ci.job.url": "gitlab-job-url", + "ci.job.url": "https://gitlab.com/job", "ci.pipeline.id": "gitlab-pipeline-id", "ci.pipeline.name": "gitlab-pipeline-name", "ci.pipeline.number": "gitlab-pipeline-number", @@ -501,20 +501,20 @@ "CI_JOB_ID": "gitlab-job-id", "CI_JOB_NAME": "gitlab-job-name", "CI_JOB_STAGE": "gitlab-stage-name", - "CI_JOB_URL": "gitlab-job-url", + "CI_JOB_URL": "https://gitlab.com/job", "CI_PIPELINE_ID": "gitlab-pipeline-id", "CI_PIPELINE_IID": "gitlab-pipeline-number", "CI_PIPELINE_URL": "https://foo/repo/-/pipelines/1234", "CI_PROJECT_DIR": "/foo/bar", "CI_PROJECT_PATH": "gitlab-pipeline-name", - "CI_PROJECT_URL": "gitlab-project-url", + "CI_PROJECT_URL": "https://gitlab.com/repo", "CI_REPOSITORY_URL": "http://user@hostname.com/repo.git", "GITLAB_CI": "gitlab" }, { - "_dd.ci.env_vars": "{\"CI_PROJECT_URL\":\"gitlab-project-url\",\"CI_PIPELINE_ID\":\"gitlab-pipeline-id\",\"CI_JOB_ID\":\"gitlab-job-id\"}", + "_dd.ci.env_vars": "{\"CI_PROJECT_URL\":\"https://gitlab.com/repo\",\"CI_PIPELINE_ID\":\"gitlab-pipeline-id\",\"CI_JOB_ID\":\"gitlab-job-id\"}", "ci.job.name": "gitlab-job-name", - "ci.job.url": "gitlab-job-url", + "ci.job.url": "https://gitlab.com/job", "ci.pipeline.id": "gitlab-pipeline-id", "ci.pipeline.name": "gitlab-pipeline-name", "ci.pipeline.number": "gitlab-pipeline-number", @@ -541,20 +541,20 @@ "CI_JOB_ID": "gitlab-job-id", "CI_JOB_NAME": "gitlab-job-name", "CI_JOB_STAGE": "gitlab-stage-name", - "CI_JOB_URL": "gitlab-job-url", + "CI_JOB_URL": "https://gitlab.com/job", "CI_PIPELINE_ID": "gitlab-pipeline-id", "CI_PIPELINE_IID": "gitlab-pipeline-number", "CI_PIPELINE_URL": "https://foo/repo/-/pipelines/1234", "CI_PROJECT_DIR": "/foo/bar", "CI_PROJECT_PATH": "gitlab-pipeline-name", - "CI_PROJECT_URL": "gitlab-project-url", + "CI_PROJECT_URL": "https://gitlab.com/repo", "CI_REPOSITORY_URL": "http://user%E2%82%AC@hostname.com/repo.git", "GITLAB_CI": "gitlab" }, { - "_dd.ci.env_vars": "{\"CI_PROJECT_URL\":\"gitlab-project-url\",\"CI_PIPELINE_ID\":\"gitlab-pipeline-id\",\"CI_JOB_ID\":\"gitlab-job-id\"}", + "_dd.ci.env_vars": "{\"CI_PROJECT_URL\":\"https://gitlab.com/repo\",\"CI_PIPELINE_ID\":\"gitlab-pipeline-id\",\"CI_JOB_ID\":\"gitlab-job-id\"}", "ci.job.name": "gitlab-job-name", - "ci.job.url": "gitlab-job-url", + "ci.job.url": "https://gitlab.com/job", "ci.pipeline.id": "gitlab-pipeline-id", "ci.pipeline.name": "gitlab-pipeline-name", "ci.pipeline.number": "gitlab-pipeline-number", @@ -581,20 +581,20 @@ "CI_JOB_ID": "gitlab-job-id", "CI_JOB_NAME": "gitlab-job-name", "CI_JOB_STAGE": "gitlab-stage-name", - "CI_JOB_URL": "gitlab-job-url", + "CI_JOB_URL": "https://gitlab.com/job", "CI_PIPELINE_ID": "gitlab-pipeline-id", "CI_PIPELINE_IID": "gitlab-pipeline-number", "CI_PIPELINE_URL": "https://foo/repo/-/pipelines/1234", "CI_PROJECT_DIR": "/foo/bar", "CI_PROJECT_PATH": "gitlab-pipeline-name", - "CI_PROJECT_URL": "gitlab-project-url", + "CI_PROJECT_URL": "https://gitlab.com/repo", "CI_REPOSITORY_URL": "http://user:pwd@hostname.com/repo.git", "GITLAB_CI": "gitlab" }, { - "_dd.ci.env_vars": "{\"CI_PROJECT_URL\":\"gitlab-project-url\",\"CI_PIPELINE_ID\":\"gitlab-pipeline-id\",\"CI_JOB_ID\":\"gitlab-job-id\"}", + "_dd.ci.env_vars": "{\"CI_PROJECT_URL\":\"https://gitlab.com/repo\",\"CI_PIPELINE_ID\":\"gitlab-pipeline-id\",\"CI_JOB_ID\":\"gitlab-job-id\"}", "ci.job.name": "gitlab-job-name", - "ci.job.url": "gitlab-job-url", + "ci.job.url": "https://gitlab.com/job", "ci.pipeline.id": "gitlab-pipeline-id", "ci.pipeline.name": "gitlab-pipeline-name", "ci.pipeline.number": "gitlab-pipeline-number", @@ -621,20 +621,20 @@ "CI_JOB_ID": "gitlab-job-id", "CI_JOB_NAME": "gitlab-job-name", "CI_JOB_STAGE": "gitlab-stage-name", - "CI_JOB_URL": "gitlab-job-url", + "CI_JOB_URL": "https://gitlab.com/job", "CI_PIPELINE_ID": "gitlab-pipeline-id", "CI_PIPELINE_IID": "gitlab-pipeline-number", "CI_PIPELINE_URL": "https://foo/repo/-/pipelines/1234", "CI_PROJECT_DIR": "/foo/bar", "CI_PROJECT_PATH": "gitlab-pipeline-name", - "CI_PROJECT_URL": "gitlab-project-url", + "CI_PROJECT_URL": "https://gitlab.com/repo", "CI_REPOSITORY_URL": "git@hostname.com:org/repo.git", "GITLAB_CI": "gitlab" }, { - "_dd.ci.env_vars": "{\"CI_PROJECT_URL\":\"gitlab-project-url\",\"CI_PIPELINE_ID\":\"gitlab-pipeline-id\",\"CI_JOB_ID\":\"gitlab-job-id\"}", + "_dd.ci.env_vars": "{\"CI_PROJECT_URL\":\"https://gitlab.com/repo\",\"CI_PIPELINE_ID\":\"gitlab-pipeline-id\",\"CI_JOB_ID\":\"gitlab-job-id\"}", "ci.job.name": "gitlab-job-name", - "ci.job.url": "gitlab-job-url", + "ci.job.url": "https://gitlab.com/job", "ci.pipeline.id": "gitlab-pipeline-id", "ci.pipeline.name": "gitlab-pipeline-name", "ci.pipeline.number": "gitlab-pipeline-number", @@ -661,14 +661,14 @@ "CI_JOB_ID": "gitlab-job-id", "CI_JOB_NAME": "gitlab-job-name", "CI_JOB_STAGE": "gitlab-stage-name", - "CI_JOB_URL": "gitlab-job-url", + "CI_JOB_URL": "https://gitlab.com/job", "CI_PIPELINE_ID": "gitlab-pipeline-id", "CI_PIPELINE_IID": "gitlab-pipeline-number", "CI_PIPELINE_URL": "https://foo/repo/-/pipelines/1234", "CI_PROJECT_DIR": "/foo/bar", "CI_PROJECT_PATH": "gitlab-pipeline-name", - "CI_PROJECT_URL": "gitlab-project-url", - "CI_REPOSITORY_URL": "sample", + "CI_PROJECT_URL": "https://gitlab.com/repo", + "CI_REPOSITORY_URL": "https://gitlab.com/repo/myrepo.git", "DD_GIT_BRANCH": "user-supplied-branch", "DD_GIT_COMMIT_AUTHOR_DATE": "usersupplied-authordate", "DD_GIT_COMMIT_AUTHOR_EMAIL": "usersupplied-authoremail", @@ -682,9 +682,9 @@ "GITLAB_CI": "gitlab" }, { - "_dd.ci.env_vars": "{\"CI_PROJECT_URL\":\"gitlab-project-url\",\"CI_PIPELINE_ID\":\"gitlab-pipeline-id\",\"CI_JOB_ID\":\"gitlab-job-id\"}", + "_dd.ci.env_vars": "{\"CI_PROJECT_URL\":\"https://gitlab.com/repo\",\"CI_PIPELINE_ID\":\"gitlab-pipeline-id\",\"CI_JOB_ID\":\"gitlab-job-id\"}", "ci.job.name": "gitlab-job-name", - "ci.job.url": "gitlab-job-url", + "ci.job.url": "https://gitlab.com/job", "ci.pipeline.id": "gitlab-pipeline-id", "ci.pipeline.name": "gitlab-pipeline-name", "ci.pipeline.number": "gitlab-pipeline-number", @@ -714,14 +714,14 @@ "CI_JOB_ID": "gitlab-job-id", "CI_JOB_NAME": "gitlab-job-name", "CI_JOB_STAGE": "gitlab-stage-name", - "CI_JOB_URL": "gitlab-job-url", + "CI_JOB_URL": "https://gitlab.com/job", "CI_PIPELINE_ID": "gitlab-pipeline-id", "CI_PIPELINE_IID": "gitlab-pipeline-number", "CI_PIPELINE_URL": "https://foo/repo/-/pipelines/1234", "CI_PROJECT_DIR": "/foo/bar", "CI_PROJECT_PATH": "gitlab-pipeline-name", - "CI_PROJECT_URL": "gitlab-project-url", - "CI_REPOSITORY_URL": "sample", + "CI_PROJECT_URL": "https://gitlab.com/repo", + "CI_REPOSITORY_URL": "https://gitlab.com/repo/myrepo.git", "DD_GIT_COMMIT_AUTHOR_DATE": "usersupplied-authordate", "DD_GIT_COMMIT_AUTHOR_EMAIL": "usersupplied-authoremail", "DD_GIT_COMMIT_AUTHOR_NAME": "usersupplied-authorname", @@ -735,9 +735,9 @@ "GITLAB_CI": "gitlab" }, { - "_dd.ci.env_vars": "{\"CI_PROJECT_URL\":\"gitlab-project-url\",\"CI_PIPELINE_ID\":\"gitlab-pipeline-id\",\"CI_JOB_ID\":\"gitlab-job-id\"}", + "_dd.ci.env_vars": "{\"CI_PROJECT_URL\":\"https://gitlab.com/repo\",\"CI_PIPELINE_ID\":\"gitlab-pipeline-id\",\"CI_JOB_ID\":\"gitlab-job-id\"}", "ci.job.name": "gitlab-job-name", - "ci.job.url": "gitlab-job-url", + "ci.job.url": "https://gitlab.com/job", "ci.pipeline.id": "gitlab-pipeline-id", "ci.pipeline.name": "gitlab-pipeline-name", "ci.pipeline.number": "gitlab-pipeline-number", @@ -768,20 +768,20 @@ "CI_JOB_ID": "gitlab-job-id", "CI_JOB_NAME": "gitlab-job-name", "CI_JOB_STAGE": "gitlab-stage-name", - "CI_JOB_URL": "gitlab-job-url", + "CI_JOB_URL": "https://gitlab.com/job", "CI_PIPELINE_ID": "gitlab-pipeline-id", "CI_PIPELINE_IID": "gitlab-pipeline-number", "CI_PIPELINE_URL": "https://foo/repo/-/pipelines/1234", "CI_PROJECT_DIR": "/foo/bar", "CI_PROJECT_PATH": "gitlab-pipeline-name", - "CI_PROJECT_URL": "gitlab-project-url", + "CI_PROJECT_URL": "https://gitlab.com/repo", "CI_REPOSITORY_URL": "https://user:password@gitlab.com/DataDog/dogweb.git", "GITLAB_CI": "gitlab" }, { - "_dd.ci.env_vars": "{\"CI_PROJECT_URL\":\"gitlab-project-url\",\"CI_PIPELINE_ID\":\"gitlab-pipeline-id\",\"CI_JOB_ID\":\"gitlab-job-id\"}", + "_dd.ci.env_vars": "{\"CI_PROJECT_URL\":\"https://gitlab.com/repo\",\"CI_PIPELINE_ID\":\"gitlab-pipeline-id\",\"CI_JOB_ID\":\"gitlab-job-id\"}", "ci.job.name": "gitlab-job-name", - "ci.job.url": "gitlab-job-url", + "ci.job.url": "https://gitlab.com/job", "ci.pipeline.id": "gitlab-pipeline-id", "ci.pipeline.name": "gitlab-pipeline-name", "ci.pipeline.number": "gitlab-pipeline-number", @@ -808,22 +808,22 @@ "CI_JOB_ID": "gitlab-job-id", "CI_JOB_NAME": "gitlab-job-name", "CI_JOB_STAGE": "gitlab-stage-name", - "CI_JOB_URL": "gitlab-job-url", + "CI_JOB_URL": "https://gitlab.com/job", "CI_PIPELINE_ID": "gitlab-pipeline-id", "CI_PIPELINE_IID": "gitlab-pipeline-number", "CI_PIPELINE_URL": "https://foo/repo/-/pipelines/1234", "CI_PROJECT_DIR": "/foo/bar", "CI_PROJECT_PATH": "gitlab-pipeline-name", - "CI_PROJECT_URL": "gitlab-project-url", - "CI_REPOSITORY_URL": "sample", + "CI_PROJECT_URL": "https://gitlab.com/repo", + "CI_REPOSITORY_URL": "https://gitlab.com/repo/myrepo.git", "CI_RUNNER_ID": "9393040", "CI_RUNNER_TAGS": "[\"arch:arm64\",\"linux\"]", "GITLAB_CI": "gitlab" }, { - "_dd.ci.env_vars": "{\"CI_PROJECT_URL\":\"gitlab-project-url\",\"CI_PIPELINE_ID\":\"gitlab-pipeline-id\",\"CI_JOB_ID\":\"gitlab-job-id\"}", + "_dd.ci.env_vars": "{\"CI_PROJECT_URL\":\"https://gitlab.com/repo\",\"CI_PIPELINE_ID\":\"gitlab-pipeline-id\",\"CI_JOB_ID\":\"gitlab-job-id\"}", "ci.job.name": "gitlab-job-name", - "ci.job.url": "gitlab-job-url", + "ci.job.url": "https://gitlab.com/job", "ci.node.labels": "[\"arch:arm64\",\"linux\"]", "ci.node.name": "9393040", "ci.pipeline.id": "gitlab-pipeline-id", @@ -839,7 +839,7 @@ "git.commit.author.name": "John Doe", "git.commit.message": "gitlab-git-commit-message", "git.commit.sha": "gitlab-git-commit", - "git.repository_url": "sample" + "git.repository_url": "https://gitlab.com/repo/myrepo.git" } ] ] diff --git a/packages/dd-trace/test/plugins/util/ci-env/jenkins.json b/packages/dd-trace/test/plugins/util/ci-env/jenkins.json index b9ff0a3442d..97d5123dace 100644 --- a/packages/dd-trace/test/plugins/util/ci-env/jenkins.json +++ b/packages/dd-trace/test/plugins/util/ci-env/jenkins.json @@ -3,90 +3,90 @@ { "BUILD_NUMBER": "jenkins-pipeline-number", "BUILD_TAG": "jenkins-pipeline-id", - "BUILD_URL": "jenkins-pipeline-url", + "BUILD_URL": "https://jenkins.com/pipeline", "DD_CUSTOM_TRACE_ID": "jenkins-custom-trace-id", "GIT_BRANCH": "origin/master", "GIT_COMMIT": "jenkins-git-commit", - "GIT_URL_1": "sample", - "GIT_URL_2": "otherSample", + "GIT_URL_1": "https://jenkins.com/repo/sample", + "GIT_URL_2": "https://jenkins.com/repo/sample", "JENKINS_URL": "jenkins", "JOB_NAME": "jobName", - "JOB_URL": "jenkins-job-url" + "JOB_URL": "https://jenkins.com/job" }, { "_dd.ci.env_vars": "{\"DD_CUSTOM_TRACE_ID\":\"jenkins-custom-trace-id\"}", "ci.pipeline.id": "jenkins-pipeline-id", "ci.pipeline.name": "jobName", "ci.pipeline.number": "jenkins-pipeline-number", - "ci.pipeline.url": "jenkins-pipeline-url", + "ci.pipeline.url": "https://jenkins.com/pipeline", "ci.provider.name": "jenkins", "git.branch": "master", "git.commit.sha": "jenkins-git-commit", - "git.repository_url": "sample" + "git.repository_url": "https://jenkins.com/repo/sample" } ], [ { "BUILD_NUMBER": "jenkins-pipeline-number", "BUILD_TAG": "jenkins-pipeline-id", - "BUILD_URL": "jenkins-pipeline-url", + "BUILD_URL": "https://jenkins.com/pipeline", "DD_CUSTOM_TRACE_ID": "jenkins-custom-trace-id", "GIT_BRANCH": "origin/master", "GIT_COMMIT": "jenkins-git-commit", - "GIT_URL": "sample", + "GIT_URL": "https://jenkins.com/repo/sample", "JENKINS_URL": "jenkins", "JOB_NAME": "jobName", - "JOB_URL": "jenkins-job-url" + "JOB_URL": "https://jenkins.com/job" }, { "_dd.ci.env_vars": "{\"DD_CUSTOM_TRACE_ID\":\"jenkins-custom-trace-id\"}", "ci.pipeline.id": "jenkins-pipeline-id", "ci.pipeline.name": "jobName", "ci.pipeline.number": "jenkins-pipeline-number", - "ci.pipeline.url": "jenkins-pipeline-url", + "ci.pipeline.url": "https://jenkins.com/pipeline", "ci.provider.name": "jenkins", "git.branch": "master", "git.commit.sha": "jenkins-git-commit", - "git.repository_url": "sample" + "git.repository_url": "https://jenkins.com/repo/sample" } ], [ { "BUILD_NUMBER": "jenkins-pipeline-number", "BUILD_TAG": "jenkins-pipeline-id", - "BUILD_URL": "jenkins-pipeline-url", + "BUILD_URL": "https://jenkins.com/pipeline", "DD_CUSTOM_TRACE_ID": "jenkins-custom-trace-id", "GIT_BRANCH": "origin/master", "GIT_COMMIT": "jenkins-git-commit", - "GIT_URL": "sample", + "GIT_URL": "https://jenkins.com/repo/sample", "JENKINS_URL": "jenkins", "JOB_NAME": "jobName", - "JOB_URL": "jenkins-job-url" + "JOB_URL": "https://jenkins.com/job" }, { "_dd.ci.env_vars": "{\"DD_CUSTOM_TRACE_ID\":\"jenkins-custom-trace-id\"}", "ci.pipeline.id": "jenkins-pipeline-id", "ci.pipeline.name": "jobName", "ci.pipeline.number": "jenkins-pipeline-number", - "ci.pipeline.url": "jenkins-pipeline-url", + "ci.pipeline.url": "https://jenkins.com/pipeline", "ci.provider.name": "jenkins", "git.branch": "master", "git.commit.sha": "jenkins-git-commit", - "git.repository_url": "sample" + "git.repository_url": "https://jenkins.com/repo/sample" } ], [ { "BUILD_NUMBER": "jenkins-pipeline-number", "BUILD_TAG": "jenkins-pipeline-id", - "BUILD_URL": "jenkins-pipeline-url", + "BUILD_URL": "https://jenkins.com/pipeline", "DD_CUSTOM_TRACE_ID": "jenkins-custom-trace-id", "GIT_BRANCH": "origin/master", "GIT_COMMIT": "jenkins-git-commit", - "GIT_URL": "sample", + "GIT_URL": "https://jenkins.com/repo/sample", "JENKINS_URL": "jenkins", "JOB_NAME": "jobName", - "JOB_URL": "jenkins-job-url", + "JOB_URL": "https://jenkins.com/job", "WORKSPACE": "foo/bar" }, { @@ -94,26 +94,26 @@ "ci.pipeline.id": "jenkins-pipeline-id", "ci.pipeline.name": "jobName", "ci.pipeline.number": "jenkins-pipeline-number", - "ci.pipeline.url": "jenkins-pipeline-url", + "ci.pipeline.url": "https://jenkins.com/pipeline", "ci.provider.name": "jenkins", "ci.workspace_path": "foo/bar", "git.branch": "master", "git.commit.sha": "jenkins-git-commit", - "git.repository_url": "sample" + "git.repository_url": "https://jenkins.com/repo/sample" } ], [ { "BUILD_NUMBER": "jenkins-pipeline-number", "BUILD_TAG": "jenkins-pipeline-id", - "BUILD_URL": "jenkins-pipeline-url", + "BUILD_URL": "https://jenkins.com/pipeline", "DD_CUSTOM_TRACE_ID": "jenkins-custom-trace-id", "GIT_BRANCH": "origin/master", "GIT_COMMIT": "jenkins-git-commit", - "GIT_URL": "sample", + "GIT_URL": "https://jenkins.com/repo/sample", "JENKINS_URL": "jenkins", "JOB_NAME": "jobName", - "JOB_URL": "jenkins-job-url", + "JOB_URL": "https://jenkins.com/job", "WORKSPACE": "/foo/bar~" }, { @@ -121,26 +121,26 @@ "ci.pipeline.id": "jenkins-pipeline-id", "ci.pipeline.name": "jobName", "ci.pipeline.number": "jenkins-pipeline-number", - "ci.pipeline.url": "jenkins-pipeline-url", + "ci.pipeline.url": "https://jenkins.com/pipeline", "ci.provider.name": "jenkins", "ci.workspace_path": "/foo/bar~", "git.branch": "master", "git.commit.sha": "jenkins-git-commit", - "git.repository_url": "sample" + "git.repository_url": "https://jenkins.com/repo/sample" } ], [ { "BUILD_NUMBER": "jenkins-pipeline-number", "BUILD_TAG": "jenkins-pipeline-id", - "BUILD_URL": "jenkins-pipeline-url", + "BUILD_URL": "https://jenkins.com/pipeline", "DD_CUSTOM_TRACE_ID": "jenkins-custom-trace-id", "GIT_BRANCH": "origin/master", "GIT_COMMIT": "jenkins-git-commit", - "GIT_URL": "sample", + "GIT_URL": "https://jenkins.com/repo/sample", "JENKINS_URL": "jenkins", "JOB_NAME": "jobName", - "JOB_URL": "jenkins-job-url", + "JOB_URL": "https://jenkins.com/job", "WORKSPACE": "/foo/~/bar" }, { @@ -148,27 +148,27 @@ "ci.pipeline.id": "jenkins-pipeline-id", "ci.pipeline.name": "jobName", "ci.pipeline.number": "jenkins-pipeline-number", - "ci.pipeline.url": "jenkins-pipeline-url", + "ci.pipeline.url": "https://jenkins.com/pipeline", "ci.provider.name": "jenkins", "ci.workspace_path": "/foo/~/bar", "git.branch": "master", "git.commit.sha": "jenkins-git-commit", - "git.repository_url": "sample" + "git.repository_url": "https://jenkins.com/repo/sample" } ], [ { "BUILD_NUMBER": "jenkins-pipeline-number", "BUILD_TAG": "jenkins-pipeline-id", - "BUILD_URL": "jenkins-pipeline-url", + "BUILD_URL": "https://jenkins.com/pipeline", "DD_CUSTOM_TRACE_ID": "jenkins-custom-trace-id", "GIT_BRANCH": "origin/master", "GIT_COMMIT": "jenkins-git-commit", - "GIT_URL": "sample", + "GIT_URL": "https://jenkins.com/repo/sample", "HOME": "/not-my-home", "JENKINS_URL": "jenkins", "JOB_NAME": "jobName", - "JOB_URL": "jenkins-job-url", + "JOB_URL": "https://jenkins.com/job", "USERPROFILE": "/not-my-home", "WORKSPACE": "~/foo/bar" }, @@ -177,27 +177,27 @@ "ci.pipeline.id": "jenkins-pipeline-id", "ci.pipeline.name": "jobName", "ci.pipeline.number": "jenkins-pipeline-number", - "ci.pipeline.url": "jenkins-pipeline-url", + "ci.pipeline.url": "https://jenkins.com/pipeline", "ci.provider.name": "jenkins", "ci.workspace_path": "/not-my-home/foo/bar", "git.branch": "master", "git.commit.sha": "jenkins-git-commit", - "git.repository_url": "sample" + "git.repository_url": "https://jenkins.com/repo/sample" } ], [ { "BUILD_NUMBER": "jenkins-pipeline-number", "BUILD_TAG": "jenkins-pipeline-id", - "BUILD_URL": "jenkins-pipeline-url", + "BUILD_URL": "https://jenkins.com/pipeline", "DD_CUSTOM_TRACE_ID": "jenkins-custom-trace-id", "GIT_BRANCH": "origin/master", "GIT_COMMIT": "jenkins-git-commit", - "GIT_URL": "sample", + "GIT_URL": "https://jenkins.com/repo/sample", "HOME": "/not-my-home", "JENKINS_URL": "jenkins", "JOB_NAME": "jobName", - "JOB_URL": "jenkins-job-url", + "JOB_URL": "https://jenkins.com/job", "USERPROFILE": "/not-my-home", "WORKSPACE": "~foo/bar" }, @@ -206,27 +206,27 @@ "ci.pipeline.id": "jenkins-pipeline-id", "ci.pipeline.name": "jobName", "ci.pipeline.number": "jenkins-pipeline-number", - "ci.pipeline.url": "jenkins-pipeline-url", + "ci.pipeline.url": "https://jenkins.com/pipeline", "ci.provider.name": "jenkins", "ci.workspace_path": "~foo/bar", "git.branch": "master", "git.commit.sha": "jenkins-git-commit", - "git.repository_url": "sample" + "git.repository_url": "https://jenkins.com/repo/sample" } ], [ { "BUILD_NUMBER": "jenkins-pipeline-number", "BUILD_TAG": "jenkins-pipeline-id", - "BUILD_URL": "jenkins-pipeline-url", + "BUILD_URL": "https://jenkins.com/pipeline", "DD_CUSTOM_TRACE_ID": "jenkins-custom-trace-id", "GIT_BRANCH": "origin/master", "GIT_COMMIT": "jenkins-git-commit", - "GIT_URL": "sample", + "GIT_URL": "https://jenkins.com/repo/sample", "HOME": "/not-my-home", "JENKINS_URL": "jenkins", "JOB_NAME": "jobName", - "JOB_URL": "jenkins-job-url", + "JOB_URL": "https://jenkins.com/job", "USERPROFILE": "/not-my-home", "WORKSPACE": "~" }, @@ -235,26 +235,26 @@ "ci.pipeline.id": "jenkins-pipeline-id", "ci.pipeline.name": "jobName", "ci.pipeline.number": "jenkins-pipeline-number", - "ci.pipeline.url": "jenkins-pipeline-url", + "ci.pipeline.url": "https://jenkins.com/pipeline", "ci.provider.name": "jenkins", "ci.workspace_path": "/not-my-home", "git.branch": "master", "git.commit.sha": "jenkins-git-commit", - "git.repository_url": "sample" + "git.repository_url": "https://jenkins.com/repo/sample" } ], [ { "BUILD_NUMBER": "jenkins-pipeline-number", "BUILD_TAG": "jenkins-pipeline-id", - "BUILD_URL": "jenkins-pipeline-url", + "BUILD_URL": "https://jenkins.com/pipeline", "DD_CUSTOM_TRACE_ID": "jenkins-custom-trace-id", "GIT_BRANCH": "origin/master", "GIT_COMMIT": "jenkins-git-commit", - "GIT_URL": "sample", + "GIT_URL": "https://jenkins.com/repo/sample", "JENKINS_URL": "jenkins", "JOB_NAME": "jobName", - "JOB_URL": "jenkins-job-url", + "JOB_URL": "https://jenkins.com/job", "WORKSPACE": "/foo/bar" }, { @@ -262,26 +262,26 @@ "ci.pipeline.id": "jenkins-pipeline-id", "ci.pipeline.name": "jobName", "ci.pipeline.number": "jenkins-pipeline-number", - "ci.pipeline.url": "jenkins-pipeline-url", + "ci.pipeline.url": "https://jenkins.com/pipeline", "ci.provider.name": "jenkins", "ci.workspace_path": "/foo/bar", "git.branch": "master", "git.commit.sha": "jenkins-git-commit", - "git.repository_url": "sample" + "git.repository_url": "https://jenkins.com/repo/sample" } ], [ { "BUILD_NUMBER": "jenkins-pipeline-number", "BUILD_TAG": "jenkins-pipeline-id", - "BUILD_URL": "jenkins-pipeline-url", + "BUILD_URL": "https://jenkins.com/pipeline", "DD_CUSTOM_TRACE_ID": "jenkins-custom-trace-id", "GIT_BRANCH": "refs/heads/master", "GIT_COMMIT": "jenkins-git-commit", - "GIT_URL": "sample", + "GIT_URL": "https://jenkins.com/repo/sample", "JENKINS_URL": "jenkins", "JOB_NAME": "jobName/master", - "JOB_URL": "jenkins-job-url", + "JOB_URL": "https://jenkins.com/job", "WORKSPACE": "/foo/bar" }, { @@ -289,26 +289,26 @@ "ci.pipeline.id": "jenkins-pipeline-id", "ci.pipeline.name": "jobName", "ci.pipeline.number": "jenkins-pipeline-number", - "ci.pipeline.url": "jenkins-pipeline-url", + "ci.pipeline.url": "https://jenkins.com/pipeline", "ci.provider.name": "jenkins", "ci.workspace_path": "/foo/bar", "git.branch": "master", "git.commit.sha": "jenkins-git-commit", - "git.repository_url": "sample" + "git.repository_url": "https://jenkins.com/repo/sample" } ], [ { "BUILD_NUMBER": "jenkins-pipeline-number", "BUILD_TAG": "jenkins-pipeline-id", - "BUILD_URL": "jenkins-pipeline-url", + "BUILD_URL": "https://jenkins.com/pipeline", "DD_CUSTOM_TRACE_ID": "jenkins-custom-trace-id", "GIT_BRANCH": "refs/heads/master", "GIT_COMMIT": "jenkins-git-commit", - "GIT_URL": "sample", + "GIT_URL": "https://jenkins.com/repo/sample", "JENKINS_URL": "jenkins", "JOB_NAME": "jobName/another", - "JOB_URL": "jenkins-job-url", + "JOB_URL": "https://jenkins.com/job", "WORKSPACE": "/foo/bar" }, { @@ -316,26 +316,26 @@ "ci.pipeline.id": "jenkins-pipeline-id", "ci.pipeline.name": "jobName/another", "ci.pipeline.number": "jenkins-pipeline-number", - "ci.pipeline.url": "jenkins-pipeline-url", + "ci.pipeline.url": "https://jenkins.com/pipeline", "ci.provider.name": "jenkins", "ci.workspace_path": "/foo/bar", "git.branch": "master", "git.commit.sha": "jenkins-git-commit", - "git.repository_url": "sample" + "git.repository_url": "https://jenkins.com/repo/sample" } ], [ { "BUILD_NUMBER": "jenkins-pipeline-number", "BUILD_TAG": "jenkins-pipeline-id", - "BUILD_URL": "jenkins-pipeline-url", + "BUILD_URL": "https://jenkins.com/pipeline", "DD_CUSTOM_TRACE_ID": "jenkins-custom-trace-id", "GIT_BRANCH": "refs/heads/feature/one", "GIT_COMMIT": "jenkins-git-commit", - "GIT_URL": "sample", + "GIT_URL": "https://jenkins.com/repo/sample", "JENKINS_URL": "jenkins", "JOB_NAME": "jobName/feature/one", - "JOB_URL": "jenkins-job-url", + "JOB_URL": "https://jenkins.com/job", "WORKSPACE": "/foo/bar" }, { @@ -343,26 +343,26 @@ "ci.pipeline.id": "jenkins-pipeline-id", "ci.pipeline.name": "jobName", "ci.pipeline.number": "jenkins-pipeline-number", - "ci.pipeline.url": "jenkins-pipeline-url", + "ci.pipeline.url": "https://jenkins.com/pipeline", "ci.provider.name": "jenkins", "ci.workspace_path": "/foo/bar", "git.branch": "feature/one", "git.commit.sha": "jenkins-git-commit", - "git.repository_url": "sample" + "git.repository_url": "https://jenkins.com/repo/sample" } ], [ { "BUILD_NUMBER": "jenkins-pipeline-number", "BUILD_TAG": "jenkins-pipeline-id", - "BUILD_URL": "jenkins-pipeline-url", + "BUILD_URL": "https://jenkins.com/pipeline", "DD_CUSTOM_TRACE_ID": "jenkins-custom-trace-id", "GIT_BRANCH": "refs/heads/master", "GIT_COMMIT": "jenkins-git-commit", - "GIT_URL": "sample", + "GIT_URL": "https://jenkins.com/repo/sample", "JENKINS_URL": "jenkins", "JOB_NAME": "jobName/KEY1=VALUE1,KEY2=VALUE2", - "JOB_URL": "jenkins-job-url", + "JOB_URL": "https://jenkins.com/job", "WORKSPACE": "/foo/bar" }, { @@ -370,26 +370,26 @@ "ci.pipeline.id": "jenkins-pipeline-id", "ci.pipeline.name": "jobName", "ci.pipeline.number": "jenkins-pipeline-number", - "ci.pipeline.url": "jenkins-pipeline-url", + "ci.pipeline.url": "https://jenkins.com/pipeline", "ci.provider.name": "jenkins", "ci.workspace_path": "/foo/bar", "git.branch": "master", "git.commit.sha": "jenkins-git-commit", - "git.repository_url": "sample" + "git.repository_url": "https://jenkins.com/repo/sample" } ], [ { "BUILD_NUMBER": "jenkins-pipeline-number", "BUILD_TAG": "jenkins-pipeline-id", - "BUILD_URL": "jenkins-pipeline-url", + "BUILD_URL": "https://jenkins.com/pipeline", "DD_CUSTOM_TRACE_ID": "jenkins-custom-trace-id", "GIT_BRANCH": "refs/heads/master", "GIT_COMMIT": "jenkins-git-commit", - "GIT_URL": "sample", + "GIT_URL": "https://jenkins.com/repo/sample", "JENKINS_URL": "jenkins", "JOB_NAME": "jobName/KEY1=VALUE1,KEY2=VALUE2/master", - "JOB_URL": "jenkins-job-url", + "JOB_URL": "https://jenkins.com/job", "WORKSPACE": "/foo/bar" }, { @@ -397,36 +397,36 @@ "ci.pipeline.id": "jenkins-pipeline-id", "ci.pipeline.name": "jobName", "ci.pipeline.number": "jenkins-pipeline-number", - "ci.pipeline.url": "jenkins-pipeline-url", + "ci.pipeline.url": "https://jenkins.com/pipeline", "ci.provider.name": "jenkins", "ci.workspace_path": "/foo/bar", "git.branch": "master", "git.commit.sha": "jenkins-git-commit", - "git.repository_url": "sample" + "git.repository_url": "https://jenkins.com/repo/sample" } ], [ { "BUILD_NUMBER": "jenkins-pipeline-number", "BUILD_TAG": "jenkins-pipeline-id", - "BUILD_URL": "jenkins-pipeline-url", + "BUILD_URL": "https://jenkins.com/pipeline", "DD_CUSTOM_TRACE_ID": "jenkins-custom-trace-id", "GIT_BRANCH": "origin/tags/0.1.0", "GIT_COMMIT": "jenkins-git-commit", - "GIT_URL": "sample", + "GIT_URL": "https://jenkins.com/repo/sample", "JENKINS_URL": "jenkins", - "JOB_URL": "jenkins-job-url", + "JOB_URL": "https://jenkins.com/job", "WORKSPACE": "/foo/bar" }, { "_dd.ci.env_vars": "{\"DD_CUSTOM_TRACE_ID\":\"jenkins-custom-trace-id\"}", "ci.pipeline.id": "jenkins-pipeline-id", "ci.pipeline.number": "jenkins-pipeline-number", - "ci.pipeline.url": "jenkins-pipeline-url", + "ci.pipeline.url": "https://jenkins.com/pipeline", "ci.provider.name": "jenkins", "ci.workspace_path": "/foo/bar", "git.commit.sha": "jenkins-git-commit", - "git.repository_url": "sample", + "git.repository_url": "https://jenkins.com/repo/sample", "git.tag": "0.1.0" } ], @@ -434,24 +434,24 @@ { "BUILD_NUMBER": "jenkins-pipeline-number", "BUILD_TAG": "jenkins-pipeline-id", - "BUILD_URL": "jenkins-pipeline-url", + "BUILD_URL": "https://jenkins.com/pipeline", "DD_CUSTOM_TRACE_ID": "jenkins-custom-trace-id", "GIT_BRANCH": "refs/heads/tags/0.1.0", "GIT_COMMIT": "jenkins-git-commit", - "GIT_URL": "sample", + "GIT_URL": "https://jenkins.com/repo/sample", "JENKINS_URL": "jenkins", - "JOB_URL": "jenkins-job-url", + "JOB_URL": "https://jenkins.com/job", "WORKSPACE": "/foo/bar" }, { "_dd.ci.env_vars": "{\"DD_CUSTOM_TRACE_ID\":\"jenkins-custom-trace-id\"}", "ci.pipeline.id": "jenkins-pipeline-id", "ci.pipeline.number": "jenkins-pipeline-number", - "ci.pipeline.url": "jenkins-pipeline-url", + "ci.pipeline.url": "https://jenkins.com/pipeline", "ci.provider.name": "jenkins", "ci.workspace_path": "/foo/bar", "git.commit.sha": "jenkins-git-commit", - "git.repository_url": "sample", + "git.repository_url": "https://jenkins.com/repo/sample", "git.tag": "0.1.0" } ], @@ -459,14 +459,14 @@ { "BUILD_NUMBER": "jenkins-pipeline-number", "BUILD_TAG": "jenkins-pipeline-id", - "BUILD_URL": "jenkins-pipeline-url", + "BUILD_URL": "https://jenkins.com/pipeline", "DD_CUSTOM_TRACE_ID": "jenkins-custom-trace-id", "GIT_BRANCH": "origin/master", "GIT_COMMIT": "jenkins-git-commit", "GIT_URL": "http://hostname.com/repo.git", "JENKINS_URL": "jenkins", "JOB_NAME": "jobName", - "JOB_URL": "jenkins-job-url", + "JOB_URL": "https://jenkins.com/job", "WORKSPACE": "/foo/bar" }, { @@ -474,7 +474,7 @@ "ci.pipeline.id": "jenkins-pipeline-id", "ci.pipeline.name": "jobName", "ci.pipeline.number": "jenkins-pipeline-number", - "ci.pipeline.url": "jenkins-pipeline-url", + "ci.pipeline.url": "https://jenkins.com/pipeline", "ci.provider.name": "jenkins", "ci.workspace_path": "/foo/bar", "git.branch": "master", @@ -486,14 +486,14 @@ { "BUILD_NUMBER": "jenkins-pipeline-number", "BUILD_TAG": "jenkins-pipeline-id", - "BUILD_URL": "jenkins-pipeline-url", + "BUILD_URL": "https://jenkins.com/pipeline", "DD_CUSTOM_TRACE_ID": "jenkins-custom-trace-id", "GIT_BRANCH": "origin/master", "GIT_COMMIT": "jenkins-git-commit", "GIT_URL": "http://user@hostname.com/repo.git", "JENKINS_URL": "jenkins", "JOB_NAME": "jobName", - "JOB_URL": "jenkins-job-url", + "JOB_URL": "https://jenkins.com/job", "WORKSPACE": "/foo/bar" }, { @@ -501,7 +501,7 @@ "ci.pipeline.id": "jenkins-pipeline-id", "ci.pipeline.name": "jobName", "ci.pipeline.number": "jenkins-pipeline-number", - "ci.pipeline.url": "jenkins-pipeline-url", + "ci.pipeline.url": "https://jenkins.com/pipeline", "ci.provider.name": "jenkins", "ci.workspace_path": "/foo/bar", "git.branch": "master", @@ -513,14 +513,14 @@ { "BUILD_NUMBER": "jenkins-pipeline-number", "BUILD_TAG": "jenkins-pipeline-id", - "BUILD_URL": "jenkins-pipeline-url", + "BUILD_URL": "https://jenkins.com/pipeline", "DD_CUSTOM_TRACE_ID": "jenkins-custom-trace-id", "GIT_BRANCH": "origin/master", "GIT_COMMIT": "jenkins-git-commit", "GIT_URL": "http://user%E2%82%AC@hostname.com/repo.git", "JENKINS_URL": "jenkins", "JOB_NAME": "jobName", - "JOB_URL": "jenkins-job-url", + "JOB_URL": "https://jenkins.com/job", "WORKSPACE": "/foo/bar" }, { @@ -528,7 +528,7 @@ "ci.pipeline.id": "jenkins-pipeline-id", "ci.pipeline.name": "jobName", "ci.pipeline.number": "jenkins-pipeline-number", - "ci.pipeline.url": "jenkins-pipeline-url", + "ci.pipeline.url": "https://jenkins.com/pipeline", "ci.provider.name": "jenkins", "ci.workspace_path": "/foo/bar", "git.branch": "master", @@ -540,14 +540,14 @@ { "BUILD_NUMBER": "jenkins-pipeline-number", "BUILD_TAG": "jenkins-pipeline-id", - "BUILD_URL": "jenkins-pipeline-url", + "BUILD_URL": "https://jenkins.com/pipeline", "DD_CUSTOM_TRACE_ID": "jenkins-custom-trace-id", "GIT_BRANCH": "origin/master", "GIT_COMMIT": "jenkins-git-commit", "GIT_URL": "http://user:pwd@hostname.com/repo.git", "JENKINS_URL": "jenkins", "JOB_NAME": "jobName", - "JOB_URL": "jenkins-job-url", + "JOB_URL": "https://jenkins.com/job", "WORKSPACE": "/foo/bar" }, { @@ -555,7 +555,7 @@ "ci.pipeline.id": "jenkins-pipeline-id", "ci.pipeline.name": "jobName", "ci.pipeline.number": "jenkins-pipeline-number", - "ci.pipeline.url": "jenkins-pipeline-url", + "ci.pipeline.url": "https://jenkins.com/pipeline", "ci.provider.name": "jenkins", "ci.workspace_path": "/foo/bar", "git.branch": "master", @@ -567,14 +567,14 @@ { "BUILD_NUMBER": "jenkins-pipeline-number", "BUILD_TAG": "jenkins-pipeline-id", - "BUILD_URL": "jenkins-pipeline-url", + "BUILD_URL": "https://jenkins.com/pipeline", "DD_CUSTOM_TRACE_ID": "jenkins-custom-trace-id", "GIT_BRANCH": "origin/master", "GIT_COMMIT": "jenkins-git-commit", "GIT_URL": "git@hostname.com:org/repo.git", "JENKINS_URL": "jenkins", "JOB_NAME": "jobName", - "JOB_URL": "jenkins-job-url", + "JOB_URL": "https://jenkins.com/job", "WORKSPACE": "/foo/bar" }, { @@ -582,7 +582,7 @@ "ci.pipeline.id": "jenkins-pipeline-id", "ci.pipeline.name": "jobName", "ci.pipeline.number": "jenkins-pipeline-number", - "ci.pipeline.url": "jenkins-pipeline-url", + "ci.pipeline.url": "https://jenkins.com/pipeline", "ci.provider.name": "jenkins", "ci.workspace_path": "/foo/bar", "git.branch": "master", @@ -594,7 +594,7 @@ { "BUILD_NUMBER": "jenkins-pipeline-number", "BUILD_TAG": "jenkins-pipeline-id", - "BUILD_URL": "jenkins-pipeline-url", + "BUILD_URL": "https://jenkins.com/pipeline", "DD_CUSTOM_TRACE_ID": "jenkins-custom-trace-id", "DD_GIT_BRANCH": "user-supplied-branch", "DD_GIT_COMMIT_AUTHOR_DATE": "usersupplied-authordate", @@ -608,13 +608,13 @@ "DD_GIT_REPOSITORY_URL": "git@github.com:DataDog/userrepo.git", "GIT_COMMIT": "jenkins-git-commit", "JENKINS_URL": "jenkins", - "JOB_URL": "jenkins-job-url" + "JOB_URL": "https://jenkins.com/job" }, { "_dd.ci.env_vars": "{\"DD_CUSTOM_TRACE_ID\":\"jenkins-custom-trace-id\"}", "ci.pipeline.id": "jenkins-pipeline-id", "ci.pipeline.number": "jenkins-pipeline-number", - "ci.pipeline.url": "jenkins-pipeline-url", + "ci.pipeline.url": "https://jenkins.com/pipeline", "ci.provider.name": "jenkins", "git.branch": "user-supplied-branch", "git.commit.author.date": "usersupplied-authordate", @@ -632,7 +632,7 @@ { "BUILD_NUMBER": "jenkins-pipeline-number", "BUILD_TAG": "jenkins-pipeline-id", - "BUILD_URL": "jenkins-pipeline-url", + "BUILD_URL": "https://jenkins.com/pipeline", "DD_CUSTOM_TRACE_ID": "jenkins-custom-trace-id", "DD_GIT_COMMIT_AUTHOR_DATE": "usersupplied-authordate", "DD_GIT_COMMIT_AUTHOR_EMAIL": "usersupplied-authoremail", @@ -646,13 +646,13 @@ "DD_GIT_TAG": "0.0.2", "GIT_COMMIT": "jenkins-git-commit", "JENKINS_URL": "jenkins", - "JOB_URL": "jenkins-job-url" + "JOB_URL": "https://jenkins.com/job" }, { "_dd.ci.env_vars": "{\"DD_CUSTOM_TRACE_ID\":\"jenkins-custom-trace-id\"}", "ci.pipeline.id": "jenkins-pipeline-id", "ci.pipeline.number": "jenkins-pipeline-number", - "ci.pipeline.url": "jenkins-pipeline-url", + "ci.pipeline.url": "https://jenkins.com/pipeline", "ci.provider.name": "jenkins", "git.commit.author.date": "usersupplied-authordate", "git.commit.author.email": "usersupplied-authoremail", @@ -670,18 +670,18 @@ { "BUILD_NUMBER": "jenkins-pipeline-number", "BUILD_TAG": "jenkins-pipeline-id", - "BUILD_URL": "jenkins-pipeline-url", + "BUILD_URL": "https://jenkins.com/pipeline", "DD_CUSTOM_TRACE_ID": "jenkins-custom-trace-id", "GIT_COMMIT": "jenkins-git-commit", "GIT_URL_1": "https://user:password@github.com/DataDog/dogweb.git", "JENKINS_URL": "jenkins", - "JOB_URL": "jenkins-job-url" + "JOB_URL": "https://jenkins.com/job" }, { "_dd.ci.env_vars": "{\"DD_CUSTOM_TRACE_ID\":\"jenkins-custom-trace-id\"}", "ci.pipeline.id": "jenkins-pipeline-id", "ci.pipeline.number": "jenkins-pipeline-number", - "ci.pipeline.url": "jenkins-pipeline-url", + "ci.pipeline.url": "https://jenkins.com/pipeline", "ci.provider.name": "jenkins", "git.commit.sha": "jenkins-git-commit", "git.repository_url": "https://github.com/DataDog/dogweb.git" @@ -691,11 +691,11 @@ { "BUILD_NUMBER": "jenkins-pipeline-number", "BUILD_TAG": "jenkins-pipeline-id", - "BUILD_URL": "jenkins-pipeline-url", + "BUILD_URL": "https://jenkins.com/pipeline", "DD_CUSTOM_TRACE_ID": "jenkins-custom-trace-id", "GIT_COMMIT": "jenkins-git-commit", "JENKINS_URL": "jenkins", - "JOB_URL": "jenkins-job-url", + "JOB_URL": "https://jenkins.com/job", "NODE_LABELS": "built-in linux", "NODE_NAME": "my-node" }, @@ -705,7 +705,7 @@ "ci.node.name": "my-node", "ci.pipeline.id": "jenkins-pipeline-id", "ci.pipeline.number": "jenkins-pipeline-number", - "ci.pipeline.url": "jenkins-pipeline-url", + "ci.pipeline.url": "https://jenkins.com/pipeline", "ci.provider.name": "jenkins", "git.commit.sha": "jenkins-git-commit" } diff --git a/packages/dd-trace/test/plugins/util/ci-env/teamcity.json b/packages/dd-trace/test/plugins/util/ci-env/teamcity.json index 29191aa8e63..086c1c16de1 100644 --- a/packages/dd-trace/test/plugins/util/ci-env/teamcity.json +++ b/packages/dd-trace/test/plugins/util/ci-env/teamcity.json @@ -1,19 +1,19 @@ [ [ { - "BUILD_URL": "the-build-url", + "BUILD_URL": "https://teamcity.com/repo", "TEAMCITY_BUILDCONF_NAME": "Test 1", "TEAMCITY_VERSION": "2022.10 (build 116751)" }, { "ci.job.name": "Test 1", - "ci.job.url": "the-build-url", + "ci.job.url": "https://teamcity.com/repo", "ci.provider.name": "teamcity" } ], [ { - "BUILD_URL": "the-build-url", + "BUILD_URL": "https://teamcity.com/repo", "DD_GIT_BRANCH": "user-supplied-branch", "DD_GIT_COMMIT_AUTHOR_DATE": "usersupplied-authordate", "DD_GIT_COMMIT_AUTHOR_EMAIL": "usersupplied-authoremail", @@ -29,7 +29,7 @@ }, { "ci.job.name": "Test 1", - "ci.job.url": "the-build-url", + "ci.job.url": "https://teamcity.com/repo", "ci.provider.name": "teamcity", "git.branch": "user-supplied-branch", "git.commit.author.date": "usersupplied-authordate", @@ -45,7 +45,7 @@ ], [ { - "BUILD_URL": "the-build-url", + "BUILD_URL": "https://teamcity.com/repo", "DD_GIT_COMMIT_AUTHOR_DATE": "usersupplied-authordate", "DD_GIT_COMMIT_AUTHOR_EMAIL": "usersupplied-authoremail", "DD_GIT_COMMIT_AUTHOR_NAME": "usersupplied-authorname", @@ -61,7 +61,7 @@ }, { "ci.job.name": "Test 1", - "ci.job.url": "the-build-url", + "ci.job.url": "https://teamcity.com/repo", "ci.provider.name": "teamcity", "git.commit.author.date": "usersupplied-authordate", "git.commit.author.email": "usersupplied-authoremail", diff --git a/packages/dd-trace/test/plugins/util/ci-env/travisci.json b/packages/dd-trace/test/plugins/util/ci-env/travisci.json index a73309d2678..b29aef78eb4 100644 --- a/packages/dd-trace/test/plugins/util/ci-env/travisci.json +++ b/packages/dd-trace/test/plugins/util/ci-env/travisci.json @@ -6,19 +6,19 @@ "TRAVIS_BUILD_DIR": "/foo/bar", "TRAVIS_BUILD_ID": "travis-pipeline-id", "TRAVIS_BUILD_NUMBER": "travis-pipeline-number", - "TRAVIS_BUILD_WEB_URL": "travis-pipeline-url", + "TRAVIS_BUILD_WEB_URL": "https://travisci.com/pipeline", "TRAVIS_COMMIT": "travis-git-commit", "TRAVIS_COMMIT_MESSAGE": "travis-commit-message", - "TRAVIS_JOB_WEB_URL": "travis-job-url", + "TRAVIS_JOB_WEB_URL": "https://travisci.com/job", "TRAVIS_REPO_SLUG": "user/repo", "TRAVIS_TAG": "origin/tags/0.1.0" }, { - "ci.job.url": "travis-job-url", + "ci.job.url": "https://travisci.com/job", "ci.pipeline.id": "travis-pipeline-id", "ci.pipeline.name": "user/repo", "ci.pipeline.number": "travis-pipeline-number", - "ci.pipeline.url": "travis-pipeline-url", + "ci.pipeline.url": "https://travisci.com/pipeline", "ci.provider.name": "travisci", "ci.workspace_path": "/foo/bar", "git.commit.message": "travis-commit-message", @@ -34,19 +34,19 @@ "TRAVIS_BUILD_DIR": "/foo/bar", "TRAVIS_BUILD_ID": "travis-pipeline-id", "TRAVIS_BUILD_NUMBER": "travis-pipeline-number", - "TRAVIS_BUILD_WEB_URL": "travis-pipeline-url", + "TRAVIS_BUILD_WEB_URL": "https://travisci.com/pipeline", "TRAVIS_COMMIT": "travis-git-commit", "TRAVIS_COMMIT_MESSAGE": "travis-commit-message", - "TRAVIS_JOB_WEB_URL": "travis-job-url", + "TRAVIS_JOB_WEB_URL": "https://travisci.com/job", "TRAVIS_REPO_SLUG": "user/repo", "TRAVIS_TAG": "refs/heads/tags/0.1.0" }, { - "ci.job.url": "travis-job-url", + "ci.job.url": "https://travisci.com/job", "ci.pipeline.id": "travis-pipeline-id", "ci.pipeline.name": "user/repo", "ci.pipeline.number": "travis-pipeline-number", - "ci.pipeline.url": "travis-pipeline-url", + "ci.pipeline.url": "https://travisci.com/pipeline", "ci.provider.name": "travisci", "ci.workspace_path": "/foo/bar", "git.commit.message": "travis-commit-message", @@ -61,18 +61,18 @@ "TRAVIS_BRANCH": "origin/master", "TRAVIS_BUILD_ID": "travis-pipeline-id", "TRAVIS_BUILD_NUMBER": "travis-pipeline-number", - "TRAVIS_BUILD_WEB_URL": "travis-pipeline-url", + "TRAVIS_BUILD_WEB_URL": "https://travisci.com/pipeline", "TRAVIS_COMMIT": "travis-git-commit", "TRAVIS_COMMIT_MESSAGE": "travis-commit-message", - "TRAVIS_JOB_WEB_URL": "travis-job-url", + "TRAVIS_JOB_WEB_URL": "https://travisci.com/job", "TRAVIS_REPO_SLUG": "user/repo" }, { - "ci.job.url": "travis-job-url", + "ci.job.url": "https://travisci.com/job", "ci.pipeline.id": "travis-pipeline-id", "ci.pipeline.name": "user/repo", "ci.pipeline.number": "travis-pipeline-number", - "ci.pipeline.url": "travis-pipeline-url", + "ci.pipeline.url": "https://travisci.com/pipeline", "ci.provider.name": "travisci", "git.branch": "master", "git.commit.message": "travis-commit-message", @@ -87,18 +87,18 @@ "TRAVIS_BUILD_DIR": "foo/bar", "TRAVIS_BUILD_ID": "travis-pipeline-id", "TRAVIS_BUILD_NUMBER": "travis-pipeline-number", - "TRAVIS_BUILD_WEB_URL": "travis-pipeline-url", + "TRAVIS_BUILD_WEB_URL": "https://travisci.com/pipeline", "TRAVIS_COMMIT": "travis-git-commit", "TRAVIS_COMMIT_MESSAGE": "travis-commit-message", - "TRAVIS_JOB_WEB_URL": "travis-job-url", + "TRAVIS_JOB_WEB_URL": "https://travisci.com/job", "TRAVIS_REPO_SLUG": "user/repo" }, { - "ci.job.url": "travis-job-url", + "ci.job.url": "https://travisci.com/job", "ci.pipeline.id": "travis-pipeline-id", "ci.pipeline.name": "user/repo", "ci.pipeline.number": "travis-pipeline-number", - "ci.pipeline.url": "travis-pipeline-url", + "ci.pipeline.url": "https://travisci.com/pipeline", "ci.provider.name": "travisci", "ci.workspace_path": "foo/bar", "git.branch": "master", @@ -114,18 +114,18 @@ "TRAVIS_BUILD_DIR": "/foo/bar~", "TRAVIS_BUILD_ID": "travis-pipeline-id", "TRAVIS_BUILD_NUMBER": "travis-pipeline-number", - "TRAVIS_BUILD_WEB_URL": "travis-pipeline-url", + "TRAVIS_BUILD_WEB_URL": "https://travisci.com/pipeline", "TRAVIS_COMMIT": "travis-git-commit", "TRAVIS_COMMIT_MESSAGE": "travis-commit-message", - "TRAVIS_JOB_WEB_URL": "travis-job-url", + "TRAVIS_JOB_WEB_URL": "https://travisci.com/job", "TRAVIS_REPO_SLUG": "user/repo" }, { - "ci.job.url": "travis-job-url", + "ci.job.url": "https://travisci.com/job", "ci.pipeline.id": "travis-pipeline-id", "ci.pipeline.name": "user/repo", "ci.pipeline.number": "travis-pipeline-number", - "ci.pipeline.url": "travis-pipeline-url", + "ci.pipeline.url": "https://travisci.com/pipeline", "ci.provider.name": "travisci", "ci.workspace_path": "/foo/bar~", "git.branch": "master", @@ -141,18 +141,18 @@ "TRAVIS_BUILD_DIR": "/foo/~/bar", "TRAVIS_BUILD_ID": "travis-pipeline-id", "TRAVIS_BUILD_NUMBER": "travis-pipeline-number", - "TRAVIS_BUILD_WEB_URL": "travis-pipeline-url", + "TRAVIS_BUILD_WEB_URL": "https://travisci.com/pipeline", "TRAVIS_COMMIT": "travis-git-commit", "TRAVIS_COMMIT_MESSAGE": "travis-commit-message", - "TRAVIS_JOB_WEB_URL": "travis-job-url", + "TRAVIS_JOB_WEB_URL": "https://travisci.com/job", "TRAVIS_REPO_SLUG": "user/repo" }, { - "ci.job.url": "travis-job-url", + "ci.job.url": "https://travisci.com/job", "ci.pipeline.id": "travis-pipeline-id", "ci.pipeline.name": "user/repo", "ci.pipeline.number": "travis-pipeline-number", - "ci.pipeline.url": "travis-pipeline-url", + "ci.pipeline.url": "https://travisci.com/pipeline", "ci.provider.name": "travisci", "ci.workspace_path": "/foo/~/bar", "git.branch": "master", @@ -169,19 +169,19 @@ "TRAVIS_BUILD_DIR": "~/foo/bar", "TRAVIS_BUILD_ID": "travis-pipeline-id", "TRAVIS_BUILD_NUMBER": "travis-pipeline-number", - "TRAVIS_BUILD_WEB_URL": "travis-pipeline-url", + "TRAVIS_BUILD_WEB_URL": "https://travisci.com/pipeline", "TRAVIS_COMMIT": "travis-git-commit", "TRAVIS_COMMIT_MESSAGE": "travis-commit-message", - "TRAVIS_JOB_WEB_URL": "travis-job-url", + "TRAVIS_JOB_WEB_URL": "https://travisci.com/job", "TRAVIS_REPO_SLUG": "user/repo", "USERPROFILE": "/not-my-home" }, { - "ci.job.url": "travis-job-url", + "ci.job.url": "https://travisci.com/job", "ci.pipeline.id": "travis-pipeline-id", "ci.pipeline.name": "user/repo", "ci.pipeline.number": "travis-pipeline-number", - "ci.pipeline.url": "travis-pipeline-url", + "ci.pipeline.url": "https://travisci.com/pipeline", "ci.provider.name": "travisci", "ci.workspace_path": "/not-my-home/foo/bar", "git.branch": "master", @@ -197,18 +197,18 @@ "TRAVIS_BUILD_DIR": "~foo/bar", "TRAVIS_BUILD_ID": "travis-pipeline-id", "TRAVIS_BUILD_NUMBER": "travis-pipeline-number", - "TRAVIS_BUILD_WEB_URL": "travis-pipeline-url", + "TRAVIS_BUILD_WEB_URL": "https://travisci.com/pipeline", "TRAVIS_COMMIT": "travis-git-commit", "TRAVIS_COMMIT_MESSAGE": "travis-commit-message", - "TRAVIS_JOB_WEB_URL": "travis-job-url", + "TRAVIS_JOB_WEB_URL": "https://travisci.com/job", "TRAVIS_REPO_SLUG": "user/repo" }, { - "ci.job.url": "travis-job-url", + "ci.job.url": "https://travisci.com/job", "ci.pipeline.id": "travis-pipeline-id", "ci.pipeline.name": "user/repo", "ci.pipeline.number": "travis-pipeline-number", - "ci.pipeline.url": "travis-pipeline-url", + "ci.pipeline.url": "https://travisci.com/pipeline", "ci.provider.name": "travisci", "ci.workspace_path": "~foo/bar", "git.branch": "master", @@ -225,19 +225,19 @@ "TRAVIS_BUILD_DIR": "~", "TRAVIS_BUILD_ID": "travis-pipeline-id", "TRAVIS_BUILD_NUMBER": "travis-pipeline-number", - "TRAVIS_BUILD_WEB_URL": "travis-pipeline-url", + "TRAVIS_BUILD_WEB_URL": "https://travisci.com/pipeline", "TRAVIS_COMMIT": "travis-git-commit", "TRAVIS_COMMIT_MESSAGE": "travis-commit-message", - "TRAVIS_JOB_WEB_URL": "travis-job-url", + "TRAVIS_JOB_WEB_URL": "https://travisci.com/job", "TRAVIS_REPO_SLUG": "user/repo", "USERPROFILE": "/not-my-home" }, { - "ci.job.url": "travis-job-url", + "ci.job.url": "https://travisci.com/job", "ci.pipeline.id": "travis-pipeline-id", "ci.pipeline.name": "user/repo", "ci.pipeline.number": "travis-pipeline-number", - "ci.pipeline.url": "travis-pipeline-url", + "ci.pipeline.url": "https://travisci.com/pipeline", "ci.provider.name": "travisci", "ci.workspace_path": "/not-my-home", "git.branch": "master", @@ -253,18 +253,18 @@ "TRAVIS_BUILD_DIR": "/foo/bar", "TRAVIS_BUILD_ID": "travis-pipeline-id", "TRAVIS_BUILD_NUMBER": "travis-pipeline-number", - "TRAVIS_BUILD_WEB_URL": "travis-pipeline-url", + "TRAVIS_BUILD_WEB_URL": "https://travisci.com/pipeline", "TRAVIS_COMMIT": "travis-git-commit", "TRAVIS_COMMIT_MESSAGE": "travis-commit-message", - "TRAVIS_JOB_WEB_URL": "travis-job-url", + "TRAVIS_JOB_WEB_URL": "https://travisci.com/job", "TRAVIS_REPO_SLUG": "user/repo" }, { - "ci.job.url": "travis-job-url", + "ci.job.url": "https://travisci.com/job", "ci.pipeline.id": "travis-pipeline-id", "ci.pipeline.name": "user/repo", "ci.pipeline.number": "travis-pipeline-number", - "ci.pipeline.url": "travis-pipeline-url", + "ci.pipeline.url": "https://travisci.com/pipeline", "ci.provider.name": "travisci", "ci.workspace_path": "/foo/bar", "git.branch": "master", @@ -280,18 +280,18 @@ "TRAVIS_BUILD_DIR": "/foo/bar", "TRAVIS_BUILD_ID": "travis-pipeline-id", "TRAVIS_BUILD_NUMBER": "travis-pipeline-number", - "TRAVIS_BUILD_WEB_URL": "travis-pipeline-url", + "TRAVIS_BUILD_WEB_URL": "https://travisci.com/pipeline", "TRAVIS_COMMIT": "travis-git-commit", "TRAVIS_COMMIT_MESSAGE": "travis-commit-message", - "TRAVIS_JOB_WEB_URL": "travis-job-url", + "TRAVIS_JOB_WEB_URL": "https://travisci.com/job", "TRAVIS_REPO_SLUG": "user/repo" }, { - "ci.job.url": "travis-job-url", + "ci.job.url": "https://travisci.com/job", "ci.pipeline.id": "travis-pipeline-id", "ci.pipeline.name": "user/repo", "ci.pipeline.number": "travis-pipeline-number", - "ci.pipeline.url": "travis-pipeline-url", + "ci.pipeline.url": "https://travisci.com/pipeline", "ci.provider.name": "travisci", "ci.workspace_path": "/foo/bar", "git.branch": "master", @@ -307,18 +307,18 @@ "TRAVIS_BUILD_DIR": "/foo/bar", "TRAVIS_BUILD_ID": "travis-pipeline-id", "TRAVIS_BUILD_NUMBER": "travis-pipeline-number", - "TRAVIS_BUILD_WEB_URL": "travis-pipeline-url", + "TRAVIS_BUILD_WEB_URL": "https://travisci.com/pipeline", "TRAVIS_COMMIT": "travis-git-commit", "TRAVIS_COMMIT_MESSAGE": "travis-commit-message", - "TRAVIS_JOB_WEB_URL": "travis-job-url", + "TRAVIS_JOB_WEB_URL": "https://travisci.com/job", "TRAVIS_REPO_SLUG": "user/repo" }, { - "ci.job.url": "travis-job-url", + "ci.job.url": "https://travisci.com/job", "ci.pipeline.id": "travis-pipeline-id", "ci.pipeline.name": "user/repo", "ci.pipeline.number": "travis-pipeline-number", - "ci.pipeline.url": "travis-pipeline-url", + "ci.pipeline.url": "https://travisci.com/pipeline", "ci.provider.name": "travisci", "ci.workspace_path": "/foo/bar", "git.branch": "feature/one", @@ -334,20 +334,20 @@ "TRAVIS_BUILD_DIR": "/foo/bar", "TRAVIS_BUILD_ID": "travis-pipeline-id", "TRAVIS_BUILD_NUMBER": "travis-pipeline-number", - "TRAVIS_BUILD_WEB_URL": "travis-pipeline-url", + "TRAVIS_BUILD_WEB_URL": "https://travisci.com/pipeline", "TRAVIS_COMMIT": "travis-git-commit", "TRAVIS_COMMIT_MESSAGE": "travis-commit-message", - "TRAVIS_JOB_WEB_URL": "travis-job-url", + "TRAVIS_JOB_WEB_URL": "https://travisci.com/job", "TRAVIS_PULL_REQUEST_BRANCH": "origin/master", "TRAVIS_PULL_REQUEST_SLUG": "user/repo", "TRAVIS_REPO_SLUG": "user/repo" }, { - "ci.job.url": "travis-job-url", + "ci.job.url": "https://travisci.com/job", "ci.pipeline.id": "travis-pipeline-id", "ci.pipeline.name": "user/repo", "ci.pipeline.number": "travis-pipeline-number", - "ci.pipeline.url": "travis-pipeline-url", + "ci.pipeline.url": "https://travisci.com/pipeline", "ci.provider.name": "travisci", "ci.workspace_path": "/foo/bar", "git.branch": "master", @@ -363,20 +363,20 @@ "TRAVIS_BUILD_DIR": "/foo/bar", "TRAVIS_BUILD_ID": "travis-pipeline-id", "TRAVIS_BUILD_NUMBER": "travis-pipeline-number", - "TRAVIS_BUILD_WEB_URL": "travis-pipeline-url", + "TRAVIS_BUILD_WEB_URL": "https://travisci.com/pipeline", "TRAVIS_COMMIT": "travis-git-commit", "TRAVIS_COMMIT_MESSAGE": "travis-commit-message", - "TRAVIS_JOB_WEB_URL": "travis-job-url", + "TRAVIS_JOB_WEB_URL": "https://travisci.com/job", "TRAVIS_PULL_REQUEST_BRANCH": "refs/heads/master", "TRAVIS_PULL_REQUEST_SLUG": "user/repo", "TRAVIS_REPO_SLUG": "user/repo" }, { - "ci.job.url": "travis-job-url", + "ci.job.url": "https://travisci.com/job", "ci.pipeline.id": "travis-pipeline-id", "ci.pipeline.name": "user/repo", "ci.pipeline.number": "travis-pipeline-number", - "ci.pipeline.url": "travis-pipeline-url", + "ci.pipeline.url": "https://travisci.com/pipeline", "ci.provider.name": "travisci", "ci.workspace_path": "/foo/bar", "git.branch": "master", @@ -392,20 +392,20 @@ "TRAVIS_BUILD_DIR": "/foo/bar", "TRAVIS_BUILD_ID": "travis-pipeline-id", "TRAVIS_BUILD_NUMBER": "travis-pipeline-number", - "TRAVIS_BUILD_WEB_URL": "travis-pipeline-url", + "TRAVIS_BUILD_WEB_URL": "https://travisci.com/pipeline", "TRAVIS_COMMIT": "travis-git-commit", "TRAVIS_COMMIT_MESSAGE": "travis-commit-message", - "TRAVIS_JOB_WEB_URL": "travis-job-url", + "TRAVIS_JOB_WEB_URL": "https://travisci.com/job", "TRAVIS_PULL_REQUEST_BRANCH": "refs/heads/feature/one", "TRAVIS_PULL_REQUEST_SLUG": "user/repo", "TRAVIS_REPO_SLUG": "user/repo" }, { - "ci.job.url": "travis-job-url", + "ci.job.url": "https://travisci.com/job", "ci.pipeline.id": "travis-pipeline-id", "ci.pipeline.name": "user/repo", "ci.pipeline.number": "travis-pipeline-number", - "ci.pipeline.url": "travis-pipeline-url", + "ci.pipeline.url": "https://travisci.com/pipeline", "ci.provider.name": "travisci", "ci.workspace_path": "/foo/bar", "git.branch": "feature/one", @@ -429,18 +429,18 @@ "TRAVIS": "travisCI", "TRAVIS_BUILD_ID": "travis-pipeline-id", "TRAVIS_BUILD_NUMBER": "travis-pipeline-number", - "TRAVIS_BUILD_WEB_URL": "travis-pipeline-url", + "TRAVIS_BUILD_WEB_URL": "https://travisci.com/pipeline", "TRAVIS_COMMIT": "travis-git-commit", "TRAVIS_COMMIT_MESSAGE": "travis-commit-message", - "TRAVIS_JOB_WEB_URL": "travis-job-url", + "TRAVIS_JOB_WEB_URL": "https://travisci.com/job", "TRAVIS_REPO_SLUG": "user/repo" }, { - "ci.job.url": "travis-job-url", + "ci.job.url": "https://travisci.com/job", "ci.pipeline.id": "travis-pipeline-id", "ci.pipeline.name": "user/repo", "ci.pipeline.number": "travis-pipeline-number", - "ci.pipeline.url": "travis-pipeline-url", + "ci.pipeline.url": "https://travisci.com/pipeline", "ci.provider.name": "travisci", "git.branch": "user-supplied-branch", "git.commit.author.date": "usersupplied-authordate", @@ -469,18 +469,18 @@ "TRAVIS": "travisCI", "TRAVIS_BUILD_ID": "travis-pipeline-id", "TRAVIS_BUILD_NUMBER": "travis-pipeline-number", - "TRAVIS_BUILD_WEB_URL": "travis-pipeline-url", + "TRAVIS_BUILD_WEB_URL": "https://travisci.com/pipeline", "TRAVIS_COMMIT": "travis-git-commit", "TRAVIS_COMMIT_MESSAGE": "travis-commit-message", - "TRAVIS_JOB_WEB_URL": "travis-job-url", + "TRAVIS_JOB_WEB_URL": "https://travisci.com/job", "TRAVIS_REPO_SLUG": "user/repo" }, { - "ci.job.url": "travis-job-url", + "ci.job.url": "https://travisci.com/job", "ci.pipeline.id": "travis-pipeline-id", "ci.pipeline.name": "user/repo", "ci.pipeline.number": "travis-pipeline-number", - "ci.pipeline.url": "travis-pipeline-url", + "ci.pipeline.url": "https://travisci.com/pipeline", "ci.provider.name": "travisci", "git.commit.author.date": "usersupplied-authordate", "git.commit.author.email": "usersupplied-authoremail", @@ -501,19 +501,19 @@ "TRAVIS_BUILD_DIR": "/foo/bar", "TRAVIS_BUILD_ID": "travis-pipeline-id", "TRAVIS_BUILD_NUMBER": "travis-pipeline-number", - "TRAVIS_BUILD_WEB_URL": "travis-pipeline-url", + "TRAVIS_BUILD_WEB_URL": "https://travisci.com/pipeline", "TRAVIS_COMMIT": "travis-git-commit", "TRAVIS_COMMIT_MESSAGE": "travis-commit-message", - "TRAVIS_JOB_WEB_URL": "travis-job-url", + "TRAVIS_JOB_WEB_URL": "https://travisci.com/job", "TRAVIS_REPO_SLUG": "user/repo", "TRAVIS_TAG": "origin/tags/0.1.0" }, { - "ci.job.url": "travis-job-url", + "ci.job.url": "https://travisci.com/job", "ci.pipeline.id": "travis-pipeline-id", "ci.pipeline.name": "user/repo", "ci.pipeline.number": "travis-pipeline-number", - "ci.pipeline.url": "travis-pipeline-url", + "ci.pipeline.url": "https://travisci.com/pipeline", "ci.provider.name": "travisci", "ci.workspace_path": "/foo/bar", "git.commit.message": "travis-commit-message", From b87cc2eb0fee6a3eda72b43191261b5d573003bc Mon Sep 17 00:00:00 2001 From: "eric.navarro" Date: Thu, 29 Jun 2023 12:42:55 +0200 Subject: [PATCH 03/16] fix variables to follow camelcase --- packages/dd-trace/src/plugins/util/test.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/packages/dd-trace/src/plugins/util/test.js b/packages/dd-trace/src/plugins/util/test.js index 25426ec5ed3..d757db30ecf 100644 --- a/packages/dd-trace/src/plugins/util/test.js +++ b/packages/dd-trace/src/plugins/util/test.js @@ -140,8 +140,8 @@ function validateUrl (url) { return hostname.includes('.') } try { - const url_object = new URL(url) - return (url_object.protocol === 'https:' || url_object.protocol === 'http:') + const urlObject = new URL(url) + return (urlObject.protocol === 'https:' || urlObject.protocol === 'http:') } catch (e) { return false } From db34e538eadd0fe8d88f742562e7b14f0cb0562f Mon Sep 17 00:00:00 2001 From: Eric Navarro <137877238+ericlaz@users.noreply.github.com> Date: Fri, 30 Jun 2023 11:04:35 +0200 Subject: [PATCH 04/16] Remove valid import MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Co-authored-by: Juan Antonio Fernández de Alba --- packages/dd-trace/src/plugins/util/test.js | 1 - 1 file changed, 1 deletion(-) diff --git a/packages/dd-trace/src/plugins/util/test.js b/packages/dd-trace/src/plugins/util/test.js index d757db30ecf..04716b80318 100644 --- a/packages/dd-trace/src/plugins/util/test.js +++ b/packages/dd-trace/src/plugins/util/test.js @@ -24,7 +24,6 @@ const { SPAN_TYPE, RESOURCE_NAME, SAMPLING_PRIORITY } = require('../../../../../ const { SAMPLING_RULE_DECISION } = require('../../constants') const { AUTO_KEEP } = require('../../../../../ext/priority') const { version: ddTraceVersion } = require('../../../../../package.json') -const { valid } = require('semver') const { URL } = require('url') const TEST_FRAMEWORK = 'test.framework' From 5215be75187cbb153fee93dc1b04cd201ab83af4 Mon Sep 17 00:00:00 2001 From: Eric Navarro <137877238+ericlaz@users.noreply.github.com> Date: Fri, 30 Jun 2023 17:05:45 +0200 Subject: [PATCH 05/16] Remove unnecessary check MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Co-authored-by: Juan Antonio Fernández de Alba --- packages/dd-trace/src/plugins/util/test.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/dd-trace/src/plugins/util/test.js b/packages/dd-trace/src/plugins/util/test.js index 04716b80318..7de2ae0e841 100644 --- a/packages/dd-trace/src/plugins/util/test.js +++ b/packages/dd-trace/src/plugins/util/test.js @@ -118,7 +118,7 @@ function getPkgManager () { } function validateMetadata (metadata) { - if (GIT_REPOSITORY_URL in metadata && metadata[GIT_REPOSITORY_URL]) { + if (metadata[GIT_REPOSITORY_URL]) { const validUrl = validateUrl(metadata[GIT_REPOSITORY_URL]) if (!validUrl) { delete metadata[GIT_REPOSITORY_URL] From 8e7d110ddb773d0b294521968dd863138a2a1465 Mon Sep 17 00:00:00 2001 From: Eric Navarro <137877238+ericlaz@users.noreply.github.com> Date: Fri, 30 Jun 2023 17:06:02 +0200 Subject: [PATCH 06/16] Remove unnecessary check for CI_PIPELINE_URL MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Co-authored-by: Juan Antonio Fernández de Alba --- packages/dd-trace/src/plugins/util/test.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/dd-trace/src/plugins/util/test.js b/packages/dd-trace/src/plugins/util/test.js index 7de2ae0e841..4657b3451bb 100644 --- a/packages/dd-trace/src/plugins/util/test.js +++ b/packages/dd-trace/src/plugins/util/test.js @@ -124,7 +124,7 @@ function validateMetadata (metadata) { delete metadata[GIT_REPOSITORY_URL] } } - if (CI_PIPELINE_URL in metadata && metadata[CI_PIPELINE_URL]) { + if (metadata[CI_PIPELINE_URL]) { const validUrl = validateUrl(metadata[CI_PIPELINE_URL]) if (!validUrl) { delete metadata[CI_PIPELINE_URL] From 2575f68ccc136618a7da210c848eae2cc319dfb5 Mon Sep 17 00:00:00 2001 From: Eric Navarro <137877238+ericlaz@users.noreply.github.com> Date: Fri, 30 Jun 2023 17:07:03 +0200 Subject: [PATCH 07/16] Format typo MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Co-authored-by: Juan Antonio Fernández de Alba --- packages/dd-trace/src/plugins/util/test.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/packages/dd-trace/src/plugins/util/test.js b/packages/dd-trace/src/plugins/util/test.js index 4657b3451bb..2e67223330e 100644 --- a/packages/dd-trace/src/plugins/util/test.js +++ b/packages/dd-trace/src/plugins/util/test.js @@ -16,7 +16,8 @@ const { GIT_COMMIT_AUTHOR_EMAIL, GIT_COMMIT_AUTHOR_NAME, GIT_COMMIT_MESSAGE, - CI_WORKSPACE_PATH, CI_PIPELINE_URL + CI_WORKSPACE_PATH, + CI_PIPELINE_URL } = require('./tags') const id = require('../../id') From 7337606ebafbfe5a755ed991746119b580eefe07 Mon Sep 17 00:00:00 2001 From: Eric Navarro <137877238+ericlaz@users.noreply.github.com> Date: Fri, 30 Jun 2023 17:08:19 +0200 Subject: [PATCH 08/16] Use validateMetadata return directly MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Co-authored-by: Juan Antonio Fernández de Alba --- packages/dd-trace/src/plugins/util/test.js | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/packages/dd-trace/src/plugins/util/test.js b/packages/dd-trace/src/plugins/util/test.js index 2e67223330e..13b7d077e69 100644 --- a/packages/dd-trace/src/plugins/util/test.js +++ b/packages/dd-trace/src/plugins/util/test.js @@ -176,14 +176,13 @@ function getTestEnvironmentMetadata (testFramework, config) { const runtimeAndOSMetadata = getRuntimeAndOSMetadata() - let metadata = { + const metadata = validateMetadata({ [TEST_FRAMEWORK]: testFramework, ...gitMetadata, ...ciMetadata, ...userProvidedGitMetadata, ...runtimeAndOSMetadata - } - metadata = validateMetadata(metadata) + }) if (config && config.service) { metadata['service.name'] = config.service } From af1674207951b5ba2ddf98d7b9645bf86e2299e1 Mon Sep 17 00:00:00 2001 From: "eric.navarro" Date: Mon, 3 Jul 2023 12:57:50 +0200 Subject: [PATCH 09/16] use new ci-spec JSONs --- .../test/plugins/util/ci-env/bitbucket.json | 23 ++++++++++++++++++ .../test/plugins/util/ci-env/bitrise.json | 24 +++++++++++++++++++ .../test/plugins/util/ci-env/jenkins.json | 2 +- 3 files changed, 48 insertions(+), 1 deletion(-) diff --git a/packages/dd-trace/test/plugins/util/ci-env/bitbucket.json b/packages/dd-trace/test/plugins/util/ci-env/bitbucket.json index 721e798cc67..3a924128c16 100644 --- a/packages/dd-trace/test/plugins/util/ci-env/bitbucket.json +++ b/packages/dd-trace/test/plugins/util/ci-env/bitbucket.json @@ -45,6 +45,29 @@ "git.repository_url": "https://bitbucket-repo-url.com/" } ], + [ + { + "BITBUCKET_BRANCH": "master", + "BITBUCKET_BUILD_NUMBER": "bitbucket-build-num", + "BITBUCKET_CLONE_DIR": "foo/bar", + "BITBUCKET_COMMIT": "bitbucket-commit", + "BITBUCKET_GIT_SSH_ORIGIN": "git@github.com:DataDog/dummy-example.git", + "BITBUCKET_PIPELINE_UUID": "{bitbucket-uuid}", + "BITBUCKET_REPO_FULL_NAME": "bitbucket-repo" + }, + { + "ci.job.url": "https://bitbucket.org/bitbucket-repo/addon/pipelines/home#!/results/bitbucket-build-num", + "ci.pipeline.id": "bitbucket-uuid", + "ci.pipeline.name": "bitbucket-repo", + "ci.pipeline.number": "bitbucket-build-num", + "ci.pipeline.url": "https://bitbucket.org/bitbucket-repo/addon/pipelines/home#!/results/bitbucket-build-num", + "ci.provider.name": "bitbucket", + "ci.workspace_path": "foo/bar", + "git.branch": "master", + "git.commit.sha": "bitbucket-commit", + "git.repository_url": "git@github.com:DataDog/dummy-example.git" + } + ], [ { "BITBUCKET_BRANCH": "master", diff --git a/packages/dd-trace/test/plugins/util/ci-env/bitrise.json b/packages/dd-trace/test/plugins/util/ci-env/bitrise.json index 63d33ad310d..2a279375c92 100644 --- a/packages/dd-trace/test/plugins/util/ci-env/bitrise.json +++ b/packages/dd-trace/test/plugins/util/ci-env/bitrise.json @@ -23,6 +23,30 @@ "git.repository_url": "https://bitrise-build-url.com/" } ], + [ + { + "BITRISE_BUILD_NUMBER": "bitrise-pipeline-number", + "BITRISE_BUILD_SLUG": "bitrise-pipeline-id", + "BITRISE_BUILD_URL": "https://bitrise-build-url.com//", + "BITRISE_GIT_COMMIT": "gitcommit", + "BITRISE_GIT_MESSAGE": "bitrise-git-commit-message", + "BITRISE_SOURCE_DIR": "/foo/bar", + "BITRISE_TRIGGERED_WORKFLOW_ID": "bitrise-pipeline-name", + "GIT_CLONE_COMMIT_HASH": "bitrise-git-commit", + "GIT_REPOSITORY_URL": "git@github.com:DataDog/dummy-example.git" + }, + { + "ci.pipeline.id": "bitrise-pipeline-id", + "ci.pipeline.name": "bitrise-pipeline-name", + "ci.pipeline.number": "bitrise-pipeline-number", + "ci.pipeline.url": "https://bitrise-build-url.com//", + "ci.provider.name": "bitrise", + "ci.workspace_path": "/foo/bar", + "git.commit.message": "bitrise-git-commit-message", + "git.commit.sha": "gitcommit", + "git.repository_url": "git@github.com:DataDog/dummy-example.git" + } + ], [ { "BITRISE_BUILD_NUMBER": "bitrise-pipeline-number", diff --git a/packages/dd-trace/test/plugins/util/ci-env/jenkins.json b/packages/dd-trace/test/plugins/util/ci-env/jenkins.json index 97d5123dace..8f6799796aa 100644 --- a/packages/dd-trace/test/plugins/util/ci-env/jenkins.json +++ b/packages/dd-trace/test/plugins/util/ci-env/jenkins.json @@ -8,7 +8,7 @@ "GIT_BRANCH": "origin/master", "GIT_COMMIT": "jenkins-git-commit", "GIT_URL_1": "https://jenkins.com/repo/sample", - "GIT_URL_2": "https://jenkins.com/repo/sample", + "GIT_URL_2": "https://jenkins.com/repo/otherSample", "JENKINS_URL": "jenkins", "JOB_NAME": "jobName", "JOB_URL": "https://jenkins.com/job" From 6432d6b57d60844ac87cd476a34727a1673312b1 Mon Sep 17 00:00:00 2001 From: "eric.navarro" Date: Mon, 3 Jul 2023 13:00:44 +0200 Subject: [PATCH 10/16] fix spacing and sort imports --- packages/dd-trace/src/plugins/util/ci.js | 1 + packages/dd-trace/src/plugins/util/test.js | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/packages/dd-trace/src/plugins/util/ci.js b/packages/dd-trace/src/plugins/util/ci.js index fe7a8fc8654..7cfdefefb0d 100644 --- a/packages/dd-trace/src/plugins/util/ci.js +++ b/packages/dd-trace/src/plugins/util/ci.js @@ -606,6 +606,7 @@ module.exports = { normalizeTag(tags, GIT_REPOSITORY_URL, filterSensitiveInfoFromRepository) normalizeTag(tags, GIT_BRANCH, normalizeRef) normalizeTag(tags, GIT_TAG, normalizeRef) + return removeEmptyValues(tags) } } diff --git a/packages/dd-trace/src/plugins/util/test.js b/packages/dd-trace/src/plugins/util/test.js index 04716b80318..354f19a5295 100644 --- a/packages/dd-trace/src/plugins/util/test.js +++ b/packages/dd-trace/src/plugins/util/test.js @@ -1,5 +1,6 @@ const path = require('path') const fs = require('fs') +const { URL } = require('url') const istanbul = require('istanbul-lib-coverage') const ignore = require('ignore') @@ -24,7 +25,6 @@ const { SPAN_TYPE, RESOURCE_NAME, SAMPLING_PRIORITY } = require('../../../../../ const { SAMPLING_RULE_DECISION } = require('../../constants') const { AUTO_KEEP } = require('../../../../../ext/priority') const { version: ddTraceVersion } = require('../../../../../package.json') -const { URL } = require('url') const TEST_FRAMEWORK = 'test.framework' const TEST_FRAMEWORK_VERSION = 'test.framework_version' From 4bbc0ab4f3ea27bbeb8f26717085d12dc230a14e Mon Sep 17 00:00:00 2001 From: "eric.navarro" Date: Mon, 3 Jul 2023 16:19:10 +0200 Subject: [PATCH 11/16] add test to validateMetadata --- packages/dd-trace/src/plugins/util/test.js | 3 ++- .../exporters/git/git_metadata.spec.js | 17 +++++++++++++++++ 2 files changed, 19 insertions(+), 1 deletion(-) diff --git a/packages/dd-trace/src/plugins/util/test.js b/packages/dd-trace/src/plugins/util/test.js index b349107c252..bf3d3ac5a32 100644 --- a/packages/dd-trace/src/plugins/util/test.js +++ b/packages/dd-trace/src/plugins/util/test.js @@ -106,7 +106,8 @@ module.exports = { mergeCoverage, fromCoverageMapToCoverage, getTestLineStart, - getCallSites + getCallSites, + validateMetadata } // Returns pkg manager and its version, separated by '-', e.g. npm-8.15.0 or yarn-1.22.19 diff --git a/packages/dd-trace/test/ci-visibility/exporters/git/git_metadata.spec.js b/packages/dd-trace/test/ci-visibility/exporters/git/git_metadata.spec.js index 0f06bd8b0c7..0817763c320 100644 --- a/packages/dd-trace/test/ci-visibility/exporters/git/git_metadata.spec.js +++ b/packages/dd-trace/test/ci-visibility/exporters/git/git_metadata.spec.js @@ -5,6 +5,8 @@ require('../../../../../dd-trace/test/setup/tap') const nock = require('nock') const os = require('os') const fs = require('fs') +const { validateMetadata } = require('../../../../src/plugins/util/test') +const { GIT_REPOSITORY_URL } = require('../../../../src/plugins/util/tags') const proxyquire = require('proxyquire').noPreserveCache() @@ -81,6 +83,21 @@ describe('git_metadata', () => { }) }) + it('should remove if Git repository URL is invalid', () => { + const invalidUrl1 = 'https://test.com' + const invalidUrl2 = 'https://test.com' + const invalidUrl3 = 'http://test.com/repo/dummy.4git' + const invalidUrl4 = 'https://test.com/repo/dummy.gi' + const invalidUrl5 = 'www.test.com/repo/dummy.git' + const invalidUrl6 = 'test.com/repo/dummy.git' + const invalidUrl7 = '' + + const invalidUrls = [invalidUrl1, invalidUrl2, invalidUrl3, invalidUrl4, invalidUrl5, invalidUrl6, invalidUrl7] + invalidUrls.forEach((invalidUrl) => { + expect(validateMetadata({ [GIT_REPOSITORY_URL]: invalidUrl })).to.be.equal({}) + }) + }) + it('should request to /api/v2/git/repository/search_commits and /api/v2/git/repository/packfile', (done) => { const scope = nock('https://api.test.com') .post('/api/v2/git/repository/search_commits') From 9a189504b38ddae555213a790073244d4e62f1df Mon Sep 17 00:00:00 2001 From: "eric.navarro" Date: Thu, 6 Jul 2023 15:59:03 +0200 Subject: [PATCH 12/16] Update JSONs and refactor URL checking --- packages/dd-trace/src/plugins/util/test.js | 57 +++--- .../src/plugins/util/user-provided-git.js | 23 +-- .../test/plugins/util/ci-env/appveyor.json | 62 +++---- .../plugins/util/ci-env/azurepipelines.json | 140 +++++++-------- .../test/plugins/util/ci-env/bitbucket.json | 120 ++++++------- .../test/plugins/util/ci-env/bitrise.json | 124 ++++++------- .../test/plugins/util/ci-env/buddy.json | 32 ++-- .../test/plugins/util/ci-env/buildkite.json | 80 ++++----- .../test/plugins/util/ci-env/circleci.json | 116 ++++++------ .../test/plugins/util/ci-env/github.json | 104 +++++------ .../test/plugins/util/ci-env/gitlab.json | 76 ++++---- .../test/plugins/util/ci-env/jenkins.json | 170 +++++++++--------- .../test/plugins/util/ci-env/travisci.json | 68 +++---- 13 files changed, 578 insertions(+), 594 deletions(-) diff --git a/packages/dd-trace/src/plugins/util/test.js b/packages/dd-trace/src/plugins/util/test.js index bf3d3ac5a32..8e0f6187cfb 100644 --- a/packages/dd-trace/src/plugins/util/test.js +++ b/packages/dd-trace/src/plugins/util/test.js @@ -1,12 +1,13 @@ const path = require('path') const fs = require('fs') const { URL } = require('url') +const log = require('../../log') const istanbul = require('istanbul-lib-coverage') const ignore = require('ignore') const { getGitMetadata } = require('./git') -const { getUserProviderGitMetadata } = require('./user-provided-git') +const { getUserProviderGitMetadata, validateGitRepositoryUrl, validateGitCommitSha } = require('./user-provided-git') const { getCIMetadata, removeEmptyValues } = require('./ci') const { getRuntimeAndOSMetadata } = require('./env') const { @@ -106,8 +107,7 @@ module.exports = { mergeCoverage, fromCoverageMapToCoverage, getTestLineStart, - getCallSites, - validateMetadata + getCallSites } // Returns pkg manager and its version, separated by '-', e.g. npm-8.15.0 or yarn-1.22.19 @@ -119,27 +119,7 @@ function getPkgManager () { } } -function validateMetadata (metadata) { - if (metadata[GIT_REPOSITORY_URL]) { - const validUrl = validateUrl(metadata[GIT_REPOSITORY_URL]) - if (!validUrl) { - delete metadata[GIT_REPOSITORY_URL] - } - } - if (metadata[CI_PIPELINE_URL]) { - const validUrl = validateUrl(metadata[CI_PIPELINE_URL]) - if (!validUrl) { - delete metadata[CI_PIPELINE_URL] - } - } - return removeEmptyValues(metadata) -} - function validateUrl (url) { - if (url.startsWith('git@') && url.includes(':')) { - const hostname = url.substring(url.indexOf('@') + 1, url.lastIndexOf(':')) - return hostname.includes('.') - } try { const urlObject = new URL(url) return (urlObject.protocol === 'https:' || urlObject.protocol === 'http:') @@ -148,6 +128,31 @@ function validateUrl (url) { } } +function removeInvalidGitMetadata (metadata) { + return Object.keys(metadata).reduce((filteredTags, tag) => { + if (tag === GIT_REPOSITORY_URL) { + if (!validateGitRepositoryUrl(metadata[GIT_REPOSITORY_URL])) { + log.error('DD_GIT_REPOSITORY_URL must be a valid URL') + return filteredTags + } + } + if (tag === GIT_COMMIT_SHA) { + if (!validateGitCommitSha(metadata[GIT_COMMIT_SHA])) { + log.error('DD_GIT_COMMIT_SHA must be a full-length git SHA') + return filteredTags + } + } + if (tag === CI_PIPELINE_URL) { + if (!validateUrl(metadata[CI_PIPELINE_URL])) { + console.log(`Removing URL ${metadata[CI_PIPELINE_URL]}`) + return filteredTags + } + } + filteredTags[tag] = metadata[tag] + return filteredTags + }, {}) +} + function getTestEnvironmentMetadata (testFramework, config) { // TODO: eventually these will come from the tracer (generally available) const ciMetadata = getCIMetadata() @@ -177,17 +182,17 @@ function getTestEnvironmentMetadata (testFramework, config) { const runtimeAndOSMetadata = getRuntimeAndOSMetadata() - const metadata = validateMetadata({ + const metadata = { [TEST_FRAMEWORK]: testFramework, ...gitMetadata, ...ciMetadata, ...userProvidedGitMetadata, ...runtimeAndOSMetadata - }) + } if (config && config.service) { metadata['service.name'] = config.service } - return metadata + return removeInvalidGitMetadata(metadata) } function getTestParametersString (parametersByTestName, testName) { diff --git a/packages/dd-trace/src/plugins/util/user-provided-git.js b/packages/dd-trace/src/plugins/util/user-provided-git.js index 45257f882d8..7aab955e3a5 100644 --- a/packages/dd-trace/src/plugins/util/user-provided-git.js +++ b/packages/dd-trace/src/plugins/util/user-provided-git.js @@ -13,7 +13,6 @@ const { } = require('./tags') const { normalizeRef } = require('./ci') -const log = require('../../log') const { URL } = require('url') function removeEmptyValues (tags) { @@ -53,25 +52,6 @@ function validateGitCommitSha (gitCommitSha) { return isValidSha1 || isValidSha256 } -function removeInvalidGitMetadata (metadata) { - return Object.keys(metadata).reduce((filteredTags, tag) => { - if (tag === GIT_REPOSITORY_URL) { - if (!validateGitRepositoryUrl(metadata[GIT_REPOSITORY_URL])) { - log.error('DD_GIT_REPOSITORY_URL must be a valid URL') - return filteredTags - } - } - if (tag === GIT_COMMIT_SHA) { - if (!validateGitCommitSha(metadata[GIT_COMMIT_SHA])) { - log.error('DD_GIT_COMMIT_SHA must be a full-length git SHA') - return filteredTags - } - } - filteredTags[tag] = metadata[tag] - return filteredTags - }, {}) -} - function getUserProviderGitMetadata () { const { DD_GIT_COMMIT_SHA, @@ -95,7 +75,7 @@ function getUserProviderGitMetadata () { tag = normalizeRef(DD_GIT_BRANCH) } - const metadata = removeEmptyValues({ + return removeEmptyValues({ [GIT_COMMIT_SHA]: DD_GIT_COMMIT_SHA, [GIT_BRANCH]: branch, [GIT_REPOSITORY_URL]: filterSensitiveInfoFromRepository(DD_GIT_REPOSITORY_URL), @@ -108,7 +88,6 @@ function getUserProviderGitMetadata () { [GIT_COMMIT_AUTHOR_EMAIL]: DD_GIT_COMMIT_AUTHOR_EMAIL, [GIT_COMMIT_AUTHOR_DATE]: DD_GIT_COMMIT_AUTHOR_DATE }) - return removeInvalidGitMetadata(metadata) } module.exports = { getUserProviderGitMetadata, validateGitRepositoryUrl, validateGitCommitSha } diff --git a/packages/dd-trace/test/plugins/util/ci-env/appveyor.json b/packages/dd-trace/test/plugins/util/ci-env/appveyor.json index 356b75f318c..def208d7110 100644 --- a/packages/dd-trace/test/plugins/util/ci-env/appveyor.json +++ b/packages/dd-trace/test/plugins/util/ci-env/appveyor.json @@ -6,7 +6,7 @@ "APPVEYOR_BUILD_ID": "appveyor-build-id", "APPVEYOR_BUILD_NUMBER": "appveyor-pipeline-number", "APPVEYOR_REPO_BRANCH": "master", - "APPVEYOR_REPO_COMMIT": "appveyor-repo-commit", + "APPVEYOR_REPO_COMMIT": "b9f0fb3fdbb94c9d24b2c75b49663122a529e123", "APPVEYOR_REPO_COMMIT_AUTHOR": "appveyor-commit-author-name", "APPVEYOR_REPO_COMMIT_AUTHOR_EMAIL": "appveyor-commit-author-email@datadoghq.com", "APPVEYOR_REPO_COMMIT_MESSAGE": "appveyor-commit-message", @@ -26,7 +26,7 @@ "git.commit.author.email": "appveyor-commit-author-email@datadoghq.com", "git.commit.author.name": "appveyor-commit-author-name", "git.commit.message": "appveyor-commit-message\nappveyor-commit-message-extended", - "git.commit.sha": "appveyor-repo-commit", + "git.commit.sha": "b9f0fb3fdbb94c9d24b2c75b49663122a529e123", "git.repository_url": "https://github.com/appveyor-repo-name.git" } ], @@ -37,7 +37,7 @@ "APPVEYOR_BUILD_ID": "appveyor-build-id", "APPVEYOR_BUILD_NUMBER": "appveyor-pipeline-number", "APPVEYOR_REPO_BRANCH": "master", - "APPVEYOR_REPO_COMMIT": "appveyor-repo-commit", + "APPVEYOR_REPO_COMMIT": "b9f0fb3fdbb94c9d24b2c75b49663122a529e123", "APPVEYOR_REPO_COMMIT_AUTHOR": "appveyor-commit-author-name", "APPVEYOR_REPO_COMMIT_AUTHOR_EMAIL": "appveyor-commit-author-email@datadoghq.com", "APPVEYOR_REPO_COMMIT_MESSAGE": "appveyor-commit-message", @@ -57,7 +57,7 @@ "git.commit.author.email": "appveyor-commit-author-email@datadoghq.com", "git.commit.author.name": "appveyor-commit-author-name", "git.commit.message": "appveyor-commit-message\nappveyor-commit-message-extended", - "git.commit.sha": "appveyor-repo-commit", + "git.commit.sha": "b9f0fb3fdbb94c9d24b2c75b49663122a529e123", "git.repository_url": "https://github.com/appveyor-repo-name.git" } ], @@ -68,7 +68,7 @@ "APPVEYOR_BUILD_ID": "appveyor-build-id", "APPVEYOR_BUILD_NUMBER": "appveyor-pipeline-number", "APPVEYOR_REPO_BRANCH": "master", - "APPVEYOR_REPO_COMMIT": "appveyor-repo-commit", + "APPVEYOR_REPO_COMMIT": "b9f0fb3fdbb94c9d24b2c75b49663122a529e123", "APPVEYOR_REPO_COMMIT_AUTHOR": "appveyor-commit-author-name", "APPVEYOR_REPO_COMMIT_AUTHOR_EMAIL": "appveyor-commit-author-email@datadoghq.com", "APPVEYOR_REPO_COMMIT_MESSAGE": "appveyor-commit-message", @@ -88,7 +88,7 @@ "git.commit.author.email": "appveyor-commit-author-email@datadoghq.com", "git.commit.author.name": "appveyor-commit-author-name", "git.commit.message": "appveyor-commit-message\nappveyor-commit-message-extended", - "git.commit.sha": "appveyor-repo-commit", + "git.commit.sha": "b9f0fb3fdbb94c9d24b2c75b49663122a529e123", "git.repository_url": "https://github.com/appveyor-repo-name.git" } ], @@ -99,7 +99,7 @@ "APPVEYOR_BUILD_ID": "appveyor-build-id", "APPVEYOR_BUILD_NUMBER": "appveyor-pipeline-number", "APPVEYOR_REPO_BRANCH": "master", - "APPVEYOR_REPO_COMMIT": "appveyor-repo-commit", + "APPVEYOR_REPO_COMMIT": "b9f0fb3fdbb94c9d24b2c75b49663122a529e123", "APPVEYOR_REPO_COMMIT_AUTHOR": "appveyor-commit-author-name", "APPVEYOR_REPO_COMMIT_AUTHOR_EMAIL": "appveyor-commit-author-email@datadoghq.com", "APPVEYOR_REPO_COMMIT_MESSAGE": "appveyor-commit-message", @@ -119,7 +119,7 @@ "git.commit.author.email": "appveyor-commit-author-email@datadoghq.com", "git.commit.author.name": "appveyor-commit-author-name", "git.commit.message": "appveyor-commit-message\nappveyor-commit-message-extended", - "git.commit.sha": "appveyor-repo-commit", + "git.commit.sha": "b9f0fb3fdbb94c9d24b2c75b49663122a529e123", "git.repository_url": "https://github.com/appveyor-repo-name.git" } ], @@ -130,7 +130,7 @@ "APPVEYOR_BUILD_ID": "appveyor-build-id", "APPVEYOR_BUILD_NUMBER": "appveyor-pipeline-number", "APPVEYOR_REPO_BRANCH": "master", - "APPVEYOR_REPO_COMMIT": "appveyor-repo-commit", + "APPVEYOR_REPO_COMMIT": "b9f0fb3fdbb94c9d24b2c75b49663122a529e123", "APPVEYOR_REPO_COMMIT_AUTHOR": "appveyor-commit-author-name", "APPVEYOR_REPO_COMMIT_AUTHOR_EMAIL": "appveyor-commit-author-email@datadoghq.com", "APPVEYOR_REPO_COMMIT_MESSAGE": "appveyor-commit-message", @@ -152,7 +152,7 @@ "git.commit.author.email": "appveyor-commit-author-email@datadoghq.com", "git.commit.author.name": "appveyor-commit-author-name", "git.commit.message": "appveyor-commit-message\nappveyor-commit-message-extended", - "git.commit.sha": "appveyor-repo-commit", + "git.commit.sha": "b9f0fb3fdbb94c9d24b2c75b49663122a529e123", "git.repository_url": "https://github.com/appveyor-repo-name.git" } ], @@ -163,7 +163,7 @@ "APPVEYOR_BUILD_ID": "appveyor-build-id", "APPVEYOR_BUILD_NUMBER": "appveyor-pipeline-number", "APPVEYOR_REPO_BRANCH": "master", - "APPVEYOR_REPO_COMMIT": "appveyor-repo-commit", + "APPVEYOR_REPO_COMMIT": "b9f0fb3fdbb94c9d24b2c75b49663122a529e123", "APPVEYOR_REPO_COMMIT_AUTHOR": "appveyor-commit-author-name", "APPVEYOR_REPO_COMMIT_AUTHOR_EMAIL": "appveyor-commit-author-email@datadoghq.com", "APPVEYOR_REPO_COMMIT_MESSAGE": "appveyor-commit-message", @@ -183,7 +183,7 @@ "git.commit.author.email": "appveyor-commit-author-email@datadoghq.com", "git.commit.author.name": "appveyor-commit-author-name", "git.commit.message": "appveyor-commit-message\nappveyor-commit-message-extended", - "git.commit.sha": "appveyor-repo-commit", + "git.commit.sha": "b9f0fb3fdbb94c9d24b2c75b49663122a529e123", "git.repository_url": "https://github.com/appveyor-repo-name.git" } ], @@ -194,7 +194,7 @@ "APPVEYOR_BUILD_ID": "appveyor-build-id", "APPVEYOR_BUILD_NUMBER": "appveyor-pipeline-number", "APPVEYOR_REPO_BRANCH": "master", - "APPVEYOR_REPO_COMMIT": "appveyor-repo-commit", + "APPVEYOR_REPO_COMMIT": "b9f0fb3fdbb94c9d24b2c75b49663122a529e123", "APPVEYOR_REPO_COMMIT_AUTHOR": "appveyor-commit-author-name", "APPVEYOR_REPO_COMMIT_AUTHOR_EMAIL": "appveyor-commit-author-email@datadoghq.com", "APPVEYOR_REPO_COMMIT_MESSAGE": "appveyor-commit-message", @@ -216,7 +216,7 @@ "git.commit.author.email": "appveyor-commit-author-email@datadoghq.com", "git.commit.author.name": "appveyor-commit-author-name", "git.commit.message": "appveyor-commit-message\nappveyor-commit-message-extended", - "git.commit.sha": "appveyor-repo-commit", + "git.commit.sha": "b9f0fb3fdbb94c9d24b2c75b49663122a529e123", "git.repository_url": "https://github.com/appveyor-repo-name.git" } ], @@ -227,7 +227,7 @@ "APPVEYOR_BUILD_ID": "appveyor-build-id", "APPVEYOR_BUILD_NUMBER": "appveyor-pipeline-number", "APPVEYOR_REPO_BRANCH": "master", - "APPVEYOR_REPO_COMMIT": "appveyor-repo-commit", + "APPVEYOR_REPO_COMMIT": "b9f0fb3fdbb94c9d24b2c75b49663122a529e123", "APPVEYOR_REPO_COMMIT_AUTHOR": "appveyor-commit-author-name", "APPVEYOR_REPO_COMMIT_AUTHOR_EMAIL": "appveyor-commit-author-email@datadoghq.com", "APPVEYOR_REPO_COMMIT_MESSAGE": "appveyor-commit-message", @@ -254,7 +254,7 @@ "APPVEYOR_BUILD_ID": "appveyor-build-id", "APPVEYOR_BUILD_NUMBER": "appveyor-pipeline-number", "APPVEYOR_REPO_BRANCH": "origin/master", - "APPVEYOR_REPO_COMMIT": "appveyor-repo-commit", + "APPVEYOR_REPO_COMMIT": "b9f0fb3fdbb94c9d24b2c75b49663122a529e123", "APPVEYOR_REPO_COMMIT_AUTHOR": "appveyor-commit-author-name", "APPVEYOR_REPO_COMMIT_AUTHOR_EMAIL": "appveyor-commit-author-email@datadoghq.com", "APPVEYOR_REPO_COMMIT_MESSAGE": "appveyor-commit-message", @@ -274,7 +274,7 @@ "git.commit.author.email": "appveyor-commit-author-email@datadoghq.com", "git.commit.author.name": "appveyor-commit-author-name", "git.commit.message": "appveyor-commit-message\nappveyor-commit-message-extended", - "git.commit.sha": "appveyor-repo-commit", + "git.commit.sha": "b9f0fb3fdbb94c9d24b2c75b49663122a529e123", "git.repository_url": "https://github.com/appveyor-repo-name.git" } ], @@ -285,7 +285,7 @@ "APPVEYOR_BUILD_ID": "appveyor-build-id", "APPVEYOR_BUILD_NUMBER": "appveyor-pipeline-number", "APPVEYOR_REPO_BRANCH": "refs/heads/master", - "APPVEYOR_REPO_COMMIT": "appveyor-repo-commit", + "APPVEYOR_REPO_COMMIT": "b9f0fb3fdbb94c9d24b2c75b49663122a529e123", "APPVEYOR_REPO_COMMIT_AUTHOR": "appveyor-commit-author-name", "APPVEYOR_REPO_COMMIT_AUTHOR_EMAIL": "appveyor-commit-author-email@datadoghq.com", "APPVEYOR_REPO_COMMIT_MESSAGE": "appveyor-commit-message", @@ -305,7 +305,7 @@ "git.commit.author.email": "appveyor-commit-author-email@datadoghq.com", "git.commit.author.name": "appveyor-commit-author-name", "git.commit.message": "appveyor-commit-message\nappveyor-commit-message-extended", - "git.commit.sha": "appveyor-repo-commit", + "git.commit.sha": "b9f0fb3fdbb94c9d24b2c75b49663122a529e123", "git.repository_url": "https://github.com/appveyor-repo-name.git" } ], @@ -316,7 +316,7 @@ "APPVEYOR_BUILD_ID": "appveyor-build-id", "APPVEYOR_BUILD_NUMBER": "appveyor-pipeline-number", "APPVEYOR_REPO_BRANCH": "refs/heads/feature/one", - "APPVEYOR_REPO_COMMIT": "appveyor-repo-commit", + "APPVEYOR_REPO_COMMIT": "b9f0fb3fdbb94c9d24b2c75b49663122a529e123", "APPVEYOR_REPO_COMMIT_AUTHOR": "appveyor-commit-author-name", "APPVEYOR_REPO_COMMIT_AUTHOR_EMAIL": "appveyor-commit-author-email@datadoghq.com", "APPVEYOR_REPO_COMMIT_MESSAGE": "appveyor-commit-message", @@ -336,7 +336,7 @@ "git.commit.author.email": "appveyor-commit-author-email@datadoghq.com", "git.commit.author.name": "appveyor-commit-author-name", "git.commit.message": "appveyor-commit-message\nappveyor-commit-message-extended", - "git.commit.sha": "appveyor-repo-commit", + "git.commit.sha": "b9f0fb3fdbb94c9d24b2c75b49663122a529e123", "git.repository_url": "https://github.com/appveyor-repo-name.git" } ], @@ -348,7 +348,7 @@ "APPVEYOR_BUILD_NUMBER": "appveyor-pipeline-number", "APPVEYOR_PULL_REQUEST_HEAD_REPO_BRANCH": "origin/pr", "APPVEYOR_REPO_BRANCH": "origin/master", - "APPVEYOR_REPO_COMMIT": "appveyor-repo-commit", + "APPVEYOR_REPO_COMMIT": "b9f0fb3fdbb94c9d24b2c75b49663122a529e123", "APPVEYOR_REPO_COMMIT_AUTHOR": "appveyor-commit-author-name", "APPVEYOR_REPO_COMMIT_AUTHOR_EMAIL": "appveyor-commit-author-email@datadoghq.com", "APPVEYOR_REPO_COMMIT_MESSAGE": "appveyor-commit-message", @@ -368,7 +368,7 @@ "git.commit.author.email": "appveyor-commit-author-email@datadoghq.com", "git.commit.author.name": "appveyor-commit-author-name", "git.commit.message": "appveyor-commit-message\nappveyor-commit-message-extended", - "git.commit.sha": "appveyor-repo-commit", + "git.commit.sha": "b9f0fb3fdbb94c9d24b2c75b49663122a529e123", "git.repository_url": "https://github.com/appveyor-repo-name.git" } ], @@ -380,7 +380,7 @@ "APPVEYOR_BUILD_NUMBER": "appveyor-pipeline-number", "APPVEYOR_PULL_REQUEST_HEAD_REPO_BRANCH": "refs/heads/pr", "APPVEYOR_REPO_BRANCH": "refs/heads/master", - "APPVEYOR_REPO_COMMIT": "appveyor-repo-commit", + "APPVEYOR_REPO_COMMIT": "b9f0fb3fdbb94c9d24b2c75b49663122a529e123", "APPVEYOR_REPO_COMMIT_AUTHOR": "appveyor-commit-author-name", "APPVEYOR_REPO_COMMIT_AUTHOR_EMAIL": "appveyor-commit-author-email@datadoghq.com", "APPVEYOR_REPO_COMMIT_MESSAGE": "appveyor-commit-message", @@ -400,7 +400,7 @@ "git.commit.author.email": "appveyor-commit-author-email@datadoghq.com", "git.commit.author.name": "appveyor-commit-author-name", "git.commit.message": "appveyor-commit-message\nappveyor-commit-message-extended", - "git.commit.sha": "appveyor-repo-commit", + "git.commit.sha": "b9f0fb3fdbb94c9d24b2c75b49663122a529e123", "git.repository_url": "https://github.com/appveyor-repo-name.git" } ], @@ -411,7 +411,7 @@ "APPVEYOR_BUILD_ID": "appveyor-build-id", "APPVEYOR_BUILD_NUMBER": "appveyor-pipeline-number", "APPVEYOR_REPO_BRANCH": "origin/master", - "APPVEYOR_REPO_COMMIT": "appveyor-repo-commit", + "APPVEYOR_REPO_COMMIT": "b9f0fb3fdbb94c9d24b2c75b49663122a529e123", "APPVEYOR_REPO_COMMIT_AUTHOR": "appveyor-commit-author-name", "APPVEYOR_REPO_COMMIT_AUTHOR_EMAIL": "appveyor-commit-author-email@datadoghq.com", "APPVEYOR_REPO_COMMIT_MESSAGE": "appveyor-commit-message", @@ -432,7 +432,7 @@ "git.commit.author.email": "appveyor-commit-author-email@datadoghq.com", "git.commit.author.name": "appveyor-commit-author-name", "git.commit.message": "appveyor-commit-message\nappveyor-commit-message-extended", - "git.commit.sha": "appveyor-repo-commit", + "git.commit.sha": "b9f0fb3fdbb94c9d24b2c75b49663122a529e123", "git.repository_url": "https://github.com/appveyor-repo-name.git", "git.tag": "0.1.0" } @@ -444,7 +444,7 @@ "APPVEYOR_BUILD_ID": "appveyor-build-id", "APPVEYOR_BUILD_NUMBER": "appveyor-pipeline-number", "APPVEYOR_REPO_BRANCH": "refs/heads/master", - "APPVEYOR_REPO_COMMIT": "appveyor-repo-commit", + "APPVEYOR_REPO_COMMIT": "b9f0fb3fdbb94c9d24b2c75b49663122a529e123", "APPVEYOR_REPO_COMMIT_AUTHOR": "appveyor-commit-author-name", "APPVEYOR_REPO_COMMIT_AUTHOR_EMAIL": "appveyor-commit-author-email@datadoghq.com", "APPVEYOR_REPO_COMMIT_MESSAGE": "appveyor-commit-message", @@ -465,7 +465,7 @@ "git.commit.author.email": "appveyor-commit-author-email@datadoghq.com", "git.commit.author.name": "appveyor-commit-author-name", "git.commit.message": "appveyor-commit-message\nappveyor-commit-message-extended", - "git.commit.sha": "appveyor-repo-commit", + "git.commit.sha": "b9f0fb3fdbb94c9d24b2c75b49663122a529e123", "git.repository_url": "https://github.com/appveyor-repo-name.git", "git.tag": "0.1.0" } @@ -475,7 +475,7 @@ "APPVEYOR": "true", "APPVEYOR_BUILD_ID": "appveyor-build-id", "APPVEYOR_BUILD_NUMBER": "appveyor-pipeline-number", - "APPVEYOR_REPO_COMMIT": "appveyor-repo-commit", + "APPVEYOR_REPO_COMMIT": "b9f0fb3fdbb94c9d24b2c75b49663122a529e123", "APPVEYOR_REPO_COMMIT_AUTHOR": "appveyor-commit-author-name", "APPVEYOR_REPO_COMMIT_AUTHOR_EMAIL": "appveyor-commit-author-email@datadoghq.com", "APPVEYOR_REPO_COMMIT_MESSAGE": "appveyor-commit-message", @@ -516,7 +516,7 @@ "APPVEYOR": "true", "APPVEYOR_BUILD_ID": "appveyor-build-id", "APPVEYOR_BUILD_NUMBER": "appveyor-pipeline-number", - "APPVEYOR_REPO_COMMIT": "appveyor-repo-commit", + "APPVEYOR_REPO_COMMIT": "b9f0fb3fdbb94c9d24b2c75b49663122a529e123", "APPVEYOR_REPO_COMMIT_AUTHOR": "appveyor-commit-author-name", "APPVEYOR_REPO_COMMIT_AUTHOR_EMAIL": "appveyor-commit-author-email@datadoghq.com", "APPVEYOR_REPO_COMMIT_MESSAGE": "appveyor-commit-message", diff --git a/packages/dd-trace/test/plugins/util/ci-env/azurepipelines.json b/packages/dd-trace/test/plugins/util/ci-env/azurepipelines.json index 1ce9636e449..9262c329866 100644 --- a/packages/dd-trace/test/plugins/util/ci-env/azurepipelines.json +++ b/packages/dd-trace/test/plugins/util/ci-env/azurepipelines.json @@ -3,12 +3,12 @@ { "BUILD_BUILDID": "azure-pipelines-build-id", "BUILD_DEFINITIONNAME": "azure-pipelines-name", - "BUILD_REPOSITORY_URI": "https://azure-pipelines-server-uri.com/build", + "BUILD_REPOSITORY_URI": "https://azure-pipelines-server-uri.com/build.git", "BUILD_REQUESTEDFOREMAIL": "azure-pipelines-commit-author-email@datadoghq.com", "BUILD_REQUESTEDFORID": "azure-pipelines-commit-author", "BUILD_SOURCEBRANCH": "master", "BUILD_SOURCESDIRECTORY": "/foo/bar", - "BUILD_SOURCEVERSION": "commit", + "BUILD_SOURCEVERSION": "b9f0fb3fdbb94c9d24b2c75b49663122a529e123", "BUILD_SOURCEVERSIONMESSAGE": "azure-pipelines-commit-message", "SYSTEM_JOBID": "azure-pipelines-job-id", "SYSTEM_TASKINSTANCEID": "azure-pipelines-task-id", @@ -29,23 +29,23 @@ "git.commit.author.email": "azure-pipelines-commit-author-email@datadoghq.com", "git.commit.author.name": "azure-pipelines-commit-author", "git.commit.message": "azure-pipelines-commit-message", - "git.commit.sha": "commit", - "git.repository_url": "https://azure-pipelines-server-uri.com/build" + "git.commit.sha": "b9f0fb3fdbb94c9d24b2c75b49663122a529e123", + "git.repository_url": "https://azure-pipelines-server-uri.com/build.git" } ], [ { "BUILD_BUILDID": "azure-pipelines-build-id", "BUILD_DEFINITIONNAME": "azure-pipelines-name", - "BUILD_REPOSITORY_URI": "https://azure-pipelines-server-uri.com/build", + "BUILD_REPOSITORY_URI": "https://azure-pipelines-server-uri.com/build.git", "BUILD_REQUESTEDFOREMAIL": "azure-pipelines-commit-author-email@datadoghq.com", "BUILD_REQUESTEDFORID": "azure-pipelines-commit-author", "BUILD_SOURCEBRANCH": "master", "BUILD_SOURCESDIRECTORY": "/foo/bar", - "BUILD_SOURCEVERSION": "commit", + "BUILD_SOURCEVERSION": "b9f0fb3fdbb94c9d24b2c75b49663122a529e123", "BUILD_SOURCEVERSIONMESSAGE": "azure-pipelines-commit-message", "SYSTEM_JOBID": "azure-pipelines-job-id", - "SYSTEM_PULLREQUEST_SOURCEREPOSITORYURI": "https://azure-pipelines-server-uri.com/pull", + "SYSTEM_PULLREQUEST_SOURCEREPOSITORYURI": "https://azure-pipelines-server-uri.com/pull.git", "SYSTEM_TASKINSTANCEID": "azure-pipelines-task-id", "SYSTEM_TEAMFOUNDATIONSERVERURI": "https://azure-pipelines-server-uri.com/", "SYSTEM_TEAMPROJECTID": "azure-pipelines-project-id", @@ -64,20 +64,20 @@ "git.commit.author.email": "azure-pipelines-commit-author-email@datadoghq.com", "git.commit.author.name": "azure-pipelines-commit-author", "git.commit.message": "azure-pipelines-commit-message", - "git.commit.sha": "commit", - "git.repository_url": "https://azure-pipelines-server-uri.com/pull" + "git.commit.sha": "b9f0fb3fdbb94c9d24b2c75b49663122a529e123", + "git.repository_url": "https://azure-pipelines-server-uri.com/pull.git" } ], [ { "BUILD_BUILDID": "azure-pipelines-build-id", "BUILD_DEFINITIONNAME": "azure-pipelines-name", - "BUILD_REPOSITORY_URI": "https://azure-pipelines-server-uri.com/build", + "BUILD_REPOSITORY_URI": "https://azure-pipelines-server-uri.com/build.git", "BUILD_REQUESTEDFOREMAIL": "azure-pipelines-commit-author-email@datadoghq.com", "BUILD_REQUESTEDFORID": "azure-pipelines-commit-author", "BUILD_SOURCEBRANCH": "origin/master", "BUILD_SOURCESDIRECTORY": "foo/bar", - "BUILD_SOURCEVERSION": "commit", + "BUILD_SOURCEVERSION": "b9f0fb3fdbb94c9d24b2c75b49663122a529e123", "BUILD_SOURCEVERSIONMESSAGE": "azure-pipelines-commit-message", "SYSTEM_JOBID": "azure-pipelines-job-id", "SYSTEM_TASKINSTANCEID": "azure-pipelines-task-id", @@ -98,20 +98,20 @@ "git.commit.author.email": "azure-pipelines-commit-author-email@datadoghq.com", "git.commit.author.name": "azure-pipelines-commit-author", "git.commit.message": "azure-pipelines-commit-message", - "git.commit.sha": "commit", - "git.repository_url": "https://azure-pipelines-server-uri.com/build" + "git.commit.sha": "b9f0fb3fdbb94c9d24b2c75b49663122a529e123", + "git.repository_url": "https://azure-pipelines-server-uri.com/build.git" } ], [ { "BUILD_BUILDID": "azure-pipelines-build-id", "BUILD_DEFINITIONNAME": "azure-pipelines-name", - "BUILD_REPOSITORY_URI": "https://azure-pipelines-server-uri.com/build", + "BUILD_REPOSITORY_URI": "https://azure-pipelines-server-uri.com/build.git", "BUILD_REQUESTEDFOREMAIL": "azure-pipelines-commit-author-email@datadoghq.com", "BUILD_REQUESTEDFORID": "azure-pipelines-commit-author", "BUILD_SOURCEBRANCH": "origin/master", "BUILD_SOURCESDIRECTORY": "/foo/bar~", - "BUILD_SOURCEVERSION": "commit", + "BUILD_SOURCEVERSION": "b9f0fb3fdbb94c9d24b2c75b49663122a529e123", "BUILD_SOURCEVERSIONMESSAGE": "azure-pipelines-commit-message", "HOME": "/not-my-home", "SYSTEM_JOBID": "azure-pipelines-job-id", @@ -134,20 +134,20 @@ "git.commit.author.email": "azure-pipelines-commit-author-email@datadoghq.com", "git.commit.author.name": "azure-pipelines-commit-author", "git.commit.message": "azure-pipelines-commit-message", - "git.commit.sha": "commit", - "git.repository_url": "https://azure-pipelines-server-uri.com/build" + "git.commit.sha": "b9f0fb3fdbb94c9d24b2c75b49663122a529e123", + "git.repository_url": "https://azure-pipelines-server-uri.com/build.git" } ], [ { "BUILD_BUILDID": "azure-pipelines-build-id", "BUILD_DEFINITIONNAME": "azure-pipelines-name", - "BUILD_REPOSITORY_URI": "https://azure-pipelines-server-uri.com/build", + "BUILD_REPOSITORY_URI": "https://azure-pipelines-server-uri.com/build.git", "BUILD_REQUESTEDFOREMAIL": "azure-pipelines-commit-author-email@datadoghq.com", "BUILD_REQUESTEDFORID": "azure-pipelines-commit-author", "BUILD_SOURCEBRANCH": "origin/master", "BUILD_SOURCESDIRECTORY": "/foo/~/bar", - "BUILD_SOURCEVERSION": "commit", + "BUILD_SOURCEVERSION": "b9f0fb3fdbb94c9d24b2c75b49663122a529e123", "BUILD_SOURCEVERSIONMESSAGE": "azure-pipelines-commit-message", "HOME": "/not-my-home", "SYSTEM_JOBID": "azure-pipelines-job-id", @@ -170,20 +170,20 @@ "git.commit.author.email": "azure-pipelines-commit-author-email@datadoghq.com", "git.commit.author.name": "azure-pipelines-commit-author", "git.commit.message": "azure-pipelines-commit-message", - "git.commit.sha": "commit", - "git.repository_url": "https://azure-pipelines-server-uri.com/build" + "git.commit.sha": "b9f0fb3fdbb94c9d24b2c75b49663122a529e123", + "git.repository_url": "https://azure-pipelines-server-uri.com/build.git" } ], [ { "BUILD_BUILDID": "azure-pipelines-build-id", "BUILD_DEFINITIONNAME": "azure-pipelines-name", - "BUILD_REPOSITORY_URI": "https://azure-pipelines-server-uri.com/build", + "BUILD_REPOSITORY_URI": "https://azure-pipelines-server-uri.com/build.git", "BUILD_REQUESTEDFOREMAIL": "azure-pipelines-commit-author-email@datadoghq.com", "BUILD_REQUESTEDFORID": "azure-pipelines-commit-author", "BUILD_SOURCEBRANCH": "origin/master", "BUILD_SOURCESDIRECTORY": "~/foo/bar", - "BUILD_SOURCEVERSION": "commit", + "BUILD_SOURCEVERSION": "b9f0fb3fdbb94c9d24b2c75b49663122a529e123", "BUILD_SOURCEVERSIONMESSAGE": "azure-pipelines-commit-message", "HOME": "/not-my-home", "SYSTEM_JOBID": "azure-pipelines-job-id", @@ -206,20 +206,20 @@ "git.commit.author.email": "azure-pipelines-commit-author-email@datadoghq.com", "git.commit.author.name": "azure-pipelines-commit-author", "git.commit.message": "azure-pipelines-commit-message", - "git.commit.sha": "commit", - "git.repository_url": "https://azure-pipelines-server-uri.com/build" + "git.commit.sha": "b9f0fb3fdbb94c9d24b2c75b49663122a529e123", + "git.repository_url": "https://azure-pipelines-server-uri.com/build.git" } ], [ { "BUILD_BUILDID": "azure-pipelines-build-id", "BUILD_DEFINITIONNAME": "azure-pipelines-name", - "BUILD_REPOSITORY_URI": "https://azure-pipelines-server-uri.com/build", + "BUILD_REPOSITORY_URI": "https://azure-pipelines-server-uri.com/build.git", "BUILD_REQUESTEDFOREMAIL": "azure-pipelines-commit-author-email@datadoghq.com", "BUILD_REQUESTEDFORID": "azure-pipelines-commit-author", "BUILD_SOURCEBRANCH": "origin/master", "BUILD_SOURCESDIRECTORY": "~foo/bar", - "BUILD_SOURCEVERSION": "commit", + "BUILD_SOURCEVERSION": "b9f0fb3fdbb94c9d24b2c75b49663122a529e123", "BUILD_SOURCEVERSIONMESSAGE": "azure-pipelines-commit-message", "HOME": "/not-my-home", "SYSTEM_JOBID": "azure-pipelines-job-id", @@ -242,20 +242,20 @@ "git.commit.author.email": "azure-pipelines-commit-author-email@datadoghq.com", "git.commit.author.name": "azure-pipelines-commit-author", "git.commit.message": "azure-pipelines-commit-message", - "git.commit.sha": "commit", - "git.repository_url": "https://azure-pipelines-server-uri.com/build" + "git.commit.sha": "b9f0fb3fdbb94c9d24b2c75b49663122a529e123", + "git.repository_url": "https://azure-pipelines-server-uri.com/build.git" } ], [ { "BUILD_BUILDID": "azure-pipelines-build-id", "BUILD_DEFINITIONNAME": "azure-pipelines-name", - "BUILD_REPOSITORY_URI": "https://azure-pipelines-server-uri.com/build", + "BUILD_REPOSITORY_URI": "https://azure-pipelines-server-uri.com/build.git", "BUILD_REQUESTEDFOREMAIL": "azure-pipelines-commit-author-email@datadoghq.com", "BUILD_REQUESTEDFORID": "azure-pipelines-commit-author", "BUILD_SOURCEBRANCH": "origin/master", "BUILD_SOURCESDIRECTORY": "~", - "BUILD_SOURCEVERSION": "commit", + "BUILD_SOURCEVERSION": "b9f0fb3fdbb94c9d24b2c75b49663122a529e123", "BUILD_SOURCEVERSIONMESSAGE": "azure-pipelines-commit-message", "HOME": "/not-my-home", "SYSTEM_JOBID": "azure-pipelines-job-id", @@ -278,20 +278,20 @@ "git.commit.author.email": "azure-pipelines-commit-author-email@datadoghq.com", "git.commit.author.name": "azure-pipelines-commit-author", "git.commit.message": "azure-pipelines-commit-message", - "git.commit.sha": "commit", - "git.repository_url": "https://azure-pipelines-server-uri.com/build" + "git.commit.sha": "b9f0fb3fdbb94c9d24b2c75b49663122a529e123", + "git.repository_url": "https://azure-pipelines-server-uri.com/build.git" } ], [ { "BUILD_BUILDID": "azure-pipelines-build-id", "BUILD_DEFINITIONNAME": "azure-pipelines-name", - "BUILD_REPOSITORY_URI": "https://azure-pipelines-server-uri.com/build", + "BUILD_REPOSITORY_URI": "https://azure-pipelines-server-uri.com/build.git", "BUILD_REQUESTEDFOREMAIL": "azure-pipelines-commit-author-email@datadoghq.com", "BUILD_REQUESTEDFORID": "azure-pipelines-commit-author", "BUILD_SOURCEBRANCH": "origin/master", "BUILD_SOURCESDIRECTORY": "/foo/bar", - "BUILD_SOURCEVERSION": "commit", + "BUILD_SOURCEVERSION": "b9f0fb3fdbb94c9d24b2c75b49663122a529e123", "BUILD_SOURCEVERSIONMESSAGE": "azure-pipelines-commit-message", "SYSTEM_JOBID": "azure-pipelines-job-id", "SYSTEM_TASKINSTANCEID": "azure-pipelines-task-id", @@ -312,20 +312,20 @@ "git.commit.author.email": "azure-pipelines-commit-author-email@datadoghq.com", "git.commit.author.name": "azure-pipelines-commit-author", "git.commit.message": "azure-pipelines-commit-message", - "git.commit.sha": "commit", - "git.repository_url": "https://azure-pipelines-server-uri.com/build" + "git.commit.sha": "b9f0fb3fdbb94c9d24b2c75b49663122a529e123", + "git.repository_url": "https://azure-pipelines-server-uri.com/build.git" } ], [ { "BUILD_BUILDID": "azure-pipelines-build-id", "BUILD_DEFINITIONNAME": "azure-pipelines-name", - "BUILD_REPOSITORY_URI": "https://azure-pipelines-server-uri.com/build", + "BUILD_REPOSITORY_URI": "https://azure-pipelines-server-uri.com/build.git", "BUILD_REQUESTEDFOREMAIL": "azure-pipelines-commit-author-email@datadoghq.com", "BUILD_REQUESTEDFORID": "azure-pipelines-commit-author", "BUILD_SOURCEBRANCH": "refs/heads/master", "BUILD_SOURCESDIRECTORY": "/foo/bar", - "BUILD_SOURCEVERSION": "commit", + "BUILD_SOURCEVERSION": "b9f0fb3fdbb94c9d24b2c75b49663122a529e123", "BUILD_SOURCEVERSIONMESSAGE": "azure-pipelines-commit-message", "SYSTEM_JOBID": "azure-pipelines-job-id", "SYSTEM_TASKINSTANCEID": "azure-pipelines-task-id", @@ -346,20 +346,20 @@ "git.commit.author.email": "azure-pipelines-commit-author-email@datadoghq.com", "git.commit.author.name": "azure-pipelines-commit-author", "git.commit.message": "azure-pipelines-commit-message", - "git.commit.sha": "commit", - "git.repository_url": "https://azure-pipelines-server-uri.com/build" + "git.commit.sha": "b9f0fb3fdbb94c9d24b2c75b49663122a529e123", + "git.repository_url": "https://azure-pipelines-server-uri.com/build.git" } ], [ { "BUILD_BUILDID": "azure-pipelines-build-id", "BUILD_DEFINITIONNAME": "azure-pipelines-name", - "BUILD_REPOSITORY_URI": "https://azure-pipelines-server-uri.com/build", + "BUILD_REPOSITORY_URI": "https://azure-pipelines-server-uri.com/build.git", "BUILD_REQUESTEDFOREMAIL": "azure-pipelines-commit-author-email@datadoghq.com", "BUILD_REQUESTEDFORID": "azure-pipelines-commit-author", "BUILD_SOURCEBRANCH": "refs/heads/feature/one", "BUILD_SOURCESDIRECTORY": "/foo/bar", - "BUILD_SOURCEVERSION": "commit", + "BUILD_SOURCEVERSION": "b9f0fb3fdbb94c9d24b2c75b49663122a529e123", "BUILD_SOURCEVERSIONMESSAGE": "azure-pipelines-commit-message", "SYSTEM_JOBID": "azure-pipelines-job-id", "SYSTEM_TASKINSTANCEID": "azure-pipelines-task-id", @@ -380,20 +380,20 @@ "git.commit.author.email": "azure-pipelines-commit-author-email@datadoghq.com", "git.commit.author.name": "azure-pipelines-commit-author", "git.commit.message": "azure-pipelines-commit-message", - "git.commit.sha": "commit", - "git.repository_url": "https://azure-pipelines-server-uri.com/build" + "git.commit.sha": "b9f0fb3fdbb94c9d24b2c75b49663122a529e123", + "git.repository_url": "https://azure-pipelines-server-uri.com/build.git" } ], [ { "BUILD_BUILDID": "azure-pipelines-build-id", "BUILD_DEFINITIONNAME": "azure-pipelines-name", - "BUILD_REPOSITORY_URI": "https://azure-pipelines-server-uri.com/build", + "BUILD_REPOSITORY_URI": "https://azure-pipelines-server-uri.com/build.git", "BUILD_REQUESTEDFOREMAIL": "azure-pipelines-commit-author-email@datadoghq.com", "BUILD_REQUESTEDFORID": "azure-pipelines-commit-author", "BUILD_SOURCEBRANCH": "origin/tags/0.1.0", "BUILD_SOURCESDIRECTORY": "/foo/bar", - "BUILD_SOURCEVERSION": "commit", + "BUILD_SOURCEVERSION": "b9f0fb3fdbb94c9d24b2c75b49663122a529e123", "BUILD_SOURCEVERSIONMESSAGE": "azure-pipelines-commit-message", "SYSTEM_JOBID": "azure-pipelines-job-id", "SYSTEM_TASKINSTANCEID": "azure-pipelines-task-id", @@ -413,8 +413,8 @@ "git.commit.author.email": "azure-pipelines-commit-author-email@datadoghq.com", "git.commit.author.name": "azure-pipelines-commit-author", "git.commit.message": "azure-pipelines-commit-message", - "git.commit.sha": "commit", - "git.repository_url": "https://azure-pipelines-server-uri.com/build", + "git.commit.sha": "b9f0fb3fdbb94c9d24b2c75b49663122a529e123", + "git.repository_url": "https://azure-pipelines-server-uri.com/build.git", "git.tag": "0.1.0" } ], @@ -422,12 +422,12 @@ { "BUILD_BUILDID": "azure-pipelines-build-id", "BUILD_DEFINITIONNAME": "azure-pipelines-name", - "BUILD_REPOSITORY_URI": "https://azure-pipelines-server-uri.com/build", + "BUILD_REPOSITORY_URI": "https://azure-pipelines-server-uri.com/build.git", "BUILD_REQUESTEDFOREMAIL": "azure-pipelines-commit-author-email@datadoghq.com", "BUILD_REQUESTEDFORID": "azure-pipelines-commit-author", "BUILD_SOURCEBRANCH": "refs/heads/tags/0.1.0", "BUILD_SOURCESDIRECTORY": "/foo/bar", - "BUILD_SOURCEVERSION": "commit", + "BUILD_SOURCEVERSION": "b9f0fb3fdbb94c9d24b2c75b49663122a529e123", "BUILD_SOURCEVERSIONMESSAGE": "azure-pipelines-commit-message", "SYSTEM_JOBID": "azure-pipelines-job-id", "SYSTEM_TASKINSTANCEID": "azure-pipelines-task-id", @@ -447,8 +447,8 @@ "git.commit.author.email": "azure-pipelines-commit-author-email@datadoghq.com", "git.commit.author.name": "azure-pipelines-commit-author", "git.commit.message": "azure-pipelines-commit-message", - "git.commit.sha": "commit", - "git.repository_url": "https://azure-pipelines-server-uri.com/build", + "git.commit.sha": "b9f0fb3fdbb94c9d24b2c75b49663122a529e123", + "git.repository_url": "https://azure-pipelines-server-uri.com/build.git", "git.tag": "0.1.0" } ], @@ -456,16 +456,16 @@ { "BUILD_BUILDID": "azure-pipelines-build-id", "BUILD_DEFINITIONNAME": "azure-pipelines-name", - "BUILD_REPOSITORY_URI": "https://azure-pipelines-server-uri.com/build", + "BUILD_REPOSITORY_URI": "https://azure-pipelines-server-uri.com/build.git", "BUILD_REQUESTEDFOREMAIL": "azure-pipelines-commit-author-email@datadoghq.com", "BUILD_REQUESTEDFORID": "azure-pipelines-commit-author", "BUILD_SOURCEBRANCH": "origin/master", "BUILD_SOURCESDIRECTORY": "/foo/bar", - "BUILD_SOURCEVERSION": "commit", + "BUILD_SOURCEVERSION": "b9f0fb3fdbb94c9d24b2c75b49663122a529e123", "BUILD_SOURCEVERSIONMESSAGE": "azure-pipelines-commit-message", "SYSTEM_JOBID": "azure-pipelines-job-id", "SYSTEM_PULLREQUEST_SOURCEBRANCH": "origin/pr", - "SYSTEM_PULLREQUEST_SOURCECOMMITID": "commitPR", + "SYSTEM_PULLREQUEST_SOURCECOMMITID": "b9f0fb3fdbb94c9d24b2c75b49663122a529e123", "SYSTEM_TASKINSTANCEID": "azure-pipelines-task-id", "SYSTEM_TEAMFOUNDATIONSERVERURI": "https://azure-pipelines-server-uri.com/", "SYSTEM_TEAMPROJECTID": "azure-pipelines-project-id", @@ -484,24 +484,24 @@ "git.commit.author.email": "azure-pipelines-commit-author-email@datadoghq.com", "git.commit.author.name": "azure-pipelines-commit-author", "git.commit.message": "azure-pipelines-commit-message", - "git.commit.sha": "commitPR", - "git.repository_url": "https://azure-pipelines-server-uri.com/build" + "git.commit.sha": "b9f0fb3fdbb94c9d24b2c75b49663122a529e123", + "git.repository_url": "https://azure-pipelines-server-uri.com/build.git" } ], [ { "BUILD_BUILDID": "azure-pipelines-build-id", "BUILD_DEFINITIONNAME": "azure-pipelines-name", - "BUILD_REPOSITORY_URI": "https://azure-pipelines-server-uri.com/build", + "BUILD_REPOSITORY_URI": "https://azure-pipelines-server-uri.com/build.git", "BUILD_REQUESTEDFOREMAIL": "azure-pipelines-commit-author-email@datadoghq.com", "BUILD_REQUESTEDFORID": "azure-pipelines-commit-author", "BUILD_SOURCEBRANCH": "refs/heads/master", "BUILD_SOURCESDIRECTORY": "/foo/bar", - "BUILD_SOURCEVERSION": "commit", + "BUILD_SOURCEVERSION": "b9f0fb3fdbb94c9d24b2c75b49663122a529e123", "BUILD_SOURCEVERSIONMESSAGE": "azure-pipelines-commit-message", "SYSTEM_JOBID": "azure-pipelines-job-id", "SYSTEM_PULLREQUEST_SOURCEBRANCH": "refs/heads/pr", - "SYSTEM_PULLREQUEST_SOURCECOMMITID": "commitPR", + "SYSTEM_PULLREQUEST_SOURCECOMMITID": "b9f0fb3fdbb94c9d24b2c75b49663122a529e123", "SYSTEM_STAGEDISPLAYNAME": "azure-pipelines-stage-name", "SYSTEM_TASKINSTANCEID": "azure-pipelines-task-id", "SYSTEM_TEAMFOUNDATIONSERVERURI": "https://azure-pipelines-server-uri.com/", @@ -522,25 +522,25 @@ "git.commit.author.email": "azure-pipelines-commit-author-email@datadoghq.com", "git.commit.author.name": "azure-pipelines-commit-author", "git.commit.message": "azure-pipelines-commit-message", - "git.commit.sha": "commitPR", - "git.repository_url": "https://azure-pipelines-server-uri.com/build" + "git.commit.sha": "b9f0fb3fdbb94c9d24b2c75b49663122a529e123", + "git.repository_url": "https://azure-pipelines-server-uri.com/build.git" } ], [ { "BUILD_BUILDID": "azure-pipelines-build-id", "BUILD_DEFINITIONNAME": "azure-pipelines-name", - "BUILD_REPOSITORY_URI": "https://azure-pipelines-server-uri.com/build", + "BUILD_REPOSITORY_URI": "https://azure-pipelines-server-uri.com/build.git", "BUILD_REQUESTEDFOREMAIL": "azure-pipelines-commit-author-email@datadoghq.com", "BUILD_REQUESTEDFORID": "azure-pipelines-commit-author", "BUILD_SOURCEBRANCH": "refs/heads/feature/one", "BUILD_SOURCESDIRECTORY": "/foo/bar", - "BUILD_SOURCEVERSION": "commit", + "BUILD_SOURCEVERSION": "b9f0fb3fdbb94c9d24b2c75b49663122a529e123", "BUILD_SOURCEVERSIONMESSAGE": "azure-pipelines-commit-message", "SYSTEM_JOBDISPLAYNAME": "azure-pipelines-job-name", "SYSTEM_JOBID": "azure-pipelines-job-id", "SYSTEM_PULLREQUEST_SOURCEBRANCH": "refs/heads/pr", - "SYSTEM_PULLREQUEST_SOURCECOMMITID": "commitPR", + "SYSTEM_PULLREQUEST_SOURCECOMMITID": "b9f0fb3fdbb94c9d24b2c75b49663122a529e123", "SYSTEM_TASKINSTANCEID": "azure-pipelines-task-id", "SYSTEM_TEAMFOUNDATIONSERVERURI": "https://azure-pipelines-server-uri.com/", "SYSTEM_TEAMPROJECTID": "azure-pipelines-project-id", @@ -560,8 +560,8 @@ "git.commit.author.email": "azure-pipelines-commit-author-email@datadoghq.com", "git.commit.author.name": "azure-pipelines-commit-author", "git.commit.message": "azure-pipelines-commit-message", - "git.commit.sha": "commitPR", - "git.repository_url": "https://azure-pipelines-server-uri.com/build" + "git.commit.sha": "b9f0fb3fdbb94c9d24b2c75b49663122a529e123", + "git.repository_url": "https://azure-pipelines-server-uri.com/build.git" } ], [ @@ -654,7 +654,7 @@ { "BUILD_BUILDID": "azure-pipelines-build-id", "BUILD_DEFINITIONNAME": "azure-pipelines-name", - "BUILD_REPOSITORY_URI": "https://user:password@dev.azure.com/fabrikamfiber/", + "BUILD_REPOSITORY_URI": "https://user:password@dev.azure.com/fabrikamfiber/repo.git", "BUILD_REQUESTEDFOREMAIL": "azure-pipelines-commit-author-email@datadoghq.com", "BUILD_REQUESTEDFORID": "azure-pipelines-commit-author", "BUILD_SOURCEVERSIONMESSAGE": "azure-pipelines-commit-message", @@ -675,7 +675,7 @@ "git.commit.author.email": "azure-pipelines-commit-author-email@datadoghq.com", "git.commit.author.name": "azure-pipelines-commit-author", "git.commit.message": "azure-pipelines-commit-message", - "git.repository_url": "https://dev.azure.com/fabrikamfiber/" + "git.repository_url": "https://dev.azure.com/fabrikamfiber/repo.git" } ] ] diff --git a/packages/dd-trace/test/plugins/util/ci-env/bitbucket.json b/packages/dd-trace/test/plugins/util/ci-env/bitbucket.json index 3a924128c16..4fa0d2fb0ce 100644 --- a/packages/dd-trace/test/plugins/util/ci-env/bitbucket.json +++ b/packages/dd-trace/test/plugins/util/ci-env/bitbucket.json @@ -4,8 +4,8 @@ "BITBUCKET_BRANCH": "master", "BITBUCKET_BUILD_NUMBER": "bitbucket-build-num", "BITBUCKET_CLONE_DIR": "/foo/bar", - "BITBUCKET_COMMIT": "bitbucket-commit", - "BITBUCKET_GIT_SSH_ORIGIN": "https://bitbucket-repo-url.com/", + "BITBUCKET_COMMIT": "b9f0fb3fdbb94c9d24b2c75b49663122a529e123", + "BITBUCKET_GIT_SSH_ORIGIN": "https://bitbucket-repo-url.com/repo.git", "BITBUCKET_PIPELINE_UUID": "{bitbucket-uuid}", "BITBUCKET_REPO_FULL_NAME": "bitbucket-repo" }, @@ -18,8 +18,8 @@ "ci.provider.name": "bitbucket", "ci.workspace_path": "/foo/bar", "git.branch": "master", - "git.commit.sha": "bitbucket-commit", - "git.repository_url": "https://bitbucket-repo-url.com/" + "git.commit.sha": "b9f0fb3fdbb94c9d24b2c75b49663122a529e123", + "git.repository_url": "https://bitbucket-repo-url.com/repo.git" } ], [ @@ -27,8 +27,8 @@ "BITBUCKET_BRANCH": "master", "BITBUCKET_BUILD_NUMBER": "bitbucket-build-num", "BITBUCKET_CLONE_DIR": "foo/bar", - "BITBUCKET_COMMIT": "bitbucket-commit", - "BITBUCKET_GIT_SSH_ORIGIN": "https://bitbucket-repo-url.com/", + "BITBUCKET_COMMIT": "b9f0fb3fdbb94c9d24b2c75b49663122a529e123", + "BITBUCKET_GIT_SSH_ORIGIN": "https://bitbucket-repo-url.com/repo.git", "BITBUCKET_PIPELINE_UUID": "{bitbucket-uuid}", "BITBUCKET_REPO_FULL_NAME": "bitbucket-repo" }, @@ -41,8 +41,8 @@ "ci.provider.name": "bitbucket", "ci.workspace_path": "foo/bar", "git.branch": "master", - "git.commit.sha": "bitbucket-commit", - "git.repository_url": "https://bitbucket-repo-url.com/" + "git.commit.sha": "b9f0fb3fdbb94c9d24b2c75b49663122a529e123", + "git.repository_url": "https://bitbucket-repo-url.com/repo.git" } ], [ @@ -50,7 +50,7 @@ "BITBUCKET_BRANCH": "master", "BITBUCKET_BUILD_NUMBER": "bitbucket-build-num", "BITBUCKET_CLONE_DIR": "foo/bar", - "BITBUCKET_COMMIT": "bitbucket-commit", + "BITBUCKET_COMMIT": "b9f0fb3fdbb94c9d24b2c75b49663122a529e123", "BITBUCKET_GIT_SSH_ORIGIN": "git@github.com:DataDog/dummy-example.git", "BITBUCKET_PIPELINE_UUID": "{bitbucket-uuid}", "BITBUCKET_REPO_FULL_NAME": "bitbucket-repo" @@ -64,7 +64,7 @@ "ci.provider.name": "bitbucket", "ci.workspace_path": "foo/bar", "git.branch": "master", - "git.commit.sha": "bitbucket-commit", + "git.commit.sha": "b9f0fb3fdbb94c9d24b2c75b49663122a529e123", "git.repository_url": "git@github.com:DataDog/dummy-example.git" } ], @@ -73,8 +73,8 @@ "BITBUCKET_BRANCH": "master", "BITBUCKET_BUILD_NUMBER": "bitbucket-build-num", "BITBUCKET_CLONE_DIR": "/foo/bar~", - "BITBUCKET_COMMIT": "bitbucket-commit", - "BITBUCKET_GIT_SSH_ORIGIN": "https://bitbucket-repo-url.com/", + "BITBUCKET_COMMIT": "b9f0fb3fdbb94c9d24b2c75b49663122a529e123", + "BITBUCKET_GIT_SSH_ORIGIN": "https://bitbucket-repo-url.com/repo.git", "BITBUCKET_PIPELINE_UUID": "{bitbucket-uuid}", "BITBUCKET_REPO_FULL_NAME": "bitbucket-repo" }, @@ -87,8 +87,8 @@ "ci.provider.name": "bitbucket", "ci.workspace_path": "/foo/bar~", "git.branch": "master", - "git.commit.sha": "bitbucket-commit", - "git.repository_url": "https://bitbucket-repo-url.com/" + "git.commit.sha": "b9f0fb3fdbb94c9d24b2c75b49663122a529e123", + "git.repository_url": "https://bitbucket-repo-url.com/repo.git" } ], [ @@ -96,8 +96,8 @@ "BITBUCKET_BRANCH": "master", "BITBUCKET_BUILD_NUMBER": "bitbucket-build-num", "BITBUCKET_CLONE_DIR": "/foo/~/bar", - "BITBUCKET_COMMIT": "bitbucket-commit", - "BITBUCKET_GIT_SSH_ORIGIN": "https://bitbucket-repo-url.com/", + "BITBUCKET_COMMIT": "b9f0fb3fdbb94c9d24b2c75b49663122a529e123", + "BITBUCKET_GIT_SSH_ORIGIN": "https://bitbucket-repo-url.com/repo.git", "BITBUCKET_PIPELINE_UUID": "{bitbucket-uuid}", "BITBUCKET_REPO_FULL_NAME": "bitbucket-repo" }, @@ -110,8 +110,8 @@ "ci.provider.name": "bitbucket", "ci.workspace_path": "/foo/~/bar", "git.branch": "master", - "git.commit.sha": "bitbucket-commit", - "git.repository_url": "https://bitbucket-repo-url.com/" + "git.commit.sha": "b9f0fb3fdbb94c9d24b2c75b49663122a529e123", + "git.repository_url": "https://bitbucket-repo-url.com/repo.git" } ], [ @@ -119,8 +119,8 @@ "BITBUCKET_BRANCH": "master", "BITBUCKET_BUILD_NUMBER": "bitbucket-build-num", "BITBUCKET_CLONE_DIR": "~/foo/bar", - "BITBUCKET_COMMIT": "bitbucket-commit", - "BITBUCKET_GIT_SSH_ORIGIN": "https://bitbucket-repo-url.com/", + "BITBUCKET_COMMIT": "b9f0fb3fdbb94c9d24b2c75b49663122a529e123", + "BITBUCKET_GIT_SSH_ORIGIN": "https://bitbucket-repo-url.com/repo.git", "BITBUCKET_PIPELINE_UUID": "{bitbucket-uuid}", "BITBUCKET_REPO_FULL_NAME": "bitbucket-repo", "HOME": "/not-my-home", @@ -135,8 +135,8 @@ "ci.provider.name": "bitbucket", "ci.workspace_path": "/not-my-home/foo/bar", "git.branch": "master", - "git.commit.sha": "bitbucket-commit", - "git.repository_url": "https://bitbucket-repo-url.com/" + "git.commit.sha": "b9f0fb3fdbb94c9d24b2c75b49663122a529e123", + "git.repository_url": "https://bitbucket-repo-url.com/repo.git" } ], [ @@ -144,8 +144,8 @@ "BITBUCKET_BRANCH": "master", "BITBUCKET_BUILD_NUMBER": "bitbucket-build-num", "BITBUCKET_CLONE_DIR": "~foo/bar", - "BITBUCKET_COMMIT": "bitbucket-commit", - "BITBUCKET_GIT_SSH_ORIGIN": "https://bitbucket-repo-url.com/", + "BITBUCKET_COMMIT": "b9f0fb3fdbb94c9d24b2c75b49663122a529e123", + "BITBUCKET_GIT_SSH_ORIGIN": "https://bitbucket-repo-url.com/repo.git", "BITBUCKET_PIPELINE_UUID": "{bitbucket-uuid}", "BITBUCKET_REPO_FULL_NAME": "bitbucket-repo" }, @@ -158,8 +158,8 @@ "ci.provider.name": "bitbucket", "ci.workspace_path": "~foo/bar", "git.branch": "master", - "git.commit.sha": "bitbucket-commit", - "git.repository_url": "https://bitbucket-repo-url.com/" + "git.commit.sha": "b9f0fb3fdbb94c9d24b2c75b49663122a529e123", + "git.repository_url": "https://bitbucket-repo-url.com/repo.git" } ], [ @@ -167,8 +167,8 @@ "BITBUCKET_BRANCH": "master", "BITBUCKET_BUILD_NUMBER": "bitbucket-build-num", "BITBUCKET_CLONE_DIR": "~", - "BITBUCKET_COMMIT": "bitbucket-commit", - "BITBUCKET_GIT_SSH_ORIGIN": "https://bitbucket-repo-url.com/", + "BITBUCKET_COMMIT": "b9f0fb3fdbb94c9d24b2c75b49663122a529e123", + "BITBUCKET_GIT_SSH_ORIGIN": "https://bitbucket-repo-url.com/repo.git", "BITBUCKET_PIPELINE_UUID": "{bitbucket-uuid}", "BITBUCKET_REPO_FULL_NAME": "bitbucket-repo", "HOME": "/not-my-home", @@ -183,8 +183,8 @@ "ci.provider.name": "bitbucket", "ci.workspace_path": "/not-my-home", "git.branch": "master", - "git.commit.sha": "bitbucket-commit", - "git.repository_url": "https://bitbucket-repo-url.com/" + "git.commit.sha": "b9f0fb3fdbb94c9d24b2c75b49663122a529e123", + "git.repository_url": "https://bitbucket-repo-url.com/repo.git" } ], [ @@ -192,8 +192,8 @@ "BITBUCKET_BRANCH": "master", "BITBUCKET_BUILD_NUMBER": "bitbucket-build-num", "BITBUCKET_CLONE_DIR": "/foo/bar", - "BITBUCKET_COMMIT": "bitbucket-commit", - "BITBUCKET_GIT_SSH_ORIGIN": "https://bitbucket-repo-url.com/", + "BITBUCKET_COMMIT": "b9f0fb3fdbb94c9d24b2c75b49663122a529e123", + "BITBUCKET_GIT_SSH_ORIGIN": "https://bitbucket-repo-url.com/repo.git", "BITBUCKET_PIPELINE_UUID": "{bitbucket-uuid}", "BITBUCKET_REPO_FULL_NAME": "bitbucket-repo" }, @@ -206,8 +206,8 @@ "ci.provider.name": "bitbucket", "ci.workspace_path": "/foo/bar", "git.branch": "master", - "git.commit.sha": "bitbucket-commit", - "git.repository_url": "https://bitbucket-repo-url.com/" + "git.commit.sha": "b9f0fb3fdbb94c9d24b2c75b49663122a529e123", + "git.repository_url": "https://bitbucket-repo-url.com/repo.git" } ], [ @@ -215,8 +215,8 @@ "BITBUCKET_BRANCH": "origin/master", "BITBUCKET_BUILD_NUMBER": "bitbucket-build-num", "BITBUCKET_CLONE_DIR": "/foo/bar", - "BITBUCKET_COMMIT": "bitbucket-commit", - "BITBUCKET_GIT_SSH_ORIGIN": "https://bitbucket-repo-url.com/", + "BITBUCKET_COMMIT": "b9f0fb3fdbb94c9d24b2c75b49663122a529e123", + "BITBUCKET_GIT_SSH_ORIGIN": "https://bitbucket-repo-url.com/repo.git", "BITBUCKET_PIPELINE_UUID": "{bitbucket-uuid}", "BITBUCKET_REPO_FULL_NAME": "bitbucket-repo" }, @@ -229,8 +229,8 @@ "ci.provider.name": "bitbucket", "ci.workspace_path": "/foo/bar", "git.branch": "master", - "git.commit.sha": "bitbucket-commit", - "git.repository_url": "https://bitbucket-repo-url.com/" + "git.commit.sha": "b9f0fb3fdbb94c9d24b2c75b49663122a529e123", + "git.repository_url": "https://bitbucket-repo-url.com/repo.git" } ], [ @@ -238,8 +238,8 @@ "BITBUCKET_BRANCH": "refs/heads/master", "BITBUCKET_BUILD_NUMBER": "bitbucket-build-num", "BITBUCKET_CLONE_DIR": "/foo/bar", - "BITBUCKET_COMMIT": "bitbucket-commit", - "BITBUCKET_GIT_SSH_ORIGIN": "https://bitbucket-repo-url.com/", + "BITBUCKET_COMMIT": "b9f0fb3fdbb94c9d24b2c75b49663122a529e123", + "BITBUCKET_GIT_SSH_ORIGIN": "https://bitbucket-repo-url.com/repo.git", "BITBUCKET_PIPELINE_UUID": "{bitbucket-uuid}", "BITBUCKET_REPO_FULL_NAME": "bitbucket-repo" }, @@ -252,8 +252,8 @@ "ci.provider.name": "bitbucket", "ci.workspace_path": "/foo/bar", "git.branch": "master", - "git.commit.sha": "bitbucket-commit", - "git.repository_url": "https://bitbucket-repo-url.com/" + "git.commit.sha": "b9f0fb3fdbb94c9d24b2c75b49663122a529e123", + "git.repository_url": "https://bitbucket-repo-url.com/repo.git" } ], [ @@ -261,8 +261,8 @@ "BITBUCKET_BRANCH": "refs/heads/feature/one", "BITBUCKET_BUILD_NUMBER": "bitbucket-build-num", "BITBUCKET_CLONE_DIR": "/foo/bar", - "BITBUCKET_COMMIT": "bitbucket-commit", - "BITBUCKET_GIT_SSH_ORIGIN": "https://bitbucket-repo-url.com/", + "BITBUCKET_COMMIT": "b9f0fb3fdbb94c9d24b2c75b49663122a529e123", + "BITBUCKET_GIT_SSH_ORIGIN": "https://bitbucket-repo-url.com/repo.git", "BITBUCKET_PIPELINE_UUID": "{bitbucket-uuid}", "BITBUCKET_REPO_FULL_NAME": "bitbucket-repo" }, @@ -275,16 +275,16 @@ "ci.provider.name": "bitbucket", "ci.workspace_path": "/foo/bar", "git.branch": "feature/one", - "git.commit.sha": "bitbucket-commit", - "git.repository_url": "https://bitbucket-repo-url.com/" + "git.commit.sha": "b9f0fb3fdbb94c9d24b2c75b49663122a529e123", + "git.repository_url": "https://bitbucket-repo-url.com/repo.git" } ], [ { "BITBUCKET_BUILD_NUMBER": "bitbucket-build-num", "BITBUCKET_CLONE_DIR": "/foo/bar", - "BITBUCKET_COMMIT": "bitbucket-commit", - "BITBUCKET_GIT_SSH_ORIGIN": "https://bitbucket-repo-url.com/", + "BITBUCKET_COMMIT": "b9f0fb3fdbb94c9d24b2c75b49663122a529e123", + "BITBUCKET_GIT_SSH_ORIGIN": "https://bitbucket-repo-url.com/repo.git", "BITBUCKET_PIPELINE_UUID": "{bitbucket-uuid}", "BITBUCKET_REPO_FULL_NAME": "bitbucket-repo", "BITBUCKET_TAG": "origin/tags/0.1.0" @@ -297,8 +297,8 @@ "ci.pipeline.url": "https://bitbucket.org/bitbucket-repo/addon/pipelines/home#!/results/bitbucket-build-num", "ci.provider.name": "bitbucket", "ci.workspace_path": "/foo/bar", - "git.commit.sha": "bitbucket-commit", - "git.repository_url": "https://bitbucket-repo-url.com/", + "git.commit.sha": "b9f0fb3fdbb94c9d24b2c75b49663122a529e123", + "git.repository_url": "https://bitbucket-repo-url.com/repo.git", "git.tag": "0.1.0" } ], @@ -306,8 +306,8 @@ { "BITBUCKET_BUILD_NUMBER": "bitbucket-build-num", "BITBUCKET_CLONE_DIR": "/foo/bar", - "BITBUCKET_COMMIT": "bitbucket-commit", - "BITBUCKET_GIT_SSH_ORIGIN": "https://bitbucket-repo-url.com/", + "BITBUCKET_COMMIT": "b9f0fb3fdbb94c9d24b2c75b49663122a529e123", + "BITBUCKET_GIT_SSH_ORIGIN": "https://bitbucket-repo-url.com/repo.git", "BITBUCKET_PIPELINE_UUID": "{bitbucket-uuid}", "BITBUCKET_REPO_FULL_NAME": "bitbucket-repo", "BITBUCKET_TAG": "refs/heads/tags/0.1.0" @@ -320,16 +320,16 @@ "ci.pipeline.url": "https://bitbucket.org/bitbucket-repo/addon/pipelines/home#!/results/bitbucket-build-num", "ci.provider.name": "bitbucket", "ci.workspace_path": "/foo/bar", - "git.commit.sha": "bitbucket-commit", - "git.repository_url": "https://bitbucket-repo-url.com/", + "git.commit.sha": "b9f0fb3fdbb94c9d24b2c75b49663122a529e123", + "git.repository_url": "https://bitbucket-repo-url.com/repo.git", "git.tag": "0.1.0" } ], [ { "BITBUCKET_BUILD_NUMBER": "bitbucket-build-num", - "BITBUCKET_COMMIT": "bitbucket-commit", - "BITBUCKET_GIT_SSH_ORIGIN": "https://bitbucket-repo-url.com/", + "BITBUCKET_COMMIT": "b9f0fb3fdbb94c9d24b2c75b49663122a529e123", + "BITBUCKET_GIT_SSH_ORIGIN": "https://bitbucket-repo-url.com/repo.git", "BITBUCKET_PIPELINE_UUID": "{bitbucket-uuid}", "BITBUCKET_REPO_FULL_NAME": "bitbucket-repo", "DD_GIT_BRANCH": "user-supplied-branch", @@ -365,8 +365,8 @@ [ { "BITBUCKET_BUILD_NUMBER": "bitbucket-build-num", - "BITBUCKET_COMMIT": "bitbucket-commit", - "BITBUCKET_GIT_SSH_ORIGIN": "https://bitbucket-repo-url.com/", + "BITBUCKET_COMMIT": "b9f0fb3fdbb94c9d24b2c75b49663122a529e123", + "BITBUCKET_GIT_SSH_ORIGIN": "https://bitbucket-repo-url.com/repo.git", "BITBUCKET_PIPELINE_UUID": "{bitbucket-uuid}", "BITBUCKET_REPO_FULL_NAME": "bitbucket-repo", "DD_GIT_COMMIT_AUTHOR_DATE": "usersupplied-authordate", @@ -402,7 +402,7 @@ [ { "BITBUCKET_BUILD_NUMBER": "bitbucket-build-num", - "BITBUCKET_COMMIT": "bitbucket-commit", + "BITBUCKET_COMMIT": "b9f0fb3fdbb94c9d24b2c75b49663122a529e123", "BITBUCKET_GIT_SSH_ORIGIN": "https://user:password@bitbucket.org/DataDog/dogweb.git", "BITBUCKET_PIPELINE_UUID": "{bitbucket-uuid}", "BITBUCKET_REPO_FULL_NAME": "bitbucket-repo" @@ -414,7 +414,7 @@ "ci.pipeline.number": "bitbucket-build-num", "ci.pipeline.url": "https://bitbucket.org/bitbucket-repo/addon/pipelines/home#!/results/bitbucket-build-num", "ci.provider.name": "bitbucket", - "git.commit.sha": "bitbucket-commit", + "git.commit.sha": "b9f0fb3fdbb94c9d24b2c75b49663122a529e123", "git.repository_url": "https://bitbucket.org/DataDog/dogweb.git" } ] diff --git a/packages/dd-trace/test/plugins/util/ci-env/bitrise.json b/packages/dd-trace/test/plugins/util/ci-env/bitrise.json index 2a279375c92..5563094dc01 100644 --- a/packages/dd-trace/test/plugins/util/ci-env/bitrise.json +++ b/packages/dd-trace/test/plugins/util/ci-env/bitrise.json @@ -4,12 +4,12 @@ "BITRISE_BUILD_NUMBER": "bitrise-pipeline-number", "BITRISE_BUILD_SLUG": "bitrise-pipeline-id", "BITRISE_BUILD_URL": "https://bitrise-build-url.com//", - "BITRISE_GIT_COMMIT": "gitcommit", + "BITRISE_GIT_COMMIT": "b9f0fb3fdbb94c9d24b2c75b49663122a529e123", "BITRISE_GIT_MESSAGE": "bitrise-git-commit-message", "BITRISE_SOURCE_DIR": "/foo/bar", "BITRISE_TRIGGERED_WORKFLOW_ID": "bitrise-pipeline-name", - "GIT_CLONE_COMMIT_HASH": "bitrise-git-commit", - "GIT_REPOSITORY_URL": "https://bitrise-build-url.com/" + "GIT_CLONE_COMMIT_HASH": "b9f0fb3fdbb94c9d24b2c75b49663122a529e123", + "GIT_REPOSITORY_URL": "https://bitrise-build-url.com/repo.git" }, { "ci.pipeline.id": "bitrise-pipeline-id", @@ -19,8 +19,8 @@ "ci.provider.name": "bitrise", "ci.workspace_path": "/foo/bar", "git.commit.message": "bitrise-git-commit-message", - "git.commit.sha": "gitcommit", - "git.repository_url": "https://bitrise-build-url.com/" + "git.commit.sha": "b9f0fb3fdbb94c9d24b2c75b49663122a529e123", + "git.repository_url": "https://bitrise-build-url.com/repo.git" } ], [ @@ -28,11 +28,11 @@ "BITRISE_BUILD_NUMBER": "bitrise-pipeline-number", "BITRISE_BUILD_SLUG": "bitrise-pipeline-id", "BITRISE_BUILD_URL": "https://bitrise-build-url.com//", - "BITRISE_GIT_COMMIT": "gitcommit", + "BITRISE_GIT_COMMIT": "b9f0fb3fdbb94c9d24b2c75b49663122a529e123", "BITRISE_GIT_MESSAGE": "bitrise-git-commit-message", "BITRISE_SOURCE_DIR": "/foo/bar", "BITRISE_TRIGGERED_WORKFLOW_ID": "bitrise-pipeline-name", - "GIT_CLONE_COMMIT_HASH": "bitrise-git-commit", + "GIT_CLONE_COMMIT_HASH": "b9f0fb3fdbb94c9d24b2c75b49663122a529e123", "GIT_REPOSITORY_URL": "git@github.com:DataDog/dummy-example.git" }, { @@ -43,7 +43,7 @@ "ci.provider.name": "bitrise", "ci.workspace_path": "/foo/bar", "git.commit.message": "bitrise-git-commit-message", - "git.commit.sha": "gitcommit", + "git.commit.sha": "b9f0fb3fdbb94c9d24b2c75b49663122a529e123", "git.repository_url": "git@github.com:DataDog/dummy-example.git" } ], @@ -56,8 +56,8 @@ "BITRISE_GIT_MESSAGE": "bitrise-git-commit-message", "BITRISE_SOURCE_DIR": "/foo/bar", "BITRISE_TRIGGERED_WORKFLOW_ID": "bitrise-pipeline-name", - "GIT_CLONE_COMMIT_HASH": "bitrise-git-commit", - "GIT_REPOSITORY_URL": "https://bitrise-build-url.com/" + "GIT_CLONE_COMMIT_HASH": "b9f0fb3fdbb94c9d24b2c75b49663122a529e123", + "GIT_REPOSITORY_URL": "https://bitrise-build-url.com/repo.git" }, { "ci.pipeline.id": "bitrise-pipeline-id", @@ -68,8 +68,8 @@ "ci.workspace_path": "/foo/bar", "git.branch": "master", "git.commit.message": "bitrise-git-commit-message", - "git.commit.sha": "bitrise-git-commit", - "git.repository_url": "https://bitrise-build-url.com/" + "git.commit.sha": "b9f0fb3fdbb94c9d24b2c75b49663122a529e123", + "git.repository_url": "https://bitrise-build-url.com/repo.git" } ], [ @@ -81,8 +81,8 @@ "BITRISE_GIT_MESSAGE": "bitrise-git-commit-message", "BITRISE_SOURCE_DIR": "foo/bar", "BITRISE_TRIGGERED_WORKFLOW_ID": "bitrise-pipeline-name", - "GIT_CLONE_COMMIT_HASH": "bitrise-git-commit", - "GIT_REPOSITORY_URL": "https://bitrise-build-url.com/" + "GIT_CLONE_COMMIT_HASH": "b9f0fb3fdbb94c9d24b2c75b49663122a529e123", + "GIT_REPOSITORY_URL": "https://bitrise-build-url.com/repo.git" }, { "ci.pipeline.id": "bitrise-pipeline-id", @@ -93,8 +93,8 @@ "ci.workspace_path": "foo/bar", "git.branch": "master", "git.commit.message": "bitrise-git-commit-message", - "git.commit.sha": "bitrise-git-commit", - "git.repository_url": "https://bitrise-build-url.com/" + "git.commit.sha": "b9f0fb3fdbb94c9d24b2c75b49663122a529e123", + "git.repository_url": "https://bitrise-build-url.com/repo.git" } ], [ @@ -106,8 +106,8 @@ "BITRISE_GIT_MESSAGE": "bitrise-git-commit-message", "BITRISE_SOURCE_DIR": "/foo/bar~", "BITRISE_TRIGGERED_WORKFLOW_ID": "bitrise-pipeline-name", - "GIT_CLONE_COMMIT_HASH": "bitrise-git-commit", - "GIT_REPOSITORY_URL": "https://bitrise-build-url.com/" + "GIT_CLONE_COMMIT_HASH": "b9f0fb3fdbb94c9d24b2c75b49663122a529e123", + "GIT_REPOSITORY_URL": "https://bitrise-build-url.com/repo.git" }, { "ci.pipeline.id": "bitrise-pipeline-id", @@ -118,8 +118,8 @@ "ci.workspace_path": "/foo/bar~", "git.branch": "master", "git.commit.message": "bitrise-git-commit-message", - "git.commit.sha": "bitrise-git-commit", - "git.repository_url": "https://bitrise-build-url.com/" + "git.commit.sha": "b9f0fb3fdbb94c9d24b2c75b49663122a529e123", + "git.repository_url": "https://bitrise-build-url.com/repo.git" } ], [ @@ -131,8 +131,8 @@ "BITRISE_GIT_MESSAGE": "bitrise-git-commit-message", "BITRISE_SOURCE_DIR": "/foo/~/bar", "BITRISE_TRIGGERED_WORKFLOW_ID": "bitrise-pipeline-name", - "GIT_CLONE_COMMIT_HASH": "bitrise-git-commit", - "GIT_REPOSITORY_URL": "https://bitrise-build-url.com/" + "GIT_CLONE_COMMIT_HASH": "b9f0fb3fdbb94c9d24b2c75b49663122a529e123", + "GIT_REPOSITORY_URL": "https://bitrise-build-url.com/repo.git" }, { "ci.pipeline.id": "bitrise-pipeline-id", @@ -143,8 +143,8 @@ "ci.workspace_path": "/foo/~/bar", "git.branch": "master", "git.commit.message": "bitrise-git-commit-message", - "git.commit.sha": "bitrise-git-commit", - "git.repository_url": "https://bitrise-build-url.com/" + "git.commit.sha": "b9f0fb3fdbb94c9d24b2c75b49663122a529e123", + "git.repository_url": "https://bitrise-build-url.com/repo.git" } ], [ @@ -156,8 +156,8 @@ "BITRISE_GIT_MESSAGE": "bitrise-git-commit-message", "BITRISE_SOURCE_DIR": "~/foo/bar", "BITRISE_TRIGGERED_WORKFLOW_ID": "bitrise-pipeline-name", - "GIT_CLONE_COMMIT_HASH": "bitrise-git-commit", - "GIT_REPOSITORY_URL": "https://bitrise-build-url.com/", + "GIT_CLONE_COMMIT_HASH": "b9f0fb3fdbb94c9d24b2c75b49663122a529e123", + "GIT_REPOSITORY_URL": "https://bitrise-build-url.com/repo.git", "HOME": "/not-my-home", "USERPROFILE": "/not-my-home" }, @@ -170,8 +170,8 @@ "ci.workspace_path": "/not-my-home/foo/bar", "git.branch": "master", "git.commit.message": "bitrise-git-commit-message", - "git.commit.sha": "bitrise-git-commit", - "git.repository_url": "https://bitrise-build-url.com/" + "git.commit.sha": "b9f0fb3fdbb94c9d24b2c75b49663122a529e123", + "git.repository_url": "https://bitrise-build-url.com/repo.git" } ], [ @@ -183,8 +183,8 @@ "BITRISE_GIT_MESSAGE": "bitrise-git-commit-message", "BITRISE_SOURCE_DIR": "~foo/bar", "BITRISE_TRIGGERED_WORKFLOW_ID": "bitrise-pipeline-name", - "GIT_CLONE_COMMIT_HASH": "bitrise-git-commit", - "GIT_REPOSITORY_URL": "https://bitrise-build-url.com/", + "GIT_CLONE_COMMIT_HASH": "b9f0fb3fdbb94c9d24b2c75b49663122a529e123", + "GIT_REPOSITORY_URL": "https://bitrise-build-url.com/repo.git", "HOME": "/not-my-home", "USERPROFILE": "/not-my-home" }, @@ -197,8 +197,8 @@ "ci.workspace_path": "~foo/bar", "git.branch": "master", "git.commit.message": "bitrise-git-commit-message", - "git.commit.sha": "bitrise-git-commit", - "git.repository_url": "https://bitrise-build-url.com/" + "git.commit.sha": "b9f0fb3fdbb94c9d24b2c75b49663122a529e123", + "git.repository_url": "https://bitrise-build-url.com/repo.git" } ], [ @@ -210,8 +210,8 @@ "BITRISE_GIT_MESSAGE": "bitrise-git-commit-message", "BITRISE_SOURCE_DIR": "~", "BITRISE_TRIGGERED_WORKFLOW_ID": "bitrise-pipeline-name", - "GIT_CLONE_COMMIT_HASH": "bitrise-git-commit", - "GIT_REPOSITORY_URL": "https://bitrise-build-url.com/", + "GIT_CLONE_COMMIT_HASH": "b9f0fb3fdbb94c9d24b2c75b49663122a529e123", + "GIT_REPOSITORY_URL": "https://bitrise-build-url.com/repo.git", "HOME": "/not-my-home", "USERPROFILE": "/not-my-home" }, @@ -224,8 +224,8 @@ "ci.workspace_path": "/not-my-home", "git.branch": "master", "git.commit.message": "bitrise-git-commit-message", - "git.commit.sha": "bitrise-git-commit", - "git.repository_url": "https://bitrise-build-url.com/" + "git.commit.sha": "b9f0fb3fdbb94c9d24b2c75b49663122a529e123", + "git.repository_url": "https://bitrise-build-url.com/repo.git" } ], [ @@ -237,8 +237,8 @@ "BITRISE_GIT_MESSAGE": "bitrise-git-commit-message", "BITRISE_SOURCE_DIR": "/foo/bar", "BITRISE_TRIGGERED_WORKFLOW_ID": "bitrise-pipeline-name", - "GIT_CLONE_COMMIT_HASH": "bitrise-git-commit", - "GIT_REPOSITORY_URL": "https://bitrise-build-url.com/" + "GIT_CLONE_COMMIT_HASH": "b9f0fb3fdbb94c9d24b2c75b49663122a529e123", + "GIT_REPOSITORY_URL": "https://bitrise-build-url.com/repo.git" }, { "ci.pipeline.id": "bitrise-pipeline-id", @@ -249,8 +249,8 @@ "ci.workspace_path": "/foo/bar", "git.branch": "master", "git.commit.message": "bitrise-git-commit-message", - "git.commit.sha": "bitrise-git-commit", - "git.repository_url": "https://bitrise-build-url.com/" + "git.commit.sha": "b9f0fb3fdbb94c9d24b2c75b49663122a529e123", + "git.repository_url": "https://bitrise-build-url.com/repo.git" } ], [ @@ -262,8 +262,8 @@ "BITRISE_GIT_MESSAGE": "bitrise-git-commit-message", "BITRISE_SOURCE_DIR": "/foo/bar", "BITRISE_TRIGGERED_WORKFLOW_ID": "bitrise-pipeline-name", - "GIT_CLONE_COMMIT_HASH": "bitrise-git-commit", - "GIT_REPOSITORY_URL": "https://bitrise-build-url.com/" + "GIT_CLONE_COMMIT_HASH": "b9f0fb3fdbb94c9d24b2c75b49663122a529e123", + "GIT_REPOSITORY_URL": "https://bitrise-build-url.com/repo.git" }, { "ci.pipeline.id": "bitrise-pipeline-id", @@ -274,8 +274,8 @@ "ci.workspace_path": "/foo/bar", "git.branch": "feature/one", "git.commit.message": "bitrise-git-commit-message", - "git.commit.sha": "bitrise-git-commit", - "git.repository_url": "https://bitrise-build-url.com/" + "git.commit.sha": "b9f0fb3fdbb94c9d24b2c75b49663122a529e123", + "git.repository_url": "https://bitrise-build-url.com/repo.git" } ], [ @@ -288,8 +288,8 @@ "BITRISE_GIT_TAG": "origin/tags/0.1.0", "BITRISE_SOURCE_DIR": "/foo/bar", "BITRISE_TRIGGERED_WORKFLOW_ID": "bitrise-pipeline-name", - "GIT_CLONE_COMMIT_HASH": "bitrise-git-commit", - "GIT_REPOSITORY_URL": "https://bitrise-build-url.com/" + "GIT_CLONE_COMMIT_HASH": "b9f0fb3fdbb94c9d24b2c75b49663122a529e123", + "GIT_REPOSITORY_URL": "https://bitrise-build-url.com/repo.git" }, { "ci.pipeline.id": "bitrise-pipeline-id", @@ -299,8 +299,8 @@ "ci.provider.name": "bitrise", "ci.workspace_path": "/foo/bar", "git.commit.message": "bitrise-git-commit-message", - "git.commit.sha": "bitrise-git-commit", - "git.repository_url": "https://bitrise-build-url.com/", + "git.commit.sha": "b9f0fb3fdbb94c9d24b2c75b49663122a529e123", + "git.repository_url": "https://bitrise-build-url.com/repo.git", "git.tag": "0.1.0" } ], @@ -314,8 +314,8 @@ "BITRISE_GIT_TAG": "refs/heads/tags/0.1.0", "BITRISE_SOURCE_DIR": "/foo/bar", "BITRISE_TRIGGERED_WORKFLOW_ID": "bitrise-pipeline-name", - "GIT_CLONE_COMMIT_HASH": "bitrise-git-commit", - "GIT_REPOSITORY_URL": "https://bitrise-build-url.com/" + "GIT_CLONE_COMMIT_HASH": "b9f0fb3fdbb94c9d24b2c75b49663122a529e123", + "GIT_REPOSITORY_URL": "https://bitrise-build-url.com/repo.git" }, { "ci.pipeline.id": "bitrise-pipeline-id", @@ -325,8 +325,8 @@ "ci.provider.name": "bitrise", "ci.workspace_path": "/foo/bar", "git.commit.message": "bitrise-git-commit-message", - "git.commit.sha": "bitrise-git-commit", - "git.repository_url": "https://bitrise-build-url.com/", + "git.commit.sha": "b9f0fb3fdbb94c9d24b2c75b49663122a529e123", + "git.repository_url": "https://bitrise-build-url.com/repo.git", "git.tag": "0.1.0" } ], @@ -339,7 +339,7 @@ "BITRISE_GIT_MESSAGE": "bitrise-git-commit-message", "BITRISE_SOURCE_DIR": "/foo/bar", "BITRISE_TRIGGERED_WORKFLOW_ID": "bitrise-pipeline-name", - "GIT_CLONE_COMMIT_HASH": "bitrise-git-commit", + "GIT_CLONE_COMMIT_HASH": "b9f0fb3fdbb94c9d24b2c75b49663122a529e123", "GIT_REPOSITORY_URL": "http://hostname.com/repo.git" }, { @@ -351,7 +351,7 @@ "ci.workspace_path": "/foo/bar", "git.branch": "master", "git.commit.message": "bitrise-git-commit-message", - "git.commit.sha": "bitrise-git-commit", + "git.commit.sha": "b9f0fb3fdbb94c9d24b2c75b49663122a529e123", "git.repository_url": "http://hostname.com/repo.git" } ], @@ -364,7 +364,7 @@ "BITRISE_GIT_MESSAGE": "bitrise-git-commit-message", "BITRISE_SOURCE_DIR": "/foo/bar", "BITRISE_TRIGGERED_WORKFLOW_ID": "bitrise-pipeline-name", - "GIT_CLONE_COMMIT_HASH": "bitrise-git-commit", + "GIT_CLONE_COMMIT_HASH": "b9f0fb3fdbb94c9d24b2c75b49663122a529e123", "GIT_REPOSITORY_URL": "git@hostname.com:org/repo.git" }, { @@ -376,7 +376,7 @@ "ci.workspace_path": "/foo/bar", "git.branch": "master", "git.commit.message": "bitrise-git-commit-message", - "git.commit.sha": "bitrise-git-commit", + "git.commit.sha": "b9f0fb3fdbb94c9d24b2c75b49663122a529e123", "git.repository_url": "git@hostname.com:org/repo.git" } ], @@ -389,7 +389,7 @@ "BITRISE_GIT_MESSAGE": "bitrise-git-commit-message", "BITRISE_SOURCE_DIR": "/foo/bar", "BITRISE_TRIGGERED_WORKFLOW_ID": "bitrise-pipeline-name", - "GIT_CLONE_COMMIT_HASH": "bitrise-git-commit", + "GIT_CLONE_COMMIT_HASH": "b9f0fb3fdbb94c9d24b2c75b49663122a529e123", "GIT_REPOSITORY_URL": "git@hostname.com:org/repo.git" }, { @@ -401,7 +401,7 @@ "ci.workspace_path": "/foo/bar", "git.branch": "notmaster", "git.commit.message": "bitrise-git-commit-message", - "git.commit.sha": "bitrise-git-commit", + "git.commit.sha": "b9f0fb3fdbb94c9d24b2c75b49663122a529e123", "git.repository_url": "git@hostname.com:org/repo.git" } ], @@ -422,7 +422,7 @@ "DD_GIT_COMMIT_MESSAGE": "usersupplied-message", "DD_GIT_COMMIT_SHA": "b9f0fb3fdbb94c9d24b2c75b49663122a529e123", "DD_GIT_REPOSITORY_URL": "git@github.com:DataDog/userrepo.git", - "GIT_CLONE_COMMIT_HASH": "bitrise-git-commit" + "GIT_CLONE_COMMIT_HASH": "b9f0fb3fdbb94c9d24b2c75b49663122a529e123" }, { "ci.pipeline.id": "bitrise-pipeline-id", @@ -459,7 +459,7 @@ "DD_GIT_COMMIT_SHA": "b9f0fb3fdbb94c9d24b2c75b49663122a529e123", "DD_GIT_REPOSITORY_URL": "git@github.com:DataDog/userrepo.git", "DD_GIT_TAG": "0.0.2", - "GIT_CLONE_COMMIT_HASH": "bitrise-git-commit" + "GIT_CLONE_COMMIT_HASH": "b9f0fb3fdbb94c9d24b2c75b49663122a529e123" }, { "ci.pipeline.id": "bitrise-pipeline-id", @@ -486,7 +486,7 @@ "BITRISE_BUILD_URL": "https://bitrise-build-url.com//", "BITRISE_GIT_MESSAGE": "bitrise-git-commit-message", "BITRISE_TRIGGERED_WORKFLOW_ID": "bitrise-pipeline-name", - "GIT_CLONE_COMMIT_HASH": "bitrise-git-commit", + "GIT_CLONE_COMMIT_HASH": "b9f0fb3fdbb94c9d24b2c75b49663122a529e123", "GIT_REPOSITORY_URL": "https://user:password@github.com/DataDog/dogweb.git" }, { @@ -496,7 +496,7 @@ "ci.pipeline.url": "https://bitrise-build-url.com//", "ci.provider.name": "bitrise", "git.commit.message": "bitrise-git-commit-message", - "git.commit.sha": "bitrise-git-commit", + "git.commit.sha": "b9f0fb3fdbb94c9d24b2c75b49663122a529e123", "git.repository_url": "https://github.com/DataDog/dogweb.git" } ] diff --git a/packages/dd-trace/test/plugins/util/ci-env/buddy.json b/packages/dd-trace/test/plugins/util/ci-env/buddy.json index 57f34d10a8b..26bf616455b 100644 --- a/packages/dd-trace/test/plugins/util/ci-env/buddy.json +++ b/packages/dd-trace/test/plugins/util/ci-env/buddy.json @@ -4,7 +4,7 @@ "BUDDY": "true", "BUDDY_EXECUTION_BRANCH": "master", "BUDDY_EXECUTION_ID": "buddy-execution-id", - "BUDDY_EXECUTION_REVISION": "e5e13f8b7f8d5c6096a0501dc09b48eef05fea96", + "BUDDY_EXECUTION_REVISION": "b9f0fb3fdbb94c9d24b2c75b49663122a529e123", "BUDDY_EXECUTION_REVISION_COMMITTER_EMAIL": "mikebenson@buddy.works", "BUDDY_EXECUTION_REVISION_COMMITTER_NAME": "Mike Benson", "BUDDY_EXECUTION_REVISION_MESSAGE": "Create buddy.yml", @@ -12,7 +12,7 @@ "BUDDY_EXECUTION_URL": "https://app.buddy.works/myworkspace/my-project/pipelines/pipeline/456/execution/5d9dc42c422f5a268b389d08", "BUDDY_PIPELINE_ID": "456", "BUDDY_PIPELINE_NAME": "Deploy to Production", - "BUDDY_SCM_URL": "https://github.com/buddyworks/my-project" + "BUDDY_SCM_URL": "https://github.com/buddyworks/my-project.git" }, { "ci.pipeline.id": "456/buddy-execution-id", @@ -24,8 +24,8 @@ "git.commit.committer.email": "mikebenson@buddy.works", "git.commit.committer.name": "Mike Benson", "git.commit.message": "Create buddy.yml", - "git.commit.sha": "e5e13f8b7f8d5c6096a0501dc09b48eef05fea96", - "git.repository_url": "https://github.com/buddyworks/my-project", + "git.commit.sha": "b9f0fb3fdbb94c9d24b2c75b49663122a529e123", + "git.repository_url": "https://github.com/buddyworks/my-project.git", "git.tag": "v1.0" } ], @@ -34,7 +34,7 @@ "BUDDY": "true", "BUDDY_EXECUTION_BRANCH": "my-name-is-rotag/fix-original-bug", "BUDDY_EXECUTION_ID": "buddy-execution-id", - "BUDDY_EXECUTION_REVISION": "e5e13f8b7f8d5c6096a0501dc09b48eef05fea96", + "BUDDY_EXECUTION_REVISION": "b9f0fb3fdbb94c9d24b2c75b49663122a529e123", "BUDDY_EXECUTION_REVISION_COMMITTER_EMAIL": "mikebenson@buddy.works", "BUDDY_EXECUTION_REVISION_COMMITTER_NAME": "Mike Benson", "BUDDY_EXECUTION_REVISION_MESSAGE": "Create buddy.yml", @@ -42,7 +42,7 @@ "BUDDY_EXECUTION_URL": "https://app.buddy.works/myworkspace/my-project/pipelines/pipeline/456/execution/5d9dc42c422f5a268b389d08", "BUDDY_PIPELINE_ID": "456", "BUDDY_PIPELINE_NAME": "Deploy to Production", - "BUDDY_SCM_URL": "https://github.com/buddyworks/my-project" + "BUDDY_SCM_URL": "https://github.com/buddyworks/my-project.git" }, { "ci.pipeline.id": "456/buddy-execution-id", @@ -54,8 +54,8 @@ "git.commit.committer.email": "mikebenson@buddy.works", "git.commit.committer.name": "Mike Benson", "git.commit.message": "Create buddy.yml", - "git.commit.sha": "e5e13f8b7f8d5c6096a0501dc09b48eef05fea96", - "git.repository_url": "https://github.com/buddyworks/my-project", + "git.commit.sha": "b9f0fb3fdbb94c9d24b2c75b49663122a529e123", + "git.repository_url": "https://github.com/buddyworks/my-project.git", "git.tag": "v1.0" } ], @@ -64,7 +64,7 @@ "BUDDY": "true", "BUDDY_EXECUTION_BRANCH": "refs/heads/feature/one", "BUDDY_EXECUTION_ID": "buddy-execution-id", - "BUDDY_EXECUTION_REVISION": "e5e13f8b7f8d5c6096a0501dc09b48eef05fea96", + "BUDDY_EXECUTION_REVISION": "b9f0fb3fdbb94c9d24b2c75b49663122a529e123", "BUDDY_EXECUTION_REVISION_COMMITTER_EMAIL": "mikebenson@buddy.works", "BUDDY_EXECUTION_REVISION_COMMITTER_NAME": "Mike Benson", "BUDDY_EXECUTION_REVISION_MESSAGE": "Create buddy.yml", @@ -72,7 +72,7 @@ "BUDDY_EXECUTION_URL": "https://app.buddy.works/myworkspace/my-project/pipelines/pipeline/456/execution/5d9dc42c422f5a268b389d08", "BUDDY_PIPELINE_ID": "456", "BUDDY_PIPELINE_NAME": "Deploy to Production", - "BUDDY_SCM_URL": "https://github.com/buddyworks/my-project" + "BUDDY_SCM_URL": "https://github.com/buddyworks/my-project.git" }, { "ci.pipeline.id": "456/buddy-execution-id", @@ -84,8 +84,8 @@ "git.commit.committer.email": "mikebenson@buddy.works", "git.commit.committer.name": "Mike Benson", "git.commit.message": "Create buddy.yml", - "git.commit.sha": "e5e13f8b7f8d5c6096a0501dc09b48eef05fea96", - "git.repository_url": "https://github.com/buddyworks/my-project", + "git.commit.sha": "b9f0fb3fdbb94c9d24b2c75b49663122a529e123", + "git.repository_url": "https://github.com/buddyworks/my-project.git", "git.tag": "0.2.0" } ], @@ -94,7 +94,7 @@ "BUDDY": "true", "BUDDY_EXECUTION_BRANCH": "master", "BUDDY_EXECUTION_ID": "buddy-execution-id", - "BUDDY_EXECUTION_REVISION": "e5e13f8b7f8d5c6096a0501dc09b48eef05fea96", + "BUDDY_EXECUTION_REVISION": "b9f0fb3fdbb94c9d24b2c75b49663122a529e123", "BUDDY_EXECUTION_REVISION_COMMITTER_EMAIL": "mikebenson@buddy.works", "BUDDY_EXECUTION_REVISION_COMMITTER_NAME": "Mike Benson", "BUDDY_EXECUTION_REVISION_MESSAGE": "Create buddy.yml", @@ -102,7 +102,7 @@ "BUDDY_EXECUTION_URL": "https://app.buddy.works/myworkspace/my-project/pipelines/pipeline/456/execution/5d9dc42c422f5a268b389d08", "BUDDY_PIPELINE_ID": "456", "BUDDY_PIPELINE_NAME": "Deploy to Production", - "BUDDY_SCM_URL": "https://github.com/buddyworks/my-project", + "BUDDY_SCM_URL": "https://github.com/buddyworks/my-project.git", "DD_GIT_BRANCH": "user-supplied-branch", "DD_GIT_COMMIT_AUTHOR_DATE": "usersupplied-authordate", "DD_GIT_COMMIT_AUTHOR_EMAIL": "usersupplied-authoremail", @@ -139,7 +139,7 @@ "BUDDY": "true", "BUDDY_EXECUTION_BRANCH": "master", "BUDDY_EXECUTION_ID": "buddy-execution-id", - "BUDDY_EXECUTION_REVISION": "e5e13f8b7f8d5c6096a0501dc09b48eef05fea96", + "BUDDY_EXECUTION_REVISION": "b9f0fb3fdbb94c9d24b2c75b49663122a529e123", "BUDDY_EXECUTION_REVISION_COMMITTER_EMAIL": "mikebenson@buddy.works", "BUDDY_EXECUTION_REVISION_COMMITTER_NAME": "Mike Benson", "BUDDY_EXECUTION_REVISION_MESSAGE": "Create buddy.yml", @@ -147,7 +147,7 @@ "BUDDY_EXECUTION_URL": "https://app.buddy.works/myworkspace/my-project/pipelines/pipeline/456/execution/5d9dc42c422f5a268b389d08", "BUDDY_PIPELINE_ID": "456", "BUDDY_PIPELINE_NAME": "Deploy to Production", - "BUDDY_SCM_URL": "https://github.com/buddyworks/my-project", + "BUDDY_SCM_URL": "https://github.com/buddyworks/my-project.git", "DD_GIT_BRANCH": "user-supplied-branch", "DD_GIT_COMMIT_AUTHOR_DATE": "usersupplied-authordate", "DD_GIT_COMMIT_AUTHOR_EMAIL": "usersupplied-authoremail", diff --git a/packages/dd-trace/test/plugins/util/ci-env/buildkite.json b/packages/dd-trace/test/plugins/util/ci-env/buildkite.json index e68fdca4e7e..c332fd740d7 100644 --- a/packages/dd-trace/test/plugins/util/ci-env/buildkite.json +++ b/packages/dd-trace/test/plugins/util/ci-env/buildkite.json @@ -9,7 +9,7 @@ "BUILDKITE_BUILD_ID": "buildkite-pipeline-id", "BUILDKITE_BUILD_NUMBER": "buildkite-pipeline-number", "BUILDKITE_BUILD_URL": "https://buildkite-build-url.com", - "BUILDKITE_COMMIT": "buildkite-git-commit", + "BUILDKITE_COMMIT": "b9f0fb3fdbb94c9d24b2c75b49663122a529e123", "BUILDKITE_JOB_ID": "buildkite-job-id", "BUILDKITE_MESSAGE": "buildkite-git-commit-message", "BUILDKITE_PIPELINE_SLUG": "buildkite-pipeline-name", @@ -29,7 +29,7 @@ "git.commit.author.email": "buildkite-git-commit-author-email@datadoghq.com", "git.commit.author.name": "buildkite-git-commit-author-name", "git.commit.message": "buildkite-git-commit-message", - "git.commit.sha": "buildkite-git-commit", + "git.commit.sha": "b9f0fb3fdbb94c9d24b2c75b49663122a529e123", "git.repository_url": "http://hostname.com/repo.git" } ], @@ -43,7 +43,7 @@ "BUILDKITE_BUILD_ID": "buildkite-pipeline-id", "BUILDKITE_BUILD_NUMBER": "buildkite-pipeline-number", "BUILDKITE_BUILD_URL": "https://buildkite-build-url.com", - "BUILDKITE_COMMIT": "buildkite-git-commit", + "BUILDKITE_COMMIT": "b9f0fb3fdbb94c9d24b2c75b49663122a529e123", "BUILDKITE_JOB_ID": "buildkite-job-id", "BUILDKITE_MESSAGE": "buildkite-git-commit-message", "BUILDKITE_PIPELINE_SLUG": "buildkite-pipeline-name", @@ -63,7 +63,7 @@ "git.commit.author.email": "buildkite-git-commit-author-email@datadoghq.com", "git.commit.author.name": "buildkite-git-commit-author-name", "git.commit.message": "buildkite-git-commit-message", - "git.commit.sha": "buildkite-git-commit", + "git.commit.sha": "b9f0fb3fdbb94c9d24b2c75b49663122a529e123", "git.repository_url": "http://hostname.com/repo.git" } ], @@ -77,7 +77,7 @@ "BUILDKITE_BUILD_ID": "buildkite-pipeline-id", "BUILDKITE_BUILD_NUMBER": "buildkite-pipeline-number", "BUILDKITE_BUILD_URL": "https://buildkite-build-url.com", - "BUILDKITE_COMMIT": "buildkite-git-commit", + "BUILDKITE_COMMIT": "b9f0fb3fdbb94c9d24b2c75b49663122a529e123", "BUILDKITE_JOB_ID": "buildkite-job-id", "BUILDKITE_MESSAGE": "buildkite-git-commit-message", "BUILDKITE_PIPELINE_SLUG": "buildkite-pipeline-name", @@ -97,7 +97,7 @@ "git.commit.author.email": "buildkite-git-commit-author-email@datadoghq.com", "git.commit.author.name": "buildkite-git-commit-author-name", "git.commit.message": "buildkite-git-commit-message", - "git.commit.sha": "buildkite-git-commit", + "git.commit.sha": "b9f0fb3fdbb94c9d24b2c75b49663122a529e123", "git.repository_url": "http://hostname.com/repo.git" } ], @@ -111,7 +111,7 @@ "BUILDKITE_BUILD_ID": "buildkite-pipeline-id", "BUILDKITE_BUILD_NUMBER": "buildkite-pipeline-number", "BUILDKITE_BUILD_URL": "https://buildkite-build-url.com", - "BUILDKITE_COMMIT": "buildkite-git-commit", + "BUILDKITE_COMMIT": "b9f0fb3fdbb94c9d24b2c75b49663122a529e123", "BUILDKITE_JOB_ID": "buildkite-job-id", "BUILDKITE_MESSAGE": "buildkite-git-commit-message", "BUILDKITE_PIPELINE_SLUG": "buildkite-pipeline-name", @@ -131,7 +131,7 @@ "git.commit.author.email": "buildkite-git-commit-author-email@datadoghq.com", "git.commit.author.name": "buildkite-git-commit-author-name", "git.commit.message": "buildkite-git-commit-message", - "git.commit.sha": "buildkite-git-commit", + "git.commit.sha": "b9f0fb3fdbb94c9d24b2c75b49663122a529e123", "git.repository_url": "http://hostname.com/repo.git" } ], @@ -145,7 +145,7 @@ "BUILDKITE_BUILD_ID": "buildkite-pipeline-id", "BUILDKITE_BUILD_NUMBER": "buildkite-pipeline-number", "BUILDKITE_BUILD_URL": "https://buildkite-build-url.com", - "BUILDKITE_COMMIT": "buildkite-git-commit", + "BUILDKITE_COMMIT": "b9f0fb3fdbb94c9d24b2c75b49663122a529e123", "BUILDKITE_JOB_ID": "buildkite-job-id", "BUILDKITE_MESSAGE": "buildkite-git-commit-message", "BUILDKITE_PIPELINE_SLUG": "buildkite-pipeline-name", @@ -167,7 +167,7 @@ "git.commit.author.email": "buildkite-git-commit-author-email@datadoghq.com", "git.commit.author.name": "buildkite-git-commit-author-name", "git.commit.message": "buildkite-git-commit-message", - "git.commit.sha": "buildkite-git-commit", + "git.commit.sha": "b9f0fb3fdbb94c9d24b2c75b49663122a529e123", "git.repository_url": "http://hostname.com/repo.git" } ], @@ -181,7 +181,7 @@ "BUILDKITE_BUILD_ID": "buildkite-pipeline-id", "BUILDKITE_BUILD_NUMBER": "buildkite-pipeline-number", "BUILDKITE_BUILD_URL": "https://buildkite-build-url.com", - "BUILDKITE_COMMIT": "buildkite-git-commit", + "BUILDKITE_COMMIT": "b9f0fb3fdbb94c9d24b2c75b49663122a529e123", "BUILDKITE_JOB_ID": "buildkite-job-id", "BUILDKITE_MESSAGE": "buildkite-git-commit-message", "BUILDKITE_PIPELINE_SLUG": "buildkite-pipeline-name", @@ -203,7 +203,7 @@ "git.commit.author.email": "buildkite-git-commit-author-email@datadoghq.com", "git.commit.author.name": "buildkite-git-commit-author-name", "git.commit.message": "buildkite-git-commit-message", - "git.commit.sha": "buildkite-git-commit", + "git.commit.sha": "b9f0fb3fdbb94c9d24b2c75b49663122a529e123", "git.repository_url": "http://hostname.com/repo.git" } ], @@ -217,7 +217,7 @@ "BUILDKITE_BUILD_ID": "buildkite-pipeline-id", "BUILDKITE_BUILD_NUMBER": "buildkite-pipeline-number", "BUILDKITE_BUILD_URL": "https://buildkite-build-url.com", - "BUILDKITE_COMMIT": "buildkite-git-commit", + "BUILDKITE_COMMIT": "b9f0fb3fdbb94c9d24b2c75b49663122a529e123", "BUILDKITE_JOB_ID": "buildkite-job-id", "BUILDKITE_MESSAGE": "buildkite-git-commit-message", "BUILDKITE_PIPELINE_SLUG": "buildkite-pipeline-name", @@ -239,7 +239,7 @@ "git.commit.author.email": "buildkite-git-commit-author-email@datadoghq.com", "git.commit.author.name": "buildkite-git-commit-author-name", "git.commit.message": "buildkite-git-commit-message", - "git.commit.sha": "buildkite-git-commit", + "git.commit.sha": "b9f0fb3fdbb94c9d24b2c75b49663122a529e123", "git.repository_url": "http://hostname.com/repo.git" } ], @@ -253,7 +253,7 @@ "BUILDKITE_BUILD_ID": "buildkite-pipeline-id", "BUILDKITE_BUILD_NUMBER": "buildkite-pipeline-number", "BUILDKITE_BUILD_URL": "https://buildkite-build-url.com", - "BUILDKITE_COMMIT": "buildkite-git-commit", + "BUILDKITE_COMMIT": "b9f0fb3fdbb94c9d24b2c75b49663122a529e123", "BUILDKITE_JOB_ID": "buildkite-job-id", "BUILDKITE_MESSAGE": "buildkite-git-commit-message", "BUILDKITE_PIPELINE_SLUG": "buildkite-pipeline-name", @@ -273,7 +273,7 @@ "git.commit.author.email": "buildkite-git-commit-author-email@datadoghq.com", "git.commit.author.name": "buildkite-git-commit-author-name", "git.commit.message": "buildkite-git-commit-message", - "git.commit.sha": "buildkite-git-commit", + "git.commit.sha": "b9f0fb3fdbb94c9d24b2c75b49663122a529e123", "git.repository_url": "http://hostname.com/repo.git" } ], @@ -287,7 +287,7 @@ "BUILDKITE_BUILD_ID": "buildkite-pipeline-id", "BUILDKITE_BUILD_NUMBER": "buildkite-pipeline-number", "BUILDKITE_BUILD_URL": "https://buildkite-build-url.com", - "BUILDKITE_COMMIT": "buildkite-git-commit", + "BUILDKITE_COMMIT": "b9f0fb3fdbb94c9d24b2c75b49663122a529e123", "BUILDKITE_JOB_ID": "buildkite-job-id", "BUILDKITE_MESSAGE": "buildkite-git-commit-message", "BUILDKITE_PIPELINE_SLUG": "buildkite-pipeline-name", @@ -307,7 +307,7 @@ "git.commit.author.email": "buildkite-git-commit-author-email@datadoghq.com", "git.commit.author.name": "buildkite-git-commit-author-name", "git.commit.message": "buildkite-git-commit-message", - "git.commit.sha": "buildkite-git-commit", + "git.commit.sha": "b9f0fb3fdbb94c9d24b2c75b49663122a529e123", "git.repository_url": "http://hostname.com/repo.git" } ], @@ -321,7 +321,7 @@ "BUILDKITE_BUILD_ID": "buildkite-pipeline-id", "BUILDKITE_BUILD_NUMBER": "buildkite-pipeline-number", "BUILDKITE_BUILD_URL": "https://buildkite-build-url.com", - "BUILDKITE_COMMIT": "buildkite-git-commit", + "BUILDKITE_COMMIT": "b9f0fb3fdbb94c9d24b2c75b49663122a529e123", "BUILDKITE_JOB_ID": "buildkite-job-id", "BUILDKITE_MESSAGE": "buildkite-git-commit-message", "BUILDKITE_PIPELINE_SLUG": "buildkite-pipeline-name", @@ -341,7 +341,7 @@ "git.commit.author.email": "buildkite-git-commit-author-email@datadoghq.com", "git.commit.author.name": "buildkite-git-commit-author-name", "git.commit.message": "buildkite-git-commit-message", - "git.commit.sha": "buildkite-git-commit", + "git.commit.sha": "b9f0fb3fdbb94c9d24b2c75b49663122a529e123", "git.repository_url": "http://hostname.com/repo.git" } ], @@ -355,7 +355,7 @@ "BUILDKITE_BUILD_ID": "buildkite-pipeline-id", "BUILDKITE_BUILD_NUMBER": "buildkite-pipeline-number", "BUILDKITE_BUILD_URL": "https://buildkite-build-url.com", - "BUILDKITE_COMMIT": "buildkite-git-commit", + "BUILDKITE_COMMIT": "b9f0fb3fdbb94c9d24b2c75b49663122a529e123", "BUILDKITE_JOB_ID": "buildkite-job-id", "BUILDKITE_MESSAGE": "buildkite-git-commit-message", "BUILDKITE_PIPELINE_SLUG": "buildkite-pipeline-name", @@ -375,7 +375,7 @@ "git.commit.author.email": "buildkite-git-commit-author-email@datadoghq.com", "git.commit.author.name": "buildkite-git-commit-author-name", "git.commit.message": "buildkite-git-commit-message", - "git.commit.sha": "buildkite-git-commit", + "git.commit.sha": "b9f0fb3fdbb94c9d24b2c75b49663122a529e123", "git.repository_url": "git@hostname.com:org/repo.git" } ], @@ -389,7 +389,7 @@ "BUILDKITE_BUILD_ID": "buildkite-pipeline-id", "BUILDKITE_BUILD_NUMBER": "buildkite-pipeline-number", "BUILDKITE_BUILD_URL": "https://buildkite-build-url.com", - "BUILDKITE_COMMIT": "buildkite-git-commit", + "BUILDKITE_COMMIT": "b9f0fb3fdbb94c9d24b2c75b49663122a529e123", "BUILDKITE_JOB_ID": "buildkite-job-id", "BUILDKITE_MESSAGE": "buildkite-git-commit-message", "BUILDKITE_PIPELINE_SLUG": "buildkite-pipeline-name", @@ -409,7 +409,7 @@ "git.commit.author.email": "buildkite-git-commit-author-email@datadoghq.com", "git.commit.author.name": "buildkite-git-commit-author-name", "git.commit.message": "buildkite-git-commit-message", - "git.commit.sha": "buildkite-git-commit", + "git.commit.sha": "b9f0fb3fdbb94c9d24b2c75b49663122a529e123", "git.repository_url": "http://hostname.com/repo.git" } ], @@ -423,7 +423,7 @@ "BUILDKITE_BUILD_ID": "buildkite-pipeline-id", "BUILDKITE_BUILD_NUMBER": "buildkite-pipeline-number", "BUILDKITE_BUILD_URL": "https://buildkite-build-url.com", - "BUILDKITE_COMMIT": "buildkite-git-commit", + "BUILDKITE_COMMIT": "b9f0fb3fdbb94c9d24b2c75b49663122a529e123", "BUILDKITE_JOB_ID": "buildkite-job-id", "BUILDKITE_MESSAGE": "buildkite-git-commit-message", "BUILDKITE_PIPELINE_SLUG": "buildkite-pipeline-name", @@ -443,7 +443,7 @@ "git.commit.author.email": "buildkite-git-commit-author-email@datadoghq.com", "git.commit.author.name": "buildkite-git-commit-author-name", "git.commit.message": "buildkite-git-commit-message", - "git.commit.sha": "buildkite-git-commit", + "git.commit.sha": "b9f0fb3fdbb94c9d24b2c75b49663122a529e123", "git.repository_url": "http://hostname.com/repo.git" } ], @@ -457,7 +457,7 @@ "BUILDKITE_BUILD_ID": "buildkite-pipeline-id", "BUILDKITE_BUILD_NUMBER": "buildkite-pipeline-number", "BUILDKITE_BUILD_URL": "https://buildkite-build-url.com", - "BUILDKITE_COMMIT": "buildkite-git-commit", + "BUILDKITE_COMMIT": "b9f0fb3fdbb94c9d24b2c75b49663122a529e123", "BUILDKITE_JOB_ID": "buildkite-job-id", "BUILDKITE_MESSAGE": "buildkite-git-commit-message", "BUILDKITE_PIPELINE_SLUG": "buildkite-pipeline-name", @@ -477,7 +477,7 @@ "git.commit.author.email": "buildkite-git-commit-author-email@datadoghq.com", "git.commit.author.name": "buildkite-git-commit-author-name", "git.commit.message": "buildkite-git-commit-message", - "git.commit.sha": "buildkite-git-commit", + "git.commit.sha": "b9f0fb3fdbb94c9d24b2c75b49663122a529e123", "git.repository_url": "http://hostname.com/repo.git" } ], @@ -491,7 +491,7 @@ "BUILDKITE_BUILD_ID": "buildkite-pipeline-id", "BUILDKITE_BUILD_NUMBER": "buildkite-pipeline-number", "BUILDKITE_BUILD_URL": "https://buildkite-build-url.com", - "BUILDKITE_COMMIT": "buildkite-git-commit", + "BUILDKITE_COMMIT": "b9f0fb3fdbb94c9d24b2c75b49663122a529e123", "BUILDKITE_JOB_ID": "buildkite-job-id", "BUILDKITE_MESSAGE": "buildkite-git-commit-message", "BUILDKITE_PIPELINE_SLUG": "buildkite-pipeline-name", @@ -510,7 +510,7 @@ "git.commit.author.email": "buildkite-git-commit-author-email@datadoghq.com", "git.commit.author.name": "buildkite-git-commit-author-name", "git.commit.message": "buildkite-git-commit-message", - "git.commit.sha": "buildkite-git-commit", + "git.commit.sha": "b9f0fb3fdbb94c9d24b2c75b49663122a529e123", "git.repository_url": "http://hostname.com/repo.git", "git.tag": "0.1.0" } @@ -525,7 +525,7 @@ "BUILDKITE_BUILD_ID": "buildkite-pipeline-id", "BUILDKITE_BUILD_NUMBER": "buildkite-pipeline-number", "BUILDKITE_BUILD_URL": "https://buildkite-build-url.com", - "BUILDKITE_COMMIT": "buildkite-git-commit", + "BUILDKITE_COMMIT": "b9f0fb3fdbb94c9d24b2c75b49663122a529e123", "BUILDKITE_JOB_ID": "buildkite-job-id", "BUILDKITE_MESSAGE": "buildkite-git-commit-message", "BUILDKITE_PIPELINE_SLUG": "buildkite-pipeline-name", @@ -544,7 +544,7 @@ "git.commit.author.email": "buildkite-git-commit-author-email@datadoghq.com", "git.commit.author.name": "buildkite-git-commit-author-name", "git.commit.message": "buildkite-git-commit-message", - "git.commit.sha": "buildkite-git-commit", + "git.commit.sha": "b9f0fb3fdbb94c9d24b2c75b49663122a529e123", "git.repository_url": "http://hostname.com/repo.git", "git.tag": "0.1.0" } @@ -559,7 +559,7 @@ "BUILDKITE_BUILD_ID": "buildkite-pipeline-id", "BUILDKITE_BUILD_NUMBER": "buildkite-pipeline-number", "BUILDKITE_BUILD_URL": "https://buildkite-build-url.com", - "BUILDKITE_COMMIT": "buildkite-git-commit", + "BUILDKITE_COMMIT": "b9f0fb3fdbb94c9d24b2c75b49663122a529e123", "BUILDKITE_JOB_ID": "buildkite-job-id", "BUILDKITE_MESSAGE": "buildkite-git-commit-message", "BUILDKITE_PIPELINE_SLUG": "buildkite-pipeline-name", @@ -578,7 +578,7 @@ "git.commit.author.email": "buildkite-git-commit-author-email@datadoghq.com", "git.commit.author.name": "buildkite-git-commit-author-name", "git.commit.message": "buildkite-git-commit-message", - "git.commit.sha": "buildkite-git-commit", + "git.commit.sha": "b9f0fb3fdbb94c9d24b2c75b49663122a529e123", "git.repository_url": "http://hostname.com/repo.git", "git.tag": "0.1.0" } @@ -592,7 +592,7 @@ "BUILDKITE_BUILD_ID": "buildkite-pipeline-id", "BUILDKITE_BUILD_NUMBER": "buildkite-pipeline-number", "BUILDKITE_BUILD_URL": "https://buildkite-build-url.com", - "BUILDKITE_COMMIT": "buildkite-git-commit", + "BUILDKITE_COMMIT": "b9f0fb3fdbb94c9d24b2c75b49663122a529e123", "BUILDKITE_JOB_ID": "buildkite-job-id", "BUILDKITE_MESSAGE": "buildkite-git-commit-message", "BUILDKITE_PIPELINE_SLUG": "buildkite-pipeline-name", @@ -637,7 +637,7 @@ "BUILDKITE_BUILD_ID": "buildkite-pipeline-id", "BUILDKITE_BUILD_NUMBER": "buildkite-pipeline-number", "BUILDKITE_BUILD_URL": "https://buildkite-build-url.com", - "BUILDKITE_COMMIT": "buildkite-git-commit", + "BUILDKITE_COMMIT": "b9f0fb3fdbb94c9d24b2c75b49663122a529e123", "BUILDKITE_JOB_ID": "buildkite-job-id", "BUILDKITE_MESSAGE": "buildkite-git-commit-message", "BUILDKITE_PIPELINE_SLUG": "buildkite-pipeline-name", @@ -682,7 +682,7 @@ "BUILDKITE_BUILD_ID": "buildkite-pipeline-id", "BUILDKITE_BUILD_NUMBER": "buildkite-pipeline-number", "BUILDKITE_BUILD_URL": "https://buildkite-build-url.com", - "BUILDKITE_COMMIT": "buildkite-git-commit", + "BUILDKITE_COMMIT": "b9f0fb3fdbb94c9d24b2c75b49663122a529e123", "BUILDKITE_JOB_ID": "buildkite-job-id", "BUILDKITE_MESSAGE": "buildkite-git-commit-message", "BUILDKITE_PIPELINE_SLUG": "buildkite-pipeline-name", @@ -700,7 +700,7 @@ "git.commit.author.email": "buildkite-git-commit-author-email@datadoghq.com", "git.commit.author.name": "buildkite-git-commit-author-name", "git.commit.message": "buildkite-git-commit-message", - "git.commit.sha": "buildkite-git-commit", + "git.commit.sha": "b9f0fb3fdbb94c9d24b2c75b49663122a529e123", "git.repository_url": "https://github.com/DataDog/dogweb.git" } ], @@ -716,7 +716,7 @@ "BUILDKITE_BUILD_ID": "buildkite-pipeline-id", "BUILDKITE_BUILD_NUMBER": "buildkite-pipeline-number", "BUILDKITE_BUILD_URL": "https://buildkite-build-url.com", - "BUILDKITE_COMMIT": "buildkite-git-commit", + "BUILDKITE_COMMIT": "b9f0fb3fdbb94c9d24b2c75b49663122a529e123", "BUILDKITE_JOB_ID": "buildkite-job-id", "BUILDKITE_MESSAGE": "buildkite-git-commit-message", "BUILDKITE_PIPELINE_SLUG": "buildkite-pipeline-name", @@ -735,7 +735,7 @@ "git.commit.author.email": "buildkite-git-commit-author-email@datadoghq.com", "git.commit.author.name": "buildkite-git-commit-author-name", "git.commit.message": "buildkite-git-commit-message", - "git.commit.sha": "buildkite-git-commit" + "git.commit.sha": "b9f0fb3fdbb94c9d24b2c75b49663122a529e123" } ] ] diff --git a/packages/dd-trace/test/plugins/util/ci-env/circleci.json b/packages/dd-trace/test/plugins/util/ci-env/circleci.json index 46691e205dd..8efa8c353f0 100644 --- a/packages/dd-trace/test/plugins/util/ci-env/circleci.json +++ b/packages/dd-trace/test/plugins/util/ci-env/circleci.json @@ -7,8 +7,8 @@ "CIRCLE_BUILD_URL": "https://circleci-build-url.com/", "CIRCLE_JOB": "circleci-job-name", "CIRCLE_PROJECT_REPONAME": "circleci-pipeline-name", - "CIRCLE_REPOSITORY_URL": "https://circleci-build-url.com/", - "CIRCLE_SHA1": "circleci-git-commit", + "CIRCLE_REPOSITORY_URL": "https://circleci-build-url.com/repo.git", + "CIRCLE_SHA1": "b9f0fb3fdbb94c9d24b2c75b49663122a529e123", "CIRCLE_WORKFLOW_ID": "circleci-pipeline-id", "CIRCLE_WORKING_DIRECTORY": "/foo/bar" }, @@ -22,8 +22,8 @@ "ci.provider.name": "circleci", "ci.workspace_path": "/foo/bar", "git.branch": "master", - "git.commit.sha": "circleci-git-commit", - "git.repository_url": "https://circleci-build-url.com/" + "git.commit.sha": "b9f0fb3fdbb94c9d24b2c75b49663122a529e123", + "git.repository_url": "https://circleci-build-url.com/repo.git" } ], [ @@ -34,8 +34,8 @@ "CIRCLE_BUILD_URL": "https://circleci-build-url.com/", "CIRCLE_JOB": "circleci-job-name", "CIRCLE_PROJECT_REPONAME": "circleci-pipeline-name", - "CIRCLE_REPOSITORY_URL": "https://circleci-build-url.com/", - "CIRCLE_SHA1": "circleci-git-commit", + "CIRCLE_REPOSITORY_URL": "https://circleci-build-url.com/repo.git", + "CIRCLE_SHA1": "b9f0fb3fdbb94c9d24b2c75b49663122a529e123", "CIRCLE_WORKFLOW_ID": "circleci-pipeline-id", "CIRCLE_WORKING_DIRECTORY": "foo/bar" }, @@ -49,8 +49,8 @@ "ci.provider.name": "circleci", "ci.workspace_path": "foo/bar", "git.branch": "master", - "git.commit.sha": "circleci-git-commit", - "git.repository_url": "https://circleci-build-url.com/" + "git.commit.sha": "b9f0fb3fdbb94c9d24b2c75b49663122a529e123", + "git.repository_url": "https://circleci-build-url.com/repo.git" } ], [ @@ -61,8 +61,8 @@ "CIRCLE_BUILD_URL": "https://circleci-build-url.com/", "CIRCLE_JOB": "circleci-job-name", "CIRCLE_PROJECT_REPONAME": "circleci-pipeline-name", - "CIRCLE_REPOSITORY_URL": "https://circleci-build-url.com/", - "CIRCLE_SHA1": "circleci-git-commit", + "CIRCLE_REPOSITORY_URL": "https://circleci-build-url.com/repo.git", + "CIRCLE_SHA1": "b9f0fb3fdbb94c9d24b2c75b49663122a529e123", "CIRCLE_WORKFLOW_ID": "circleci-pipeline-id", "CIRCLE_WORKING_DIRECTORY": "/foo/bar~" }, @@ -76,8 +76,8 @@ "ci.provider.name": "circleci", "ci.workspace_path": "/foo/bar~", "git.branch": "master", - "git.commit.sha": "circleci-git-commit", - "git.repository_url": "https://circleci-build-url.com/" + "git.commit.sha": "b9f0fb3fdbb94c9d24b2c75b49663122a529e123", + "git.repository_url": "https://circleci-build-url.com/repo.git" } ], [ @@ -88,8 +88,8 @@ "CIRCLE_BUILD_URL": "https://circleci-build-url.com/", "CIRCLE_JOB": "circleci-job-name", "CIRCLE_PROJECT_REPONAME": "circleci-pipeline-name", - "CIRCLE_REPOSITORY_URL": "https://circleci-build-url.com/", - "CIRCLE_SHA1": "circleci-git-commit", + "CIRCLE_REPOSITORY_URL": "https://circleci-build-url.com/repo.git", + "CIRCLE_SHA1": "b9f0fb3fdbb94c9d24b2c75b49663122a529e123", "CIRCLE_WORKFLOW_ID": "circleci-pipeline-id", "CIRCLE_WORKING_DIRECTORY": "/foo/~/bar" }, @@ -103,8 +103,8 @@ "ci.provider.name": "circleci", "ci.workspace_path": "/foo/~/bar", "git.branch": "master", - "git.commit.sha": "circleci-git-commit", - "git.repository_url": "https://circleci-build-url.com/" + "git.commit.sha": "b9f0fb3fdbb94c9d24b2c75b49663122a529e123", + "git.repository_url": "https://circleci-build-url.com/repo.git" } ], [ @@ -115,8 +115,8 @@ "CIRCLE_BUILD_URL": "https://circleci-build-url.com/", "CIRCLE_JOB": "circleci-job-name", "CIRCLE_PROJECT_REPONAME": "circleci-pipeline-name", - "CIRCLE_REPOSITORY_URL": "https://circleci-build-url.com/", - "CIRCLE_SHA1": "circleci-git-commit", + "CIRCLE_REPOSITORY_URL": "https://circleci-build-url.com/repo.git", + "CIRCLE_SHA1": "b9f0fb3fdbb94c9d24b2c75b49663122a529e123", "CIRCLE_WORKFLOW_ID": "circleci-pipeline-id", "CIRCLE_WORKING_DIRECTORY": "~/foo/bar", "HOME": "/not-my-home", @@ -132,8 +132,8 @@ "ci.provider.name": "circleci", "ci.workspace_path": "/not-my-home/foo/bar", "git.branch": "master", - "git.commit.sha": "circleci-git-commit", - "git.repository_url": "https://circleci-build-url.com/" + "git.commit.sha": "b9f0fb3fdbb94c9d24b2c75b49663122a529e123", + "git.repository_url": "https://circleci-build-url.com/repo.git" } ], [ @@ -144,8 +144,8 @@ "CIRCLE_BUILD_URL": "https://circleci-build-url.com/", "CIRCLE_JOB": "circleci-job-name", "CIRCLE_PROJECT_REPONAME": "circleci-pipeline-name", - "CIRCLE_REPOSITORY_URL": "https://circleci-build-url.com/", - "CIRCLE_SHA1": "circleci-git-commit", + "CIRCLE_REPOSITORY_URL": "https://circleci-build-url.com/repo.git", + "CIRCLE_SHA1": "b9f0fb3fdbb94c9d24b2c75b49663122a529e123", "CIRCLE_WORKFLOW_ID": "circleci-pipeline-id", "CIRCLE_WORKING_DIRECTORY": "~foo/bar", "HOME": "/not-my-home", @@ -161,8 +161,8 @@ "ci.provider.name": "circleci", "ci.workspace_path": "~foo/bar", "git.branch": "master", - "git.commit.sha": "circleci-git-commit", - "git.repository_url": "https://circleci-build-url.com/" + "git.commit.sha": "b9f0fb3fdbb94c9d24b2c75b49663122a529e123", + "git.repository_url": "https://circleci-build-url.com/repo.git" } ], [ @@ -173,8 +173,8 @@ "CIRCLE_BUILD_URL": "https://circleci-build-url.com/", "CIRCLE_JOB": "circleci-job-name", "CIRCLE_PROJECT_REPONAME": "circleci-pipeline-name", - "CIRCLE_REPOSITORY_URL": "https://circleci-build-url.com/", - "CIRCLE_SHA1": "circleci-git-commit", + "CIRCLE_REPOSITORY_URL": "https://circleci-build-url.com/repo.git", + "CIRCLE_SHA1": "b9f0fb3fdbb94c9d24b2c75b49663122a529e123", "CIRCLE_WORKFLOW_ID": "circleci-pipeline-id", "CIRCLE_WORKING_DIRECTORY": "~", "HOME": "/not-my-home", @@ -190,8 +190,8 @@ "ci.provider.name": "circleci", "ci.workspace_path": "/not-my-home", "git.branch": "master", - "git.commit.sha": "circleci-git-commit", - "git.repository_url": "https://circleci-build-url.com/" + "git.commit.sha": "b9f0fb3fdbb94c9d24b2c75b49663122a529e123", + "git.repository_url": "https://circleci-build-url.com/repo.git" } ], [ @@ -202,8 +202,8 @@ "CIRCLE_BUILD_URL": "https://circleci-build-url.com/", "CIRCLE_JOB": "circleci-job-name", "CIRCLE_PROJECT_REPONAME": "circleci-pipeline-name", - "CIRCLE_REPOSITORY_URL": "https://circleci-build-url.com/", - "CIRCLE_SHA1": "circleci-git-commit", + "CIRCLE_REPOSITORY_URL": "https://circleci-build-url.com/repo.git", + "CIRCLE_SHA1": "b9f0fb3fdbb94c9d24b2c75b49663122a529e123", "CIRCLE_WORKFLOW_ID": "circleci-pipeline-id", "CIRCLE_WORKING_DIRECTORY": "/foo/bar" }, @@ -217,8 +217,8 @@ "ci.provider.name": "circleci", "ci.workspace_path": "/foo/bar", "git.branch": "master", - "git.commit.sha": "circleci-git-commit", - "git.repository_url": "https://circleci-build-url.com/" + "git.commit.sha": "b9f0fb3fdbb94c9d24b2c75b49663122a529e123", + "git.repository_url": "https://circleci-build-url.com/repo.git" } ], [ @@ -229,8 +229,8 @@ "CIRCLE_BUILD_URL": "https://circleci-build-url.com/", "CIRCLE_JOB": "circleci-job-name", "CIRCLE_PROJECT_REPONAME": "circleci-pipeline-name", - "CIRCLE_REPOSITORY_URL": "https://circleci-build-url.com/", - "CIRCLE_SHA1": "circleci-git-commit", + "CIRCLE_REPOSITORY_URL": "https://circleci-build-url.com/repo.git", + "CIRCLE_SHA1": "b9f0fb3fdbb94c9d24b2c75b49663122a529e123", "CIRCLE_WORKFLOW_ID": "circleci-pipeline-id", "CIRCLE_WORKING_DIRECTORY": "/foo/bar" }, @@ -244,8 +244,8 @@ "ci.provider.name": "circleci", "ci.workspace_path": "/foo/bar", "git.branch": "feature/one", - "git.commit.sha": "circleci-git-commit", - "git.repository_url": "https://circleci-build-url.com/" + "git.commit.sha": "b9f0fb3fdbb94c9d24b2c75b49663122a529e123", + "git.repository_url": "https://circleci-build-url.com/repo.git" } ], [ @@ -256,8 +256,8 @@ "CIRCLE_BUILD_URL": "https://circleci-build-url.com/", "CIRCLE_JOB": "circleci-job-name", "CIRCLE_PROJECT_REPONAME": "circleci-pipeline-name", - "CIRCLE_REPOSITORY_URL": "https://circleci-build-url.com/", - "CIRCLE_SHA1": "circleci-git-commit", + "CIRCLE_REPOSITORY_URL": "https://circleci-build-url.com/repo.git", + "CIRCLE_SHA1": "b9f0fb3fdbb94c9d24b2c75b49663122a529e123", "CIRCLE_TAG": "origin/tags/0.1.0", "CIRCLE_WORKFLOW_ID": "circleci-pipeline-id", "CIRCLE_WORKING_DIRECTORY": "/foo/bar" @@ -271,8 +271,8 @@ "ci.pipeline.url": "https://app.circleci.com/pipelines/workflows/circleci-pipeline-id", "ci.provider.name": "circleci", "ci.workspace_path": "/foo/bar", - "git.commit.sha": "circleci-git-commit", - "git.repository_url": "https://circleci-build-url.com/", + "git.commit.sha": "b9f0fb3fdbb94c9d24b2c75b49663122a529e123", + "git.repository_url": "https://circleci-build-url.com/repo.git", "git.tag": "0.1.0" } ], @@ -284,8 +284,8 @@ "CIRCLE_BUILD_URL": "https://circleci-build-url.com/", "CIRCLE_JOB": "circleci-job-name", "CIRCLE_PROJECT_REPONAME": "circleci-pipeline-name", - "CIRCLE_REPOSITORY_URL": "https://circleci-build-url.com/", - "CIRCLE_SHA1": "circleci-git-commit", + "CIRCLE_REPOSITORY_URL": "https://circleci-build-url.com/repo.git", + "CIRCLE_SHA1": "b9f0fb3fdbb94c9d24b2c75b49663122a529e123", "CIRCLE_TAG": "refs/heads/tags/0.1.0", "CIRCLE_WORKFLOW_ID": "circleci-pipeline-id", "CIRCLE_WORKING_DIRECTORY": "/foo/bar" @@ -299,8 +299,8 @@ "ci.pipeline.url": "https://app.circleci.com/pipelines/workflows/circleci-pipeline-id", "ci.provider.name": "circleci", "ci.workspace_path": "/foo/bar", - "git.commit.sha": "circleci-git-commit", - "git.repository_url": "https://circleci-build-url.com/", + "git.commit.sha": "b9f0fb3fdbb94c9d24b2c75b49663122a529e123", + "git.repository_url": "https://circleci-build-url.com/repo.git", "git.tag": "0.1.0" } ], @@ -313,7 +313,7 @@ "CIRCLE_JOB": "circleci-job-name", "CIRCLE_PROJECT_REPONAME": "circleci-pipeline-name", "CIRCLE_REPOSITORY_URL": "http://hostname.com/repo.git", - "CIRCLE_SHA1": "circleci-git-commit", + "CIRCLE_SHA1": "b9f0fb3fdbb94c9d24b2c75b49663122a529e123", "CIRCLE_WORKFLOW_ID": "circleci-pipeline-id", "CIRCLE_WORKING_DIRECTORY": "/foo/bar" }, @@ -327,7 +327,7 @@ "ci.provider.name": "circleci", "ci.workspace_path": "/foo/bar", "git.branch": "master", - "git.commit.sha": "circleci-git-commit", + "git.commit.sha": "b9f0fb3fdbb94c9d24b2c75b49663122a529e123", "git.repository_url": "http://hostname.com/repo.git" } ], @@ -340,7 +340,7 @@ "CIRCLE_JOB": "circleci-job-name", "CIRCLE_PROJECT_REPONAME": "circleci-pipeline-name", "CIRCLE_REPOSITORY_URL": "http://user@hostname.com/repo.git", - "CIRCLE_SHA1": "circleci-git-commit", + "CIRCLE_SHA1": "b9f0fb3fdbb94c9d24b2c75b49663122a529e123", "CIRCLE_WORKFLOW_ID": "circleci-pipeline-id", "CIRCLE_WORKING_DIRECTORY": "/foo/bar" }, @@ -354,7 +354,7 @@ "ci.provider.name": "circleci", "ci.workspace_path": "/foo/bar", "git.branch": "master", - "git.commit.sha": "circleci-git-commit", + "git.commit.sha": "b9f0fb3fdbb94c9d24b2c75b49663122a529e123", "git.repository_url": "http://hostname.com/repo.git" } ], @@ -367,7 +367,7 @@ "CIRCLE_JOB": "circleci-job-name", "CIRCLE_PROJECT_REPONAME": "circleci-pipeline-name", "CIRCLE_REPOSITORY_URL": "http://user%E2%82%AC@hostname.com/repo.git", - "CIRCLE_SHA1": "circleci-git-commit", + "CIRCLE_SHA1": "b9f0fb3fdbb94c9d24b2c75b49663122a529e123", "CIRCLE_WORKFLOW_ID": "circleci-pipeline-id", "CIRCLE_WORKING_DIRECTORY": "/foo/bar" }, @@ -381,7 +381,7 @@ "ci.provider.name": "circleci", "ci.workspace_path": "/foo/bar", "git.branch": "master", - "git.commit.sha": "circleci-git-commit", + "git.commit.sha": "b9f0fb3fdbb94c9d24b2c75b49663122a529e123", "git.repository_url": "http://hostname.com/repo.git" } ], @@ -394,7 +394,7 @@ "CIRCLE_JOB": "circleci-job-name", "CIRCLE_PROJECT_REPONAME": "circleci-pipeline-name", "CIRCLE_REPOSITORY_URL": "http://user:pwd@hostname.com/repo.git", - "CIRCLE_SHA1": "circleci-git-commit", + "CIRCLE_SHA1": "b9f0fb3fdbb94c9d24b2c75b49663122a529e123", "CIRCLE_WORKFLOW_ID": "circleci-pipeline-id", "CIRCLE_WORKING_DIRECTORY": "/foo/bar" }, @@ -408,7 +408,7 @@ "ci.provider.name": "circleci", "ci.workspace_path": "/foo/bar", "git.branch": "master", - "git.commit.sha": "circleci-git-commit", + "git.commit.sha": "b9f0fb3fdbb94c9d24b2c75b49663122a529e123", "git.repository_url": "http://hostname.com/repo.git" } ], @@ -421,7 +421,7 @@ "CIRCLE_JOB": "circleci-job-name", "CIRCLE_PROJECT_REPONAME": "circleci-pipeline-name", "CIRCLE_REPOSITORY_URL": "git@hostname.com:org/repo.git", - "CIRCLE_SHA1": "circleci-git-commit", + "CIRCLE_SHA1": "b9f0fb3fdbb94c9d24b2c75b49663122a529e123", "CIRCLE_WORKFLOW_ID": "circleci-pipeline-id", "CIRCLE_WORKING_DIRECTORY": "/foo/bar" }, @@ -435,7 +435,7 @@ "ci.provider.name": "circleci", "ci.workspace_path": "/foo/bar", "git.branch": "master", - "git.commit.sha": "circleci-git-commit", + "git.commit.sha": "b9f0fb3fdbb94c9d24b2c75b49663122a529e123", "git.repository_url": "git@hostname.com:org/repo.git" } ], @@ -446,7 +446,7 @@ "CIRCLE_BUILD_URL": "https://circleci-build-url.com/", "CIRCLE_JOB": "circleci-job-name", "CIRCLE_PROJECT_REPONAME": "circleci-pipeline-name", - "CIRCLE_SHA1": "circleci-git-commit", + "CIRCLE_SHA1": "b9f0fb3fdbb94c9d24b2c75b49663122a529e123", "CIRCLE_WORKFLOW_ID": "circleci-pipeline-id", "DD_GIT_BRANCH": "user-supplied-branch", "DD_GIT_COMMIT_AUTHOR_DATE": "usersupplied-authordate", @@ -486,7 +486,7 @@ "CIRCLE_BUILD_URL": "https://circleci-build-url.com/", "CIRCLE_JOB": "circleci-job-name", "CIRCLE_PROJECT_REPONAME": "circleci-pipeline-name", - "CIRCLE_SHA1": "circleci-git-commit", + "CIRCLE_SHA1": "b9f0fb3fdbb94c9d24b2c75b49663122a529e123", "CIRCLE_WORKFLOW_ID": "circleci-pipeline-id", "DD_GIT_COMMIT_AUTHOR_DATE": "usersupplied-authordate", "DD_GIT_COMMIT_AUTHOR_EMAIL": "usersupplied-authoremail", @@ -527,7 +527,7 @@ "CIRCLE_JOB": "circleci-job-name", "CIRCLE_PROJECT_REPONAME": "circleci-pipeline-name", "CIRCLE_REPOSITORY_URL": "https://user:password@github.com/DataDog/dogweb.git", - "CIRCLE_SHA1": "circleci-git-commit", + "CIRCLE_SHA1": "b9f0fb3fdbb94c9d24b2c75b49663122a529e123", "CIRCLE_WORKFLOW_ID": "circleci-pipeline-id" }, { @@ -538,7 +538,7 @@ "ci.pipeline.name": "circleci-pipeline-name", "ci.pipeline.url": "https://app.circleci.com/pipelines/workflows/circleci-pipeline-id", "ci.provider.name": "circleci", - "git.commit.sha": "circleci-git-commit", + "git.commit.sha": "b9f0fb3fdbb94c9d24b2c75b49663122a529e123", "git.repository_url": "https://github.com/DataDog/dogweb.git" } ] diff --git a/packages/dd-trace/test/plugins/util/ci-env/github.json b/packages/dd-trace/test/plugins/util/ci-env/github.json index 918ff12a5ef..e5df52c58ba 100644 --- a/packages/dd-trace/test/plugins/util/ci-env/github.json +++ b/packages/dd-trace/test/plugins/util/ci-env/github.json @@ -8,14 +8,14 @@ "GITHUB_RUN_ID": "ghactions-pipeline-id", "GITHUB_RUN_NUMBER": "ghactions-pipeline-number", "GITHUB_SERVER_URL": "https://ghenterprise.com", - "GITHUB_SHA": "ghactions-commit", + "GITHUB_SHA": "b9f0fb3fdbb94c9d24b2c75b49663122a529e123", "GITHUB_WORKFLOW": "ghactions-pipeline-name", "GITHUB_WORKSPACE": "/foo/bar" }, { "_dd.ci.env_vars": "{\"GITHUB_SERVER_URL\":\"https://ghenterprise.com\",\"GITHUB_REPOSITORY\":\"ghactions-repo\",\"GITHUB_RUN_ID\":\"ghactions-pipeline-id\"}", "ci.job.name": "github-job-name", - "ci.job.url": "https://ghenterprise.com/ghactions-repo/commit/ghactions-commit/checks", + "ci.job.url": "https://ghenterprise.com/ghactions-repo/commit/b9f0fb3fdbb94c9d24b2c75b49663122a529e123/checks", "ci.pipeline.id": "ghactions-pipeline-id", "ci.pipeline.name": "ghactions-pipeline-name", "ci.pipeline.number": "ghactions-pipeline-number", @@ -23,7 +23,7 @@ "ci.provider.name": "github", "ci.workspace_path": "/foo/bar", "git.branch": "master", - "git.commit.sha": "ghactions-commit", + "git.commit.sha": "b9f0fb3fdbb94c9d24b2c75b49663122a529e123", "git.repository_url": "https://ghenterprise.com/ghactions-repo.git" } ], @@ -37,14 +37,14 @@ "GITHUB_RUN_ID": "ghactions-pipeline-id", "GITHUB_RUN_NUMBER": "ghactions-pipeline-number", "GITHUB_SERVER_URL": "https://github.com", - "GITHUB_SHA": "ghactions-commit", + "GITHUB_SHA": "b9f0fb3fdbb94c9d24b2c75b49663122a529e123", "GITHUB_WORKFLOW": "ghactions-pipeline-name", "GITHUB_WORKSPACE": "/foo/bar" }, { "_dd.ci.env_vars": "{\"GITHUB_SERVER_URL\":\"https://github.com\",\"GITHUB_REPOSITORY\":\"ghactions-repo\",\"GITHUB_RUN_ID\":\"ghactions-pipeline-id\",\"GITHUB_RUN_ATTEMPT\":\"ghactions-run-attempt\"}", "ci.job.name": "github-job-name", - "ci.job.url": "https://github.com/ghactions-repo/commit/ghactions-commit/checks", + "ci.job.url": "https://github.com/ghactions-repo/commit/b9f0fb3fdbb94c9d24b2c75b49663122a529e123/checks", "ci.pipeline.id": "ghactions-pipeline-id", "ci.pipeline.name": "ghactions-pipeline-name", "ci.pipeline.number": "ghactions-pipeline-number", @@ -52,7 +52,7 @@ "ci.provider.name": "github", "ci.workspace_path": "/foo/bar", "git.branch": "master", - "git.commit.sha": "ghactions-commit", + "git.commit.sha": "b9f0fb3fdbb94c9d24b2c75b49663122a529e123", "git.repository_url": "https://github.com/ghactions-repo.git" } ], @@ -66,14 +66,14 @@ "GITHUB_RUN_ID": "ghactions-pipeline-id", "GITHUB_RUN_NUMBER": "ghactions-pipeline-number", "GITHUB_SERVER_URL": "https://github.com", - "GITHUB_SHA": "ghactions-commit", + "GITHUB_SHA": "b9f0fb3fdbb94c9d24b2c75b49663122a529e123", "GITHUB_WORKFLOW": "ghactions-pipeline-name", "GITHUB_WORKSPACE": "foo/bar" }, { "_dd.ci.env_vars": "{\"GITHUB_SERVER_URL\":\"https://github.com\",\"GITHUB_REPOSITORY\":\"ghactions-repo\",\"GITHUB_RUN_ID\":\"ghactions-pipeline-id\",\"GITHUB_RUN_ATTEMPT\":\"ghactions-run-attempt\"}", "ci.job.name": "github-job-name", - "ci.job.url": "https://github.com/ghactions-repo/commit/ghactions-commit/checks", + "ci.job.url": "https://github.com/ghactions-repo/commit/b9f0fb3fdbb94c9d24b2c75b49663122a529e123/checks", "ci.pipeline.id": "ghactions-pipeline-id", "ci.pipeline.name": "ghactions-pipeline-name", "ci.pipeline.number": "ghactions-pipeline-number", @@ -81,7 +81,7 @@ "ci.provider.name": "github", "ci.workspace_path": "foo/bar", "git.branch": "master", - "git.commit.sha": "ghactions-commit", + "git.commit.sha": "b9f0fb3fdbb94c9d24b2c75b49663122a529e123", "git.repository_url": "https://github.com/ghactions-repo.git" } ], @@ -95,14 +95,14 @@ "GITHUB_RUN_ID": "ghactions-pipeline-id", "GITHUB_RUN_NUMBER": "ghactions-pipeline-number", "GITHUB_SERVER_URL": "https://github.com", - "GITHUB_SHA": "ghactions-commit", + "GITHUB_SHA": "b9f0fb3fdbb94c9d24b2c75b49663122a529e123", "GITHUB_WORKFLOW": "ghactions-pipeline-name", "GITHUB_WORKSPACE": "/foo/bar~" }, { "_dd.ci.env_vars": "{\"GITHUB_SERVER_URL\":\"https://github.com\",\"GITHUB_REPOSITORY\":\"ghactions-repo\",\"GITHUB_RUN_ID\":\"ghactions-pipeline-id\",\"GITHUB_RUN_ATTEMPT\":\"ghactions-run-attempt\"}", "ci.job.name": "github-job-name", - "ci.job.url": "https://github.com/ghactions-repo/commit/ghactions-commit/checks", + "ci.job.url": "https://github.com/ghactions-repo/commit/b9f0fb3fdbb94c9d24b2c75b49663122a529e123/checks", "ci.pipeline.id": "ghactions-pipeline-id", "ci.pipeline.name": "ghactions-pipeline-name", "ci.pipeline.number": "ghactions-pipeline-number", @@ -110,7 +110,7 @@ "ci.provider.name": "github", "ci.workspace_path": "/foo/bar~", "git.branch": "master", - "git.commit.sha": "ghactions-commit", + "git.commit.sha": "b9f0fb3fdbb94c9d24b2c75b49663122a529e123", "git.repository_url": "https://github.com/ghactions-repo.git" } ], @@ -124,14 +124,14 @@ "GITHUB_RUN_ID": "ghactions-pipeline-id", "GITHUB_RUN_NUMBER": "ghactions-pipeline-number", "GITHUB_SERVER_URL": "https://github.com", - "GITHUB_SHA": "ghactions-commit", + "GITHUB_SHA": "b9f0fb3fdbb94c9d24b2c75b49663122a529e123", "GITHUB_WORKFLOW": "ghactions-pipeline-name", "GITHUB_WORKSPACE": "/foo/~/bar" }, { "_dd.ci.env_vars": "{\"GITHUB_SERVER_URL\":\"https://github.com\",\"GITHUB_REPOSITORY\":\"ghactions-repo\",\"GITHUB_RUN_ID\":\"ghactions-pipeline-id\",\"GITHUB_RUN_ATTEMPT\":\"ghactions-run-attempt\"}", "ci.job.name": "github-job-name", - "ci.job.url": "https://github.com/ghactions-repo/commit/ghactions-commit/checks", + "ci.job.url": "https://github.com/ghactions-repo/commit/b9f0fb3fdbb94c9d24b2c75b49663122a529e123/checks", "ci.pipeline.id": "ghactions-pipeline-id", "ci.pipeline.name": "ghactions-pipeline-name", "ci.pipeline.number": "ghactions-pipeline-number", @@ -139,7 +139,7 @@ "ci.provider.name": "github", "ci.workspace_path": "/foo/~/bar", "git.branch": "master", - "git.commit.sha": "ghactions-commit", + "git.commit.sha": "b9f0fb3fdbb94c9d24b2c75b49663122a529e123", "git.repository_url": "https://github.com/ghactions-repo.git" } ], @@ -153,7 +153,7 @@ "GITHUB_RUN_ID": "ghactions-pipeline-id", "GITHUB_RUN_NUMBER": "ghactions-pipeline-number", "GITHUB_SERVER_URL": "https://github.com", - "GITHUB_SHA": "ghactions-commit", + "GITHUB_SHA": "b9f0fb3fdbb94c9d24b2c75b49663122a529e123", "GITHUB_WORKFLOW": "ghactions-pipeline-name", "GITHUB_WORKSPACE": "~/foo/bar", "HOME": "/not-my-home", @@ -162,7 +162,7 @@ { "_dd.ci.env_vars": "{\"GITHUB_SERVER_URL\":\"https://github.com\",\"GITHUB_REPOSITORY\":\"ghactions-repo\",\"GITHUB_RUN_ID\":\"ghactions-pipeline-id\",\"GITHUB_RUN_ATTEMPT\":\"ghactions-run-attempt\"}", "ci.job.name": "github-job-name", - "ci.job.url": "https://github.com/ghactions-repo/commit/ghactions-commit/checks", + "ci.job.url": "https://github.com/ghactions-repo/commit/b9f0fb3fdbb94c9d24b2c75b49663122a529e123/checks", "ci.pipeline.id": "ghactions-pipeline-id", "ci.pipeline.name": "ghactions-pipeline-name", "ci.pipeline.number": "ghactions-pipeline-number", @@ -170,7 +170,7 @@ "ci.provider.name": "github", "ci.workspace_path": "/not-my-home/foo/bar", "git.branch": "master", - "git.commit.sha": "ghactions-commit", + "git.commit.sha": "b9f0fb3fdbb94c9d24b2c75b49663122a529e123", "git.repository_url": "https://github.com/ghactions-repo.git" } ], @@ -184,7 +184,7 @@ "GITHUB_RUN_ID": "ghactions-pipeline-id", "GITHUB_RUN_NUMBER": "ghactions-pipeline-number", "GITHUB_SERVER_URL": "https://github.com", - "GITHUB_SHA": "ghactions-commit", + "GITHUB_SHA": "b9f0fb3fdbb94c9d24b2c75b49663122a529e123", "GITHUB_WORKFLOW": "ghactions-pipeline-name", "GITHUB_WORKSPACE": "~foo/bar", "HOME": "/not-my-home", @@ -193,7 +193,7 @@ { "_dd.ci.env_vars": "{\"GITHUB_SERVER_URL\":\"https://github.com\",\"GITHUB_REPOSITORY\":\"ghactions-repo\",\"GITHUB_RUN_ID\":\"ghactions-pipeline-id\",\"GITHUB_RUN_ATTEMPT\":\"ghactions-run-attempt\"}", "ci.job.name": "github-job-name", - "ci.job.url": "https://github.com/ghactions-repo/commit/ghactions-commit/checks", + "ci.job.url": "https://github.com/ghactions-repo/commit/b9f0fb3fdbb94c9d24b2c75b49663122a529e123/checks", "ci.pipeline.id": "ghactions-pipeline-id", "ci.pipeline.name": "ghactions-pipeline-name", "ci.pipeline.number": "ghactions-pipeline-number", @@ -201,7 +201,7 @@ "ci.provider.name": "github", "ci.workspace_path": "~foo/bar", "git.branch": "master", - "git.commit.sha": "ghactions-commit", + "git.commit.sha": "b9f0fb3fdbb94c9d24b2c75b49663122a529e123", "git.repository_url": "https://github.com/ghactions-repo.git" } ], @@ -215,7 +215,7 @@ "GITHUB_RUN_ID": "ghactions-pipeline-id", "GITHUB_RUN_NUMBER": "ghactions-pipeline-number", "GITHUB_SERVER_URL": "https://github.com", - "GITHUB_SHA": "ghactions-commit", + "GITHUB_SHA": "b9f0fb3fdbb94c9d24b2c75b49663122a529e123", "GITHUB_WORKFLOW": "ghactions-pipeline-name", "GITHUB_WORKSPACE": "~", "HOME": "/not-my-home", @@ -224,7 +224,7 @@ { "_dd.ci.env_vars": "{\"GITHUB_SERVER_URL\":\"https://github.com\",\"GITHUB_REPOSITORY\":\"ghactions-repo\",\"GITHUB_RUN_ID\":\"ghactions-pipeline-id\",\"GITHUB_RUN_ATTEMPT\":\"ghactions-run-attempt\"}", "ci.job.name": "github-job-name", - "ci.job.url": "https://github.com/ghactions-repo/commit/ghactions-commit/checks", + "ci.job.url": "https://github.com/ghactions-repo/commit/b9f0fb3fdbb94c9d24b2c75b49663122a529e123/checks", "ci.pipeline.id": "ghactions-pipeline-id", "ci.pipeline.name": "ghactions-pipeline-name", "ci.pipeline.number": "ghactions-pipeline-number", @@ -232,7 +232,7 @@ "ci.provider.name": "github", "ci.workspace_path": "/not-my-home", "git.branch": "master", - "git.commit.sha": "ghactions-commit", + "git.commit.sha": "b9f0fb3fdbb94c9d24b2c75b49663122a529e123", "git.repository_url": "https://github.com/ghactions-repo.git" } ], @@ -246,14 +246,14 @@ "GITHUB_RUN_ID": "ghactions-pipeline-id", "GITHUB_RUN_NUMBER": "ghactions-pipeline-number", "GITHUB_SERVER_URL": "https://github.com", - "GITHUB_SHA": "ghactions-commit", + "GITHUB_SHA": "b9f0fb3fdbb94c9d24b2c75b49663122a529e123", "GITHUB_WORKFLOW": "ghactions-pipeline-name", "GITHUB_WORKSPACE": "/foo/bar" }, { "_dd.ci.env_vars": "{\"GITHUB_SERVER_URL\":\"https://github.com\",\"GITHUB_REPOSITORY\":\"ghactions-repo\",\"GITHUB_RUN_ID\":\"ghactions-pipeline-id\",\"GITHUB_RUN_ATTEMPT\":\"ghactions-run-attempt\"}", "ci.job.name": "github-job-name", - "ci.job.url": "https://github.com/ghactions-repo/commit/ghactions-commit/checks", + "ci.job.url": "https://github.com/ghactions-repo/commit/b9f0fb3fdbb94c9d24b2c75b49663122a529e123/checks", "ci.pipeline.id": "ghactions-pipeline-id", "ci.pipeline.name": "ghactions-pipeline-name", "ci.pipeline.number": "ghactions-pipeline-number", @@ -261,7 +261,7 @@ "ci.provider.name": "github", "ci.workspace_path": "/foo/bar", "git.branch": "master", - "git.commit.sha": "ghactions-commit", + "git.commit.sha": "b9f0fb3fdbb94c9d24b2c75b49663122a529e123", "git.repository_url": "https://github.com/ghactions-repo.git" } ], @@ -275,14 +275,14 @@ "GITHUB_RUN_ID": "ghactions-pipeline-id", "GITHUB_RUN_NUMBER": "ghactions-pipeline-number", "GITHUB_SERVER_URL": "https://github.com", - "GITHUB_SHA": "ghactions-commit", + "GITHUB_SHA": "b9f0fb3fdbb94c9d24b2c75b49663122a529e123", "GITHUB_WORKFLOW": "ghactions-pipeline-name", "GITHUB_WORKSPACE": "/foo/bar" }, { "_dd.ci.env_vars": "{\"GITHUB_SERVER_URL\":\"https://github.com\",\"GITHUB_REPOSITORY\":\"ghactions-repo\",\"GITHUB_RUN_ID\":\"ghactions-pipeline-id\",\"GITHUB_RUN_ATTEMPT\":\"ghactions-run-attempt\"}", "ci.job.name": "github-job-name", - "ci.job.url": "https://github.com/ghactions-repo/commit/ghactions-commit/checks", + "ci.job.url": "https://github.com/ghactions-repo/commit/b9f0fb3fdbb94c9d24b2c75b49663122a529e123/checks", "ci.pipeline.id": "ghactions-pipeline-id", "ci.pipeline.name": "ghactions-pipeline-name", "ci.pipeline.number": "ghactions-pipeline-number", @@ -290,7 +290,7 @@ "ci.provider.name": "github", "ci.workspace_path": "/foo/bar", "git.branch": "master", - "git.commit.sha": "ghactions-commit", + "git.commit.sha": "b9f0fb3fdbb94c9d24b2c75b49663122a529e123", "git.repository_url": "https://github.com/ghactions-repo.git" } ], @@ -304,14 +304,14 @@ "GITHUB_RUN_ID": "ghactions-pipeline-id", "GITHUB_RUN_NUMBER": "ghactions-pipeline-number", "GITHUB_SERVER_URL": "https://github.com", - "GITHUB_SHA": "ghactions-commit", + "GITHUB_SHA": "b9f0fb3fdbb94c9d24b2c75b49663122a529e123", "GITHUB_WORKFLOW": "ghactions-pipeline-name", "GITHUB_WORKSPACE": "/foo/bar" }, { "_dd.ci.env_vars": "{\"GITHUB_SERVER_URL\":\"https://github.com\",\"GITHUB_REPOSITORY\":\"ghactions-repo\",\"GITHUB_RUN_ID\":\"ghactions-pipeline-id\",\"GITHUB_RUN_ATTEMPT\":\"ghactions-run-attempt\"}", "ci.job.name": "github-job-name", - "ci.job.url": "https://github.com/ghactions-repo/commit/ghactions-commit/checks", + "ci.job.url": "https://github.com/ghactions-repo/commit/b9f0fb3fdbb94c9d24b2c75b49663122a529e123/checks", "ci.pipeline.id": "ghactions-pipeline-id", "ci.pipeline.name": "ghactions-pipeline-name", "ci.pipeline.number": "ghactions-pipeline-number", @@ -319,7 +319,7 @@ "ci.provider.name": "github", "ci.workspace_path": "/foo/bar", "git.branch": "feature/one", - "git.commit.sha": "ghactions-commit", + "git.commit.sha": "b9f0fb3fdbb94c9d24b2c75b49663122a529e123", "git.repository_url": "https://github.com/ghactions-repo.git" } ], @@ -333,21 +333,21 @@ "GITHUB_RUN_ID": "ghactions-pipeline-id", "GITHUB_RUN_NUMBER": "ghactions-pipeline-number", "GITHUB_SERVER_URL": "https://github.com", - "GITHUB_SHA": "ghactions-commit", + "GITHUB_SHA": "b9f0fb3fdbb94c9d24b2c75b49663122a529e123", "GITHUB_WORKFLOW": "ghactions-pipeline-name", "GITHUB_WORKSPACE": "/foo/bar" }, { "_dd.ci.env_vars": "{\"GITHUB_SERVER_URL\":\"https://github.com\",\"GITHUB_REPOSITORY\":\"ghactions-repo\",\"GITHUB_RUN_ID\":\"ghactions-pipeline-id\",\"GITHUB_RUN_ATTEMPT\":\"ghactions-run-attempt\"}", "ci.job.name": "github-job-name", - "ci.job.url": "https://github.com/ghactions-repo/commit/ghactions-commit/checks", + "ci.job.url": "https://github.com/ghactions-repo/commit/b9f0fb3fdbb94c9d24b2c75b49663122a529e123/checks", "ci.pipeline.id": "ghactions-pipeline-id", "ci.pipeline.name": "ghactions-pipeline-name", "ci.pipeline.number": "ghactions-pipeline-number", "ci.pipeline.url": "https://github.com/ghactions-repo/actions/runs/ghactions-pipeline-id/attempts/ghactions-run-attempt", "ci.provider.name": "github", "ci.workspace_path": "/foo/bar", - "git.commit.sha": "ghactions-commit", + "git.commit.sha": "b9f0fb3fdbb94c9d24b2c75b49663122a529e123", "git.repository_url": "https://github.com/ghactions-repo.git", "git.tag": "0.1.0" } @@ -362,21 +362,21 @@ "GITHUB_RUN_ID": "ghactions-pipeline-id", "GITHUB_RUN_NUMBER": "ghactions-pipeline-number", "GITHUB_SERVER_URL": "https://github.com", - "GITHUB_SHA": "ghactions-commit", + "GITHUB_SHA": "b9f0fb3fdbb94c9d24b2c75b49663122a529e123", "GITHUB_WORKFLOW": "ghactions-pipeline-name", "GITHUB_WORKSPACE": "/foo/bar" }, { "_dd.ci.env_vars": "{\"GITHUB_SERVER_URL\":\"https://github.com\",\"GITHUB_REPOSITORY\":\"ghactions-repo\",\"GITHUB_RUN_ID\":\"ghactions-pipeline-id\",\"GITHUB_RUN_ATTEMPT\":\"ghactions-run-attempt\"}", "ci.job.name": "github-job-name", - "ci.job.url": "https://github.com/ghactions-repo/commit/ghactions-commit/checks", + "ci.job.url": "https://github.com/ghactions-repo/commit/b9f0fb3fdbb94c9d24b2c75b49663122a529e123/checks", "ci.pipeline.id": "ghactions-pipeline-id", "ci.pipeline.name": "ghactions-pipeline-name", "ci.pipeline.number": "ghactions-pipeline-number", "ci.pipeline.url": "https://github.com/ghactions-repo/actions/runs/ghactions-pipeline-id/attempts/ghactions-run-attempt", "ci.provider.name": "github", "ci.workspace_path": "/foo/bar", - "git.commit.sha": "ghactions-commit", + "git.commit.sha": "b9f0fb3fdbb94c9d24b2c75b49663122a529e123", "git.repository_url": "https://github.com/ghactions-repo.git", "git.tag": "0.1.0" } @@ -392,14 +392,14 @@ "GITHUB_RUN_ID": "ghactions-pipeline-id", "GITHUB_RUN_NUMBER": "ghactions-pipeline-number", "GITHUB_SERVER_URL": "https://github.com", - "GITHUB_SHA": "ghactions-commit", + "GITHUB_SHA": "b9f0fb3fdbb94c9d24b2c75b49663122a529e123", "GITHUB_WORKFLOW": "ghactions-pipeline-name", "GITHUB_WORKSPACE": "/foo/bar" }, { "_dd.ci.env_vars": "{\"GITHUB_SERVER_URL\":\"https://github.com\",\"GITHUB_REPOSITORY\":\"ghactions-repo\",\"GITHUB_RUN_ID\":\"ghactions-pipeline-id\",\"GITHUB_RUN_ATTEMPT\":\"ghactions-run-attempt\"}", "ci.job.name": "github-job-name", - "ci.job.url": "https://github.com/ghactions-repo/commit/ghactions-commit/checks", + "ci.job.url": "https://github.com/ghactions-repo/commit/b9f0fb3fdbb94c9d24b2c75b49663122a529e123/checks", "ci.pipeline.id": "ghactions-pipeline-id", "ci.pipeline.name": "ghactions-pipeline-name", "ci.pipeline.number": "ghactions-pipeline-number", @@ -407,7 +407,7 @@ "ci.provider.name": "github", "ci.workspace_path": "/foo/bar", "git.branch": "other", - "git.commit.sha": "ghactions-commit", + "git.commit.sha": "b9f0fb3fdbb94c9d24b2c75b49663122a529e123", "git.repository_url": "https://github.com/ghactions-repo.git" } ], @@ -422,14 +422,14 @@ "GITHUB_RUN_ID": "ghactions-pipeline-id", "GITHUB_RUN_NUMBER": "ghactions-pipeline-number", "GITHUB_SERVER_URL": "https://github.com", - "GITHUB_SHA": "ghactions-commit", + "GITHUB_SHA": "b9f0fb3fdbb94c9d24b2c75b49663122a529e123", "GITHUB_WORKFLOW": "ghactions-pipeline-name", "GITHUB_WORKSPACE": "/foo/bar" }, { "_dd.ci.env_vars": "{\"GITHUB_SERVER_URL\":\"https://github.com\",\"GITHUB_REPOSITORY\":\"ghactions-repo\",\"GITHUB_RUN_ID\":\"ghactions-pipeline-id\",\"GITHUB_RUN_ATTEMPT\":\"ghactions-run-attempt\"}", "ci.job.name": "github-job-name", - "ci.job.url": "https://github.com/ghactions-repo/commit/ghactions-commit/checks", + "ci.job.url": "https://github.com/ghactions-repo/commit/b9f0fb3fdbb94c9d24b2c75b49663122a529e123/checks", "ci.pipeline.id": "ghactions-pipeline-id", "ci.pipeline.name": "ghactions-pipeline-name", "ci.pipeline.number": "ghactions-pipeline-number", @@ -437,7 +437,7 @@ "ci.provider.name": "github", "ci.workspace_path": "/foo/bar", "git.branch": "other", - "git.commit.sha": "ghactions-commit", + "git.commit.sha": "b9f0fb3fdbb94c9d24b2c75b49663122a529e123", "git.repository_url": "https://github.com/ghactions-repo.git" } ], @@ -452,14 +452,14 @@ "GITHUB_RUN_ID": "ghactions-pipeline-id", "GITHUB_RUN_NUMBER": "ghactions-pipeline-number", "GITHUB_SERVER_URL": "https://github.com", - "GITHUB_SHA": "ghactions-commit", + "GITHUB_SHA": "b9f0fb3fdbb94c9d24b2c75b49663122a529e123", "GITHUB_WORKFLOW": "ghactions-pipeline-name", "GITHUB_WORKSPACE": "/foo/bar" }, { "_dd.ci.env_vars": "{\"GITHUB_SERVER_URL\":\"https://github.com\",\"GITHUB_REPOSITORY\":\"ghactions-repo\",\"GITHUB_RUN_ID\":\"ghactions-pipeline-id\",\"GITHUB_RUN_ATTEMPT\":\"ghactions-run-attempt\"}", "ci.job.name": "github-job-name", - "ci.job.url": "https://github.com/ghactions-repo/commit/ghactions-commit/checks", + "ci.job.url": "https://github.com/ghactions-repo/commit/b9f0fb3fdbb94c9d24b2c75b49663122a529e123/checks", "ci.pipeline.id": "ghactions-pipeline-id", "ci.pipeline.name": "ghactions-pipeline-name", "ci.pipeline.number": "ghactions-pipeline-number", @@ -467,7 +467,7 @@ "ci.provider.name": "github", "ci.workspace_path": "/foo/bar", "git.branch": "feature/other", - "git.commit.sha": "ghactions-commit", + "git.commit.sha": "b9f0fb3fdbb94c9d24b2c75b49663122a529e123", "git.repository_url": "https://github.com/ghactions-repo.git" } ], @@ -490,14 +490,14 @@ "GITHUB_RUN_ID": "ghactions-pipeline-id", "GITHUB_RUN_NUMBER": "ghactions-pipeline-number", "GITHUB_SERVER_URL": "https://github.com", - "GITHUB_SHA": "ghactions-commit", + "GITHUB_SHA": "b9f0fb3fdbb94c9d24b2c75b49663122a529e123", "GITHUB_WORKFLOW": "ghactions-pipeline-name", "GITHUB_WORKSPACE": "foo/bar" }, { "_dd.ci.env_vars": "{\"GITHUB_SERVER_URL\":\"https://github.com\",\"GITHUB_REPOSITORY\":\"ghactions-repo\",\"GITHUB_RUN_ID\":\"ghactions-pipeline-id\",\"GITHUB_RUN_ATTEMPT\":\"ghactions-run-attempt\"}", "ci.job.name": "github-job-name", - "ci.job.url": "https://github.com/ghactions-repo/commit/ghactions-commit/checks", + "ci.job.url": "https://github.com/ghactions-repo/commit/b9f0fb3fdbb94c9d24b2c75b49663122a529e123/checks", "ci.pipeline.id": "ghactions-pipeline-id", "ci.pipeline.name": "ghactions-pipeline-name", "ci.pipeline.number": "ghactions-pipeline-number", @@ -535,14 +535,14 @@ "GITHUB_RUN_ID": "ghactions-pipeline-id", "GITHUB_RUN_NUMBER": "ghactions-pipeline-number", "GITHUB_SERVER_URL": "https://github.com", - "GITHUB_SHA": "ghactions-commit", + "GITHUB_SHA": "b9f0fb3fdbb94c9d24b2c75b49663122a529e123", "GITHUB_WORKFLOW": "ghactions-pipeline-name", "GITHUB_WORKSPACE": "foo/bar" }, { "_dd.ci.env_vars": "{\"GITHUB_SERVER_URL\":\"https://github.com\",\"GITHUB_REPOSITORY\":\"ghactions-repo\",\"GITHUB_RUN_ID\":\"ghactions-pipeline-id\",\"GITHUB_RUN_ATTEMPT\":\"ghactions-run-attempt\"}", "ci.job.name": "github-job-name", - "ci.job.url": "https://github.com/ghactions-repo/commit/ghactions-commit/checks", + "ci.job.url": "https://github.com/ghactions-repo/commit/b9f0fb3fdbb94c9d24b2c75b49663122a529e123/checks", "ci.pipeline.id": "ghactions-pipeline-id", "ci.pipeline.name": "ghactions-pipeline-name", "ci.pipeline.number": "ghactions-pipeline-number", diff --git a/packages/dd-trace/test/plugins/util/ci-env/gitlab.json b/packages/dd-trace/test/plugins/util/ci-env/gitlab.json index be6dd9aeb27..c1879ed80bd 100644 --- a/packages/dd-trace/test/plugins/util/ci-env/gitlab.json +++ b/packages/dd-trace/test/plugins/util/ci-env/gitlab.json @@ -4,7 +4,7 @@ "CI_COMMIT_AUTHOR": "John Doe ", "CI_COMMIT_MESSAGE": "gitlab-git-commit-message", "CI_COMMIT_REF_NAME": "origin/master", - "CI_COMMIT_SHA": "gitlab-git-commit", + "CI_COMMIT_SHA": "b9f0fb3fdbb94c9d24b2c75b49663122a529e123", "CI_COMMIT_TIMESTAMP": "2021-07-21T11:43:07-04:00", "CI_JOB_ID": "gitlab-job-id", "CI_JOB_NAME": "gitlab-job-name", @@ -35,7 +35,7 @@ "git.commit.author.email": "john@doe.com", "git.commit.author.name": "John Doe", "git.commit.message": "gitlab-git-commit-message", - "git.commit.sha": "gitlab-git-commit", + "git.commit.sha": "b9f0fb3fdbb94c9d24b2c75b49663122a529e123", "git.repository_url": "https://gitlab.com/repo/myrepo.git" } ], @@ -44,7 +44,7 @@ "CI_COMMIT_AUTHOR": "John Doe ", "CI_COMMIT_MESSAGE": "gitlab-git-commit-message", "CI_COMMIT_REF_NAME": "origin/master", - "CI_COMMIT_SHA": "gitlab-git-commit", + "CI_COMMIT_SHA": "b9f0fb3fdbb94c9d24b2c75b49663122a529e123", "CI_COMMIT_TIMESTAMP": "2021-07-21T11:43:07-04:00", "CI_JOB_ID": "gitlab-job-id", "CI_JOB_NAME": "gitlab-job-name", @@ -75,7 +75,7 @@ "git.commit.author.email": "john@doe.com", "git.commit.author.name": "John Doe", "git.commit.message": "gitlab-git-commit-message", - "git.commit.sha": "gitlab-git-commit", + "git.commit.sha": "b9f0fb3fdbb94c9d24b2c75b49663122a529e123", "git.repository_url": "https://gitlab.com/repo/myrepo.git" } ], @@ -84,7 +84,7 @@ "CI_COMMIT_AUTHOR": "John Doe ", "CI_COMMIT_MESSAGE": "gitlab-git-commit-message", "CI_COMMIT_REF_NAME": "origin/master", - "CI_COMMIT_SHA": "gitlab-git-commit", + "CI_COMMIT_SHA": "b9f0fb3fdbb94c9d24b2c75b49663122a529e123", "CI_COMMIT_TIMESTAMP": "2021-07-21T11:43:07-04:00", "CI_JOB_ID": "gitlab-job-id", "CI_JOB_NAME": "gitlab-job-name", @@ -115,7 +115,7 @@ "git.commit.author.email": "john@doe.com", "git.commit.author.name": "John Doe", "git.commit.message": "gitlab-git-commit-message", - "git.commit.sha": "gitlab-git-commit", + "git.commit.sha": "b9f0fb3fdbb94c9d24b2c75b49663122a529e123", "git.repository_url": "https://gitlab.com/repo/myrepo.git" } ], @@ -124,7 +124,7 @@ "CI_COMMIT_AUTHOR": "John Doe ", "CI_COMMIT_MESSAGE": "gitlab-git-commit-message", "CI_COMMIT_REF_NAME": "origin/master", - "CI_COMMIT_SHA": "gitlab-git-commit", + "CI_COMMIT_SHA": "b9f0fb3fdbb94c9d24b2c75b49663122a529e123", "CI_COMMIT_TIMESTAMP": "2021-07-21T11:43:07-04:00", "CI_JOB_ID": "gitlab-job-id", "CI_JOB_NAME": "gitlab-job-name", @@ -157,7 +157,7 @@ "git.commit.author.email": "john@doe.com", "git.commit.author.name": "John Doe", "git.commit.message": "gitlab-git-commit-message", - "git.commit.sha": "gitlab-git-commit", + "git.commit.sha": "b9f0fb3fdbb94c9d24b2c75b49663122a529e123", "git.repository_url": "https://gitlab.com/repo/myrepo.git" } ], @@ -166,7 +166,7 @@ "CI_COMMIT_AUTHOR": "John Doe ", "CI_COMMIT_MESSAGE": "gitlab-git-commit-message", "CI_COMMIT_REF_NAME": "origin/master", - "CI_COMMIT_SHA": "gitlab-git-commit", + "CI_COMMIT_SHA": "b9f0fb3fdbb94c9d24b2c75b49663122a529e123", "CI_COMMIT_TIMESTAMP": "2021-07-21T11:43:07-04:00", "CI_JOB_ID": "gitlab-job-id", "CI_JOB_NAME": "gitlab-job-name", @@ -199,7 +199,7 @@ "git.commit.author.email": "john@doe.com", "git.commit.author.name": "John Doe", "git.commit.message": "gitlab-git-commit-message", - "git.commit.sha": "gitlab-git-commit", + "git.commit.sha": "b9f0fb3fdbb94c9d24b2c75b49663122a529e123", "git.repository_url": "https://gitlab.com/repo/myrepo.git" } ], @@ -208,7 +208,7 @@ "CI_COMMIT_AUTHOR": "John Doe ", "CI_COMMIT_MESSAGE": "gitlab-git-commit-message", "CI_COMMIT_REF_NAME": "origin/master", - "CI_COMMIT_SHA": "gitlab-git-commit", + "CI_COMMIT_SHA": "b9f0fb3fdbb94c9d24b2c75b49663122a529e123", "CI_COMMIT_TIMESTAMP": "2021-07-21T11:43:07-04:00", "CI_JOB_ID": "gitlab-job-id", "CI_JOB_NAME": "gitlab-job-name", @@ -241,7 +241,7 @@ "git.commit.author.email": "john@doe.com", "git.commit.author.name": "John Doe", "git.commit.message": "gitlab-git-commit-message", - "git.commit.sha": "gitlab-git-commit", + "git.commit.sha": "b9f0fb3fdbb94c9d24b2c75b49663122a529e123", "git.repository_url": "https://gitlab.com/repo/myrepo.git" } ], @@ -250,7 +250,7 @@ "CI_COMMIT_AUTHOR": "John Doe ", "CI_COMMIT_MESSAGE": "gitlab-git-commit-message", "CI_COMMIT_REF_NAME": "refs/heads/master", - "CI_COMMIT_SHA": "gitlab-git-commit", + "CI_COMMIT_SHA": "b9f0fb3fdbb94c9d24b2c75b49663122a529e123", "CI_COMMIT_TIMESTAMP": "2021-07-21T11:43:07-04:00", "CI_JOB_ID": "gitlab-job-id", "CI_JOB_NAME": "gitlab-job-name", @@ -281,7 +281,7 @@ "git.commit.author.email": "john@doe.com", "git.commit.author.name": "John Doe", "git.commit.message": "gitlab-git-commit-message", - "git.commit.sha": "gitlab-git-commit", + "git.commit.sha": "b9f0fb3fdbb94c9d24b2c75b49663122a529e123", "git.repository_url": "https://gitlab.com/repo/myrepo.git" } ], @@ -290,7 +290,7 @@ "CI_COMMIT_AUTHOR": "John Doe ", "CI_COMMIT_MESSAGE": "gitlab-git-commit-message", "CI_COMMIT_REF_NAME": "refs/heads/feature/one", - "CI_COMMIT_SHA": "gitlab-git-commit", + "CI_COMMIT_SHA": "b9f0fb3fdbb94c9d24b2c75b49663122a529e123", "CI_COMMIT_TIMESTAMP": "2021-07-21T11:43:07-04:00", "CI_JOB_ID": "gitlab-job-id", "CI_JOB_NAME": "gitlab-job-name", @@ -321,7 +321,7 @@ "git.commit.author.email": "john@doe.com", "git.commit.author.name": "John Doe", "git.commit.message": "gitlab-git-commit-message", - "git.commit.sha": "gitlab-git-commit", + "git.commit.sha": "b9f0fb3fdbb94c9d24b2c75b49663122a529e123", "git.repository_url": "https://gitlab.com/repo/myrepo.git" } ], @@ -330,7 +330,7 @@ "CI_COMMIT_AUTHOR": "John Doe ", "CI_COMMIT_MESSAGE": "gitlab-git-commit-message", "CI_COMMIT_REF_NAME": "origin/master", - "CI_COMMIT_SHA": "gitlab-git-commit", + "CI_COMMIT_SHA": "b9f0fb3fdbb94c9d24b2c75b49663122a529e123", "CI_COMMIT_TAG": "origin/tags/0.1.0", "CI_COMMIT_TIMESTAMP": "2021-07-21T11:43:07-04:00", "CI_JOB_ID": "gitlab-job-id", @@ -362,7 +362,7 @@ "git.commit.author.email": "john@doe.com", "git.commit.author.name": "John Doe", "git.commit.message": "gitlab-git-commit-message", - "git.commit.sha": "gitlab-git-commit", + "git.commit.sha": "b9f0fb3fdbb94c9d24b2c75b49663122a529e123", "git.repository_url": "https://gitlab.com/repo/myrepo.git", "git.tag": "0.1.0" } @@ -372,7 +372,7 @@ "CI_COMMIT_AUTHOR": "John Doe ", "CI_COMMIT_MESSAGE": "gitlab-git-commit-message", "CI_COMMIT_REF_NAME": "origin/master", - "CI_COMMIT_SHA": "gitlab-git-commit", + "CI_COMMIT_SHA": "b9f0fb3fdbb94c9d24b2c75b49663122a529e123", "CI_COMMIT_TAG": "refs/heads/tags/0.1.0", "CI_COMMIT_TIMESTAMP": "2021-07-21T11:43:07-04:00", "CI_JOB_ID": "gitlab-job-id", @@ -404,7 +404,7 @@ "git.commit.author.email": "john@doe.com", "git.commit.author.name": "John Doe", "git.commit.message": "gitlab-git-commit-message", - "git.commit.sha": "gitlab-git-commit", + "git.commit.sha": "b9f0fb3fdbb94c9d24b2c75b49663122a529e123", "git.repository_url": "https://gitlab.com/repo/myrepo.git", "git.tag": "0.1.0" } @@ -414,7 +414,7 @@ "CI_COMMIT_AUTHOR": "John Doe ", "CI_COMMIT_MESSAGE": "gitlab-git-commit-message", "CI_COMMIT_REF_NAME": "origin/master", - "CI_COMMIT_SHA": "gitlab-git-commit", + "CI_COMMIT_SHA": "b9f0fb3fdbb94c9d24b2c75b49663122a529e123", "CI_COMMIT_TAG": "0.1.0", "CI_COMMIT_TIMESTAMP": "2021-07-21T11:43:07-04:00", "CI_JOB_ID": "gitlab-job-id", @@ -446,7 +446,7 @@ "git.commit.author.email": "john@doe.com", "git.commit.author.name": "John Doe", "git.commit.message": "gitlab-git-commit-message", - "git.commit.sha": "gitlab-git-commit", + "git.commit.sha": "b9f0fb3fdbb94c9d24b2c75b49663122a529e123", "git.repository_url": "https://gitlab.com/repo/myrepo.git", "git.tag": "0.1.0" } @@ -456,7 +456,7 @@ "CI_COMMIT_AUTHOR": "John Doe ", "CI_COMMIT_MESSAGE": "gitlab-git-commit-message", "CI_COMMIT_REF_NAME": "origin/master", - "CI_COMMIT_SHA": "gitlab-git-commit", + "CI_COMMIT_SHA": "b9f0fb3fdbb94c9d24b2c75b49663122a529e123", "CI_COMMIT_TIMESTAMP": "2021-07-21T11:43:07-04:00", "CI_JOB_ID": "gitlab-job-id", "CI_JOB_NAME": "gitlab-job-name", @@ -487,7 +487,7 @@ "git.commit.author.email": "john@doe.com", "git.commit.author.name": "John Doe", "git.commit.message": "gitlab-git-commit-message", - "git.commit.sha": "gitlab-git-commit", + "git.commit.sha": "b9f0fb3fdbb94c9d24b2c75b49663122a529e123", "git.repository_url": "http://hostname.com/repo.git" } ], @@ -496,7 +496,7 @@ "CI_COMMIT_AUTHOR": "John Doe ", "CI_COMMIT_MESSAGE": "gitlab-git-commit-message", "CI_COMMIT_REF_NAME": "origin/master", - "CI_COMMIT_SHA": "gitlab-git-commit", + "CI_COMMIT_SHA": "b9f0fb3fdbb94c9d24b2c75b49663122a529e123", "CI_COMMIT_TIMESTAMP": "2021-07-21T11:43:07-04:00", "CI_JOB_ID": "gitlab-job-id", "CI_JOB_NAME": "gitlab-job-name", @@ -527,7 +527,7 @@ "git.commit.author.email": "john@doe.com", "git.commit.author.name": "John Doe", "git.commit.message": "gitlab-git-commit-message", - "git.commit.sha": "gitlab-git-commit", + "git.commit.sha": "b9f0fb3fdbb94c9d24b2c75b49663122a529e123", "git.repository_url": "http://hostname.com/repo.git" } ], @@ -536,7 +536,7 @@ "CI_COMMIT_AUTHOR": "John Doe ", "CI_COMMIT_MESSAGE": "gitlab-git-commit-message", "CI_COMMIT_REF_NAME": "origin/master", - "CI_COMMIT_SHA": "gitlab-git-commit", + "CI_COMMIT_SHA": "b9f0fb3fdbb94c9d24b2c75b49663122a529e123", "CI_COMMIT_TIMESTAMP": "2021-07-21T11:43:07-04:00", "CI_JOB_ID": "gitlab-job-id", "CI_JOB_NAME": "gitlab-job-name", @@ -567,7 +567,7 @@ "git.commit.author.email": "john@doe.com", "git.commit.author.name": "John Doe", "git.commit.message": "gitlab-git-commit-message", - "git.commit.sha": "gitlab-git-commit", + "git.commit.sha": "b9f0fb3fdbb94c9d24b2c75b49663122a529e123", "git.repository_url": "http://hostname.com/repo.git" } ], @@ -576,7 +576,7 @@ "CI_COMMIT_AUTHOR": "John Doe ", "CI_COMMIT_MESSAGE": "gitlab-git-commit-message", "CI_COMMIT_REF_NAME": "origin/master", - "CI_COMMIT_SHA": "gitlab-git-commit", + "CI_COMMIT_SHA": "b9f0fb3fdbb94c9d24b2c75b49663122a529e123", "CI_COMMIT_TIMESTAMP": "2021-07-21T11:43:07-04:00", "CI_JOB_ID": "gitlab-job-id", "CI_JOB_NAME": "gitlab-job-name", @@ -607,7 +607,7 @@ "git.commit.author.email": "john@doe.com", "git.commit.author.name": "John Doe", "git.commit.message": "gitlab-git-commit-message", - "git.commit.sha": "gitlab-git-commit", + "git.commit.sha": "b9f0fb3fdbb94c9d24b2c75b49663122a529e123", "git.repository_url": "http://hostname.com/repo.git" } ], @@ -616,7 +616,7 @@ "CI_COMMIT_AUTHOR": "John Doe ", "CI_COMMIT_MESSAGE": "gitlab-git-commit-message", "CI_COMMIT_REF_NAME": "origin/master", - "CI_COMMIT_SHA": "gitlab-git-commit", + "CI_COMMIT_SHA": "b9f0fb3fdbb94c9d24b2c75b49663122a529e123", "CI_COMMIT_TIMESTAMP": "2021-07-21T11:43:07-04:00", "CI_JOB_ID": "gitlab-job-id", "CI_JOB_NAME": "gitlab-job-name", @@ -647,7 +647,7 @@ "git.commit.author.email": "john@doe.com", "git.commit.author.name": "John Doe", "git.commit.message": "gitlab-git-commit-message", - "git.commit.sha": "gitlab-git-commit", + "git.commit.sha": "b9f0fb3fdbb94c9d24b2c75b49663122a529e123", "git.repository_url": "git@hostname.com:org/repo.git" } ], @@ -656,7 +656,7 @@ "CI_COMMIT_AUTHOR": "John Doe ", "CI_COMMIT_MESSAGE": "gitlab-git-commit-message", "CI_COMMIT_REF_NAME": "origin/master", - "CI_COMMIT_SHA": "gitlab-git-commit", + "CI_COMMIT_SHA": "b9f0fb3fdbb94c9d24b2c75b49663122a529e123", "CI_COMMIT_TIMESTAMP": "2021-07-21T11:43:07-04:00", "CI_JOB_ID": "gitlab-job-id", "CI_JOB_NAME": "gitlab-job-name", @@ -709,7 +709,7 @@ "CI_COMMIT_AUTHOR": "John Doe ", "CI_COMMIT_MESSAGE": "gitlab-git-commit-message", "CI_COMMIT_REF_NAME": "origin/master", - "CI_COMMIT_SHA": "gitlab-git-commit", + "CI_COMMIT_SHA": "b9f0fb3fdbb94c9d24b2c75b49663122a529e123", "CI_COMMIT_TIMESTAMP": "2021-07-21T11:43:07-04:00", "CI_JOB_ID": "gitlab-job-id", "CI_JOB_NAME": "gitlab-job-name", @@ -763,7 +763,7 @@ "CI_COMMIT_AUTHOR": "John Doe ", "CI_COMMIT_MESSAGE": "gitlab-git-commit-message", "CI_COMMIT_REF_NAME": "origin/master", - "CI_COMMIT_SHA": "gitlab-git-commit", + "CI_COMMIT_SHA": "b9f0fb3fdbb94c9d24b2c75b49663122a529e123", "CI_COMMIT_TIMESTAMP": "2021-07-21T11:43:07-04:00", "CI_JOB_ID": "gitlab-job-id", "CI_JOB_NAME": "gitlab-job-name", @@ -794,7 +794,7 @@ "git.commit.author.email": "john@doe.com", "git.commit.author.name": "John Doe", "git.commit.message": "gitlab-git-commit-message", - "git.commit.sha": "gitlab-git-commit", + "git.commit.sha": "b9f0fb3fdbb94c9d24b2c75b49663122a529e123", "git.repository_url": "https://gitlab.com/DataDog/dogweb.git" } ], @@ -803,7 +803,7 @@ "CI_COMMIT_AUTHOR": "John Doe ", "CI_COMMIT_MESSAGE": "gitlab-git-commit-message", "CI_COMMIT_REF_NAME": "origin/master", - "CI_COMMIT_SHA": "gitlab-git-commit", + "CI_COMMIT_SHA": "b9f0fb3fdbb94c9d24b2c75b49663122a529e123", "CI_COMMIT_TIMESTAMP": "2021-07-21T11:43:07-04:00", "CI_JOB_ID": "gitlab-job-id", "CI_JOB_NAME": "gitlab-job-name", @@ -838,7 +838,7 @@ "git.commit.author.email": "john@doe.com", "git.commit.author.name": "John Doe", "git.commit.message": "gitlab-git-commit-message", - "git.commit.sha": "gitlab-git-commit", + "git.commit.sha": "b9f0fb3fdbb94c9d24b2c75b49663122a529e123", "git.repository_url": "https://gitlab.com/repo/myrepo.git" } ] diff --git a/packages/dd-trace/test/plugins/util/ci-env/jenkins.json b/packages/dd-trace/test/plugins/util/ci-env/jenkins.json index 8f6799796aa..3e791b5f7ff 100644 --- a/packages/dd-trace/test/plugins/util/ci-env/jenkins.json +++ b/packages/dd-trace/test/plugins/util/ci-env/jenkins.json @@ -6,9 +6,9 @@ "BUILD_URL": "https://jenkins.com/pipeline", "DD_CUSTOM_TRACE_ID": "jenkins-custom-trace-id", "GIT_BRANCH": "origin/master", - "GIT_COMMIT": "jenkins-git-commit", - "GIT_URL_1": "https://jenkins.com/repo/sample", - "GIT_URL_2": "https://jenkins.com/repo/otherSample", + "GIT_COMMIT": "b9f0fb3fdbb94c9d24b2c75b49663122a529e123", + "GIT_URL_1": "https://jenkins.com/repo/sample.git", + "GIT_URL_2": "https://jenkins.com/repo/otherSample.git", "JENKINS_URL": "jenkins", "JOB_NAME": "jobName", "JOB_URL": "https://jenkins.com/job" @@ -21,8 +21,8 @@ "ci.pipeline.url": "https://jenkins.com/pipeline", "ci.provider.name": "jenkins", "git.branch": "master", - "git.commit.sha": "jenkins-git-commit", - "git.repository_url": "https://jenkins.com/repo/sample" + "git.commit.sha": "b9f0fb3fdbb94c9d24b2c75b49663122a529e123", + "git.repository_url": "https://jenkins.com/repo/sample.git" } ], [ @@ -32,8 +32,8 @@ "BUILD_URL": "https://jenkins.com/pipeline", "DD_CUSTOM_TRACE_ID": "jenkins-custom-trace-id", "GIT_BRANCH": "origin/master", - "GIT_COMMIT": "jenkins-git-commit", - "GIT_URL": "https://jenkins.com/repo/sample", + "GIT_COMMIT": "b9f0fb3fdbb94c9d24b2c75b49663122a529e123", + "GIT_URL": "https://jenkins.com/repo/sample.git", "JENKINS_URL": "jenkins", "JOB_NAME": "jobName", "JOB_URL": "https://jenkins.com/job" @@ -46,8 +46,8 @@ "ci.pipeline.url": "https://jenkins.com/pipeline", "ci.provider.name": "jenkins", "git.branch": "master", - "git.commit.sha": "jenkins-git-commit", - "git.repository_url": "https://jenkins.com/repo/sample" + "git.commit.sha": "b9f0fb3fdbb94c9d24b2c75b49663122a529e123", + "git.repository_url": "https://jenkins.com/repo/sample.git" } ], [ @@ -57,8 +57,8 @@ "BUILD_URL": "https://jenkins.com/pipeline", "DD_CUSTOM_TRACE_ID": "jenkins-custom-trace-id", "GIT_BRANCH": "origin/master", - "GIT_COMMIT": "jenkins-git-commit", - "GIT_URL": "https://jenkins.com/repo/sample", + "GIT_COMMIT": "b9f0fb3fdbb94c9d24b2c75b49663122a529e123", + "GIT_URL": "https://jenkins.com/repo/sample.git", "JENKINS_URL": "jenkins", "JOB_NAME": "jobName", "JOB_URL": "https://jenkins.com/job" @@ -71,8 +71,8 @@ "ci.pipeline.url": "https://jenkins.com/pipeline", "ci.provider.name": "jenkins", "git.branch": "master", - "git.commit.sha": "jenkins-git-commit", - "git.repository_url": "https://jenkins.com/repo/sample" + "git.commit.sha": "b9f0fb3fdbb94c9d24b2c75b49663122a529e123", + "git.repository_url": "https://jenkins.com/repo/sample.git" } ], [ @@ -82,8 +82,8 @@ "BUILD_URL": "https://jenkins.com/pipeline", "DD_CUSTOM_TRACE_ID": "jenkins-custom-trace-id", "GIT_BRANCH": "origin/master", - "GIT_COMMIT": "jenkins-git-commit", - "GIT_URL": "https://jenkins.com/repo/sample", + "GIT_COMMIT": "b9f0fb3fdbb94c9d24b2c75b49663122a529e123", + "GIT_URL": "https://jenkins.com/repo/sample.git", "JENKINS_URL": "jenkins", "JOB_NAME": "jobName", "JOB_URL": "https://jenkins.com/job", @@ -98,8 +98,8 @@ "ci.provider.name": "jenkins", "ci.workspace_path": "foo/bar", "git.branch": "master", - "git.commit.sha": "jenkins-git-commit", - "git.repository_url": "https://jenkins.com/repo/sample" + "git.commit.sha": "b9f0fb3fdbb94c9d24b2c75b49663122a529e123", + "git.repository_url": "https://jenkins.com/repo/sample.git" } ], [ @@ -109,8 +109,8 @@ "BUILD_URL": "https://jenkins.com/pipeline", "DD_CUSTOM_TRACE_ID": "jenkins-custom-trace-id", "GIT_BRANCH": "origin/master", - "GIT_COMMIT": "jenkins-git-commit", - "GIT_URL": "https://jenkins.com/repo/sample", + "GIT_COMMIT": "b9f0fb3fdbb94c9d24b2c75b49663122a529e123", + "GIT_URL": "https://jenkins.com/repo/sample.git", "JENKINS_URL": "jenkins", "JOB_NAME": "jobName", "JOB_URL": "https://jenkins.com/job", @@ -125,8 +125,8 @@ "ci.provider.name": "jenkins", "ci.workspace_path": "/foo/bar~", "git.branch": "master", - "git.commit.sha": "jenkins-git-commit", - "git.repository_url": "https://jenkins.com/repo/sample" + "git.commit.sha": "b9f0fb3fdbb94c9d24b2c75b49663122a529e123", + "git.repository_url": "https://jenkins.com/repo/sample.git" } ], [ @@ -136,8 +136,8 @@ "BUILD_URL": "https://jenkins.com/pipeline", "DD_CUSTOM_TRACE_ID": "jenkins-custom-trace-id", "GIT_BRANCH": "origin/master", - "GIT_COMMIT": "jenkins-git-commit", - "GIT_URL": "https://jenkins.com/repo/sample", + "GIT_COMMIT": "b9f0fb3fdbb94c9d24b2c75b49663122a529e123", + "GIT_URL": "https://jenkins.com/repo/sample.git", "JENKINS_URL": "jenkins", "JOB_NAME": "jobName", "JOB_URL": "https://jenkins.com/job", @@ -152,8 +152,8 @@ "ci.provider.name": "jenkins", "ci.workspace_path": "/foo/~/bar", "git.branch": "master", - "git.commit.sha": "jenkins-git-commit", - "git.repository_url": "https://jenkins.com/repo/sample" + "git.commit.sha": "b9f0fb3fdbb94c9d24b2c75b49663122a529e123", + "git.repository_url": "https://jenkins.com/repo/sample.git" } ], [ @@ -163,8 +163,8 @@ "BUILD_URL": "https://jenkins.com/pipeline", "DD_CUSTOM_TRACE_ID": "jenkins-custom-trace-id", "GIT_BRANCH": "origin/master", - "GIT_COMMIT": "jenkins-git-commit", - "GIT_URL": "https://jenkins.com/repo/sample", + "GIT_COMMIT": "b9f0fb3fdbb94c9d24b2c75b49663122a529e123", + "GIT_URL": "https://jenkins.com/repo/sample.git", "HOME": "/not-my-home", "JENKINS_URL": "jenkins", "JOB_NAME": "jobName", @@ -181,8 +181,8 @@ "ci.provider.name": "jenkins", "ci.workspace_path": "/not-my-home/foo/bar", "git.branch": "master", - "git.commit.sha": "jenkins-git-commit", - "git.repository_url": "https://jenkins.com/repo/sample" + "git.commit.sha": "b9f0fb3fdbb94c9d24b2c75b49663122a529e123", + "git.repository_url": "https://jenkins.com/repo/sample.git" } ], [ @@ -192,8 +192,8 @@ "BUILD_URL": "https://jenkins.com/pipeline", "DD_CUSTOM_TRACE_ID": "jenkins-custom-trace-id", "GIT_BRANCH": "origin/master", - "GIT_COMMIT": "jenkins-git-commit", - "GIT_URL": "https://jenkins.com/repo/sample", + "GIT_COMMIT": "b9f0fb3fdbb94c9d24b2c75b49663122a529e123", + "GIT_URL": "https://jenkins.com/repo/sample.git", "HOME": "/not-my-home", "JENKINS_URL": "jenkins", "JOB_NAME": "jobName", @@ -210,8 +210,8 @@ "ci.provider.name": "jenkins", "ci.workspace_path": "~foo/bar", "git.branch": "master", - "git.commit.sha": "jenkins-git-commit", - "git.repository_url": "https://jenkins.com/repo/sample" + "git.commit.sha": "b9f0fb3fdbb94c9d24b2c75b49663122a529e123", + "git.repository_url": "https://jenkins.com/repo/sample.git" } ], [ @@ -221,8 +221,8 @@ "BUILD_URL": "https://jenkins.com/pipeline", "DD_CUSTOM_TRACE_ID": "jenkins-custom-trace-id", "GIT_BRANCH": "origin/master", - "GIT_COMMIT": "jenkins-git-commit", - "GIT_URL": "https://jenkins.com/repo/sample", + "GIT_COMMIT": "b9f0fb3fdbb94c9d24b2c75b49663122a529e123", + "GIT_URL": "https://jenkins.com/repo/sample.git", "HOME": "/not-my-home", "JENKINS_URL": "jenkins", "JOB_NAME": "jobName", @@ -239,8 +239,8 @@ "ci.provider.name": "jenkins", "ci.workspace_path": "/not-my-home", "git.branch": "master", - "git.commit.sha": "jenkins-git-commit", - "git.repository_url": "https://jenkins.com/repo/sample" + "git.commit.sha": "b9f0fb3fdbb94c9d24b2c75b49663122a529e123", + "git.repository_url": "https://jenkins.com/repo/sample.git" } ], [ @@ -250,8 +250,8 @@ "BUILD_URL": "https://jenkins.com/pipeline", "DD_CUSTOM_TRACE_ID": "jenkins-custom-trace-id", "GIT_BRANCH": "origin/master", - "GIT_COMMIT": "jenkins-git-commit", - "GIT_URL": "https://jenkins.com/repo/sample", + "GIT_COMMIT": "b9f0fb3fdbb94c9d24b2c75b49663122a529e123", + "GIT_URL": "https://jenkins.com/repo/sample.git", "JENKINS_URL": "jenkins", "JOB_NAME": "jobName", "JOB_URL": "https://jenkins.com/job", @@ -266,8 +266,8 @@ "ci.provider.name": "jenkins", "ci.workspace_path": "/foo/bar", "git.branch": "master", - "git.commit.sha": "jenkins-git-commit", - "git.repository_url": "https://jenkins.com/repo/sample" + "git.commit.sha": "b9f0fb3fdbb94c9d24b2c75b49663122a529e123", + "git.repository_url": "https://jenkins.com/repo/sample.git" } ], [ @@ -277,8 +277,8 @@ "BUILD_URL": "https://jenkins.com/pipeline", "DD_CUSTOM_TRACE_ID": "jenkins-custom-trace-id", "GIT_BRANCH": "refs/heads/master", - "GIT_COMMIT": "jenkins-git-commit", - "GIT_URL": "https://jenkins.com/repo/sample", + "GIT_COMMIT": "b9f0fb3fdbb94c9d24b2c75b49663122a529e123", + "GIT_URL": "https://jenkins.com/repo/sample.git", "JENKINS_URL": "jenkins", "JOB_NAME": "jobName/master", "JOB_URL": "https://jenkins.com/job", @@ -293,8 +293,8 @@ "ci.provider.name": "jenkins", "ci.workspace_path": "/foo/bar", "git.branch": "master", - "git.commit.sha": "jenkins-git-commit", - "git.repository_url": "https://jenkins.com/repo/sample" + "git.commit.sha": "b9f0fb3fdbb94c9d24b2c75b49663122a529e123", + "git.repository_url": "https://jenkins.com/repo/sample.git" } ], [ @@ -304,8 +304,8 @@ "BUILD_URL": "https://jenkins.com/pipeline", "DD_CUSTOM_TRACE_ID": "jenkins-custom-trace-id", "GIT_BRANCH": "refs/heads/master", - "GIT_COMMIT": "jenkins-git-commit", - "GIT_URL": "https://jenkins.com/repo/sample", + "GIT_COMMIT": "b9f0fb3fdbb94c9d24b2c75b49663122a529e123", + "GIT_URL": "https://jenkins.com/repo/sample.git", "JENKINS_URL": "jenkins", "JOB_NAME": "jobName/another", "JOB_URL": "https://jenkins.com/job", @@ -320,8 +320,8 @@ "ci.provider.name": "jenkins", "ci.workspace_path": "/foo/bar", "git.branch": "master", - "git.commit.sha": "jenkins-git-commit", - "git.repository_url": "https://jenkins.com/repo/sample" + "git.commit.sha": "b9f0fb3fdbb94c9d24b2c75b49663122a529e123", + "git.repository_url": "https://jenkins.com/repo/sample.git" } ], [ @@ -331,8 +331,8 @@ "BUILD_URL": "https://jenkins.com/pipeline", "DD_CUSTOM_TRACE_ID": "jenkins-custom-trace-id", "GIT_BRANCH": "refs/heads/feature/one", - "GIT_COMMIT": "jenkins-git-commit", - "GIT_URL": "https://jenkins.com/repo/sample", + "GIT_COMMIT": "b9f0fb3fdbb94c9d24b2c75b49663122a529e123", + "GIT_URL": "https://jenkins.com/repo/sample.git", "JENKINS_URL": "jenkins", "JOB_NAME": "jobName/feature/one", "JOB_URL": "https://jenkins.com/job", @@ -347,8 +347,8 @@ "ci.provider.name": "jenkins", "ci.workspace_path": "/foo/bar", "git.branch": "feature/one", - "git.commit.sha": "jenkins-git-commit", - "git.repository_url": "https://jenkins.com/repo/sample" + "git.commit.sha": "b9f0fb3fdbb94c9d24b2c75b49663122a529e123", + "git.repository_url": "https://jenkins.com/repo/sample.git" } ], [ @@ -358,8 +358,8 @@ "BUILD_URL": "https://jenkins.com/pipeline", "DD_CUSTOM_TRACE_ID": "jenkins-custom-trace-id", "GIT_BRANCH": "refs/heads/master", - "GIT_COMMIT": "jenkins-git-commit", - "GIT_URL": "https://jenkins.com/repo/sample", + "GIT_COMMIT": "b9f0fb3fdbb94c9d24b2c75b49663122a529e123", + "GIT_URL": "https://jenkins.com/repo/sample.git", "JENKINS_URL": "jenkins", "JOB_NAME": "jobName/KEY1=VALUE1,KEY2=VALUE2", "JOB_URL": "https://jenkins.com/job", @@ -374,8 +374,8 @@ "ci.provider.name": "jenkins", "ci.workspace_path": "/foo/bar", "git.branch": "master", - "git.commit.sha": "jenkins-git-commit", - "git.repository_url": "https://jenkins.com/repo/sample" + "git.commit.sha": "b9f0fb3fdbb94c9d24b2c75b49663122a529e123", + "git.repository_url": "https://jenkins.com/repo/sample.git" } ], [ @@ -385,8 +385,8 @@ "BUILD_URL": "https://jenkins.com/pipeline", "DD_CUSTOM_TRACE_ID": "jenkins-custom-trace-id", "GIT_BRANCH": "refs/heads/master", - "GIT_COMMIT": "jenkins-git-commit", - "GIT_URL": "https://jenkins.com/repo/sample", + "GIT_COMMIT": "b9f0fb3fdbb94c9d24b2c75b49663122a529e123", + "GIT_URL": "https://jenkins.com/repo/sample.git", "JENKINS_URL": "jenkins", "JOB_NAME": "jobName/KEY1=VALUE1,KEY2=VALUE2/master", "JOB_URL": "https://jenkins.com/job", @@ -401,8 +401,8 @@ "ci.provider.name": "jenkins", "ci.workspace_path": "/foo/bar", "git.branch": "master", - "git.commit.sha": "jenkins-git-commit", - "git.repository_url": "https://jenkins.com/repo/sample" + "git.commit.sha": "b9f0fb3fdbb94c9d24b2c75b49663122a529e123", + "git.repository_url": "https://jenkins.com/repo/sample.git" } ], [ @@ -412,8 +412,8 @@ "BUILD_URL": "https://jenkins.com/pipeline", "DD_CUSTOM_TRACE_ID": "jenkins-custom-trace-id", "GIT_BRANCH": "origin/tags/0.1.0", - "GIT_COMMIT": "jenkins-git-commit", - "GIT_URL": "https://jenkins.com/repo/sample", + "GIT_COMMIT": "b9f0fb3fdbb94c9d24b2c75b49663122a529e123", + "GIT_URL": "https://jenkins.com/repo/sample.git", "JENKINS_URL": "jenkins", "JOB_URL": "https://jenkins.com/job", "WORKSPACE": "/foo/bar" @@ -425,8 +425,8 @@ "ci.pipeline.url": "https://jenkins.com/pipeline", "ci.provider.name": "jenkins", "ci.workspace_path": "/foo/bar", - "git.commit.sha": "jenkins-git-commit", - "git.repository_url": "https://jenkins.com/repo/sample", + "git.commit.sha": "b9f0fb3fdbb94c9d24b2c75b49663122a529e123", + "git.repository_url": "https://jenkins.com/repo/sample.git", "git.tag": "0.1.0" } ], @@ -437,8 +437,8 @@ "BUILD_URL": "https://jenkins.com/pipeline", "DD_CUSTOM_TRACE_ID": "jenkins-custom-trace-id", "GIT_BRANCH": "refs/heads/tags/0.1.0", - "GIT_COMMIT": "jenkins-git-commit", - "GIT_URL": "https://jenkins.com/repo/sample", + "GIT_COMMIT": "b9f0fb3fdbb94c9d24b2c75b49663122a529e123", + "GIT_URL": "https://jenkins.com/repo/sample.git", "JENKINS_URL": "jenkins", "JOB_URL": "https://jenkins.com/job", "WORKSPACE": "/foo/bar" @@ -450,8 +450,8 @@ "ci.pipeline.url": "https://jenkins.com/pipeline", "ci.provider.name": "jenkins", "ci.workspace_path": "/foo/bar", - "git.commit.sha": "jenkins-git-commit", - "git.repository_url": "https://jenkins.com/repo/sample", + "git.commit.sha": "b9f0fb3fdbb94c9d24b2c75b49663122a529e123", + "git.repository_url": "https://jenkins.com/repo/sample.git", "git.tag": "0.1.0" } ], @@ -462,7 +462,7 @@ "BUILD_URL": "https://jenkins.com/pipeline", "DD_CUSTOM_TRACE_ID": "jenkins-custom-trace-id", "GIT_BRANCH": "origin/master", - "GIT_COMMIT": "jenkins-git-commit", + "GIT_COMMIT": "b9f0fb3fdbb94c9d24b2c75b49663122a529e123", "GIT_URL": "http://hostname.com/repo.git", "JENKINS_URL": "jenkins", "JOB_NAME": "jobName", @@ -478,7 +478,7 @@ "ci.provider.name": "jenkins", "ci.workspace_path": "/foo/bar", "git.branch": "master", - "git.commit.sha": "jenkins-git-commit", + "git.commit.sha": "b9f0fb3fdbb94c9d24b2c75b49663122a529e123", "git.repository_url": "http://hostname.com/repo.git" } ], @@ -489,7 +489,7 @@ "BUILD_URL": "https://jenkins.com/pipeline", "DD_CUSTOM_TRACE_ID": "jenkins-custom-trace-id", "GIT_BRANCH": "origin/master", - "GIT_COMMIT": "jenkins-git-commit", + "GIT_COMMIT": "b9f0fb3fdbb94c9d24b2c75b49663122a529e123", "GIT_URL": "http://user@hostname.com/repo.git", "JENKINS_URL": "jenkins", "JOB_NAME": "jobName", @@ -505,7 +505,7 @@ "ci.provider.name": "jenkins", "ci.workspace_path": "/foo/bar", "git.branch": "master", - "git.commit.sha": "jenkins-git-commit", + "git.commit.sha": "b9f0fb3fdbb94c9d24b2c75b49663122a529e123", "git.repository_url": "http://hostname.com/repo.git" } ], @@ -516,7 +516,7 @@ "BUILD_URL": "https://jenkins.com/pipeline", "DD_CUSTOM_TRACE_ID": "jenkins-custom-trace-id", "GIT_BRANCH": "origin/master", - "GIT_COMMIT": "jenkins-git-commit", + "GIT_COMMIT": "b9f0fb3fdbb94c9d24b2c75b49663122a529e123", "GIT_URL": "http://user%E2%82%AC@hostname.com/repo.git", "JENKINS_URL": "jenkins", "JOB_NAME": "jobName", @@ -532,7 +532,7 @@ "ci.provider.name": "jenkins", "ci.workspace_path": "/foo/bar", "git.branch": "master", - "git.commit.sha": "jenkins-git-commit", + "git.commit.sha": "b9f0fb3fdbb94c9d24b2c75b49663122a529e123", "git.repository_url": "http://hostname.com/repo.git" } ], @@ -543,7 +543,7 @@ "BUILD_URL": "https://jenkins.com/pipeline", "DD_CUSTOM_TRACE_ID": "jenkins-custom-trace-id", "GIT_BRANCH": "origin/master", - "GIT_COMMIT": "jenkins-git-commit", + "GIT_COMMIT": "b9f0fb3fdbb94c9d24b2c75b49663122a529e123", "GIT_URL": "http://user:pwd@hostname.com/repo.git", "JENKINS_URL": "jenkins", "JOB_NAME": "jobName", @@ -559,7 +559,7 @@ "ci.provider.name": "jenkins", "ci.workspace_path": "/foo/bar", "git.branch": "master", - "git.commit.sha": "jenkins-git-commit", + "git.commit.sha": "b9f0fb3fdbb94c9d24b2c75b49663122a529e123", "git.repository_url": "http://hostname.com/repo.git" } ], @@ -570,7 +570,7 @@ "BUILD_URL": "https://jenkins.com/pipeline", "DD_CUSTOM_TRACE_ID": "jenkins-custom-trace-id", "GIT_BRANCH": "origin/master", - "GIT_COMMIT": "jenkins-git-commit", + "GIT_COMMIT": "b9f0fb3fdbb94c9d24b2c75b49663122a529e123", "GIT_URL": "git@hostname.com:org/repo.git", "JENKINS_URL": "jenkins", "JOB_NAME": "jobName", @@ -586,7 +586,7 @@ "ci.provider.name": "jenkins", "ci.workspace_path": "/foo/bar", "git.branch": "master", - "git.commit.sha": "jenkins-git-commit", + "git.commit.sha": "b9f0fb3fdbb94c9d24b2c75b49663122a529e123", "git.repository_url": "git@hostname.com:org/repo.git" } ], @@ -606,7 +606,7 @@ "DD_GIT_COMMIT_MESSAGE": "usersupplied-message", "DD_GIT_COMMIT_SHA": "b9f0fb3fdbb94c9d24b2c75b49663122a529e123", "DD_GIT_REPOSITORY_URL": "git@github.com:DataDog/userrepo.git", - "GIT_COMMIT": "jenkins-git-commit", + "GIT_COMMIT": "b9f0fb3fdbb94c9d24b2c75b49663122a529e123", "JENKINS_URL": "jenkins", "JOB_URL": "https://jenkins.com/job" }, @@ -644,7 +644,7 @@ "DD_GIT_COMMIT_SHA": "b9f0fb3fdbb94c9d24b2c75b49663122a529e123", "DD_GIT_REPOSITORY_URL": "git@github.com:DataDog/userrepo.git", "DD_GIT_TAG": "0.0.2", - "GIT_COMMIT": "jenkins-git-commit", + "GIT_COMMIT": "b9f0fb3fdbb94c9d24b2c75b49663122a529e123", "JENKINS_URL": "jenkins", "JOB_URL": "https://jenkins.com/job" }, @@ -672,7 +672,7 @@ "BUILD_TAG": "jenkins-pipeline-id", "BUILD_URL": "https://jenkins.com/pipeline", "DD_CUSTOM_TRACE_ID": "jenkins-custom-trace-id", - "GIT_COMMIT": "jenkins-git-commit", + "GIT_COMMIT": "b9f0fb3fdbb94c9d24b2c75b49663122a529e123", "GIT_URL_1": "https://user:password@github.com/DataDog/dogweb.git", "JENKINS_URL": "jenkins", "JOB_URL": "https://jenkins.com/job" @@ -683,7 +683,7 @@ "ci.pipeline.number": "jenkins-pipeline-number", "ci.pipeline.url": "https://jenkins.com/pipeline", "ci.provider.name": "jenkins", - "git.commit.sha": "jenkins-git-commit", + "git.commit.sha": "b9f0fb3fdbb94c9d24b2c75b49663122a529e123", "git.repository_url": "https://github.com/DataDog/dogweb.git" } ], @@ -693,7 +693,7 @@ "BUILD_TAG": "jenkins-pipeline-id", "BUILD_URL": "https://jenkins.com/pipeline", "DD_CUSTOM_TRACE_ID": "jenkins-custom-trace-id", - "GIT_COMMIT": "jenkins-git-commit", + "GIT_COMMIT": "b9f0fb3fdbb94c9d24b2c75b49663122a529e123", "JENKINS_URL": "jenkins", "JOB_URL": "https://jenkins.com/job", "NODE_LABELS": "built-in linux", @@ -707,7 +707,7 @@ "ci.pipeline.number": "jenkins-pipeline-number", "ci.pipeline.url": "https://jenkins.com/pipeline", "ci.provider.name": "jenkins", - "git.commit.sha": "jenkins-git-commit" + "git.commit.sha": "b9f0fb3fdbb94c9d24b2c75b49663122a529e123" } ] ] diff --git a/packages/dd-trace/test/plugins/util/ci-env/travisci.json b/packages/dd-trace/test/plugins/util/ci-env/travisci.json index b29aef78eb4..2131938546f 100644 --- a/packages/dd-trace/test/plugins/util/ci-env/travisci.json +++ b/packages/dd-trace/test/plugins/util/ci-env/travisci.json @@ -7,7 +7,7 @@ "TRAVIS_BUILD_ID": "travis-pipeline-id", "TRAVIS_BUILD_NUMBER": "travis-pipeline-number", "TRAVIS_BUILD_WEB_URL": "https://travisci.com/pipeline", - "TRAVIS_COMMIT": "travis-git-commit", + "TRAVIS_COMMIT": "b9f0fb3fdbb94c9d24b2c75b49663122a529e123", "TRAVIS_COMMIT_MESSAGE": "travis-commit-message", "TRAVIS_JOB_WEB_URL": "https://travisci.com/job", "TRAVIS_REPO_SLUG": "user/repo", @@ -22,7 +22,7 @@ "ci.provider.name": "travisci", "ci.workspace_path": "/foo/bar", "git.commit.message": "travis-commit-message", - "git.commit.sha": "travis-git-commit", + "git.commit.sha": "b9f0fb3fdbb94c9d24b2c75b49663122a529e123", "git.repository_url": "https://github.com/user/repo.git", "git.tag": "0.1.0" } @@ -35,7 +35,7 @@ "TRAVIS_BUILD_ID": "travis-pipeline-id", "TRAVIS_BUILD_NUMBER": "travis-pipeline-number", "TRAVIS_BUILD_WEB_URL": "https://travisci.com/pipeline", - "TRAVIS_COMMIT": "travis-git-commit", + "TRAVIS_COMMIT": "b9f0fb3fdbb94c9d24b2c75b49663122a529e123", "TRAVIS_COMMIT_MESSAGE": "travis-commit-message", "TRAVIS_JOB_WEB_URL": "https://travisci.com/job", "TRAVIS_REPO_SLUG": "user/repo", @@ -50,7 +50,7 @@ "ci.provider.name": "travisci", "ci.workspace_path": "/foo/bar", "git.commit.message": "travis-commit-message", - "git.commit.sha": "travis-git-commit", + "git.commit.sha": "b9f0fb3fdbb94c9d24b2c75b49663122a529e123", "git.repository_url": "https://github.com/user/repo.git", "git.tag": "0.1.0" } @@ -62,7 +62,7 @@ "TRAVIS_BUILD_ID": "travis-pipeline-id", "TRAVIS_BUILD_NUMBER": "travis-pipeline-number", "TRAVIS_BUILD_WEB_URL": "https://travisci.com/pipeline", - "TRAVIS_COMMIT": "travis-git-commit", + "TRAVIS_COMMIT": "b9f0fb3fdbb94c9d24b2c75b49663122a529e123", "TRAVIS_COMMIT_MESSAGE": "travis-commit-message", "TRAVIS_JOB_WEB_URL": "https://travisci.com/job", "TRAVIS_REPO_SLUG": "user/repo" @@ -76,7 +76,7 @@ "ci.provider.name": "travisci", "git.branch": "master", "git.commit.message": "travis-commit-message", - "git.commit.sha": "travis-git-commit", + "git.commit.sha": "b9f0fb3fdbb94c9d24b2c75b49663122a529e123", "git.repository_url": "https://github.com/user/repo.git" } ], @@ -88,7 +88,7 @@ "TRAVIS_BUILD_ID": "travis-pipeline-id", "TRAVIS_BUILD_NUMBER": "travis-pipeline-number", "TRAVIS_BUILD_WEB_URL": "https://travisci.com/pipeline", - "TRAVIS_COMMIT": "travis-git-commit", + "TRAVIS_COMMIT": "b9f0fb3fdbb94c9d24b2c75b49663122a529e123", "TRAVIS_COMMIT_MESSAGE": "travis-commit-message", "TRAVIS_JOB_WEB_URL": "https://travisci.com/job", "TRAVIS_REPO_SLUG": "user/repo" @@ -103,7 +103,7 @@ "ci.workspace_path": "foo/bar", "git.branch": "master", "git.commit.message": "travis-commit-message", - "git.commit.sha": "travis-git-commit", + "git.commit.sha": "b9f0fb3fdbb94c9d24b2c75b49663122a529e123", "git.repository_url": "https://github.com/user/repo.git" } ], @@ -115,7 +115,7 @@ "TRAVIS_BUILD_ID": "travis-pipeline-id", "TRAVIS_BUILD_NUMBER": "travis-pipeline-number", "TRAVIS_BUILD_WEB_URL": "https://travisci.com/pipeline", - "TRAVIS_COMMIT": "travis-git-commit", + "TRAVIS_COMMIT": "b9f0fb3fdbb94c9d24b2c75b49663122a529e123", "TRAVIS_COMMIT_MESSAGE": "travis-commit-message", "TRAVIS_JOB_WEB_URL": "https://travisci.com/job", "TRAVIS_REPO_SLUG": "user/repo" @@ -130,7 +130,7 @@ "ci.workspace_path": "/foo/bar~", "git.branch": "master", "git.commit.message": "travis-commit-message", - "git.commit.sha": "travis-git-commit", + "git.commit.sha": "b9f0fb3fdbb94c9d24b2c75b49663122a529e123", "git.repository_url": "https://github.com/user/repo.git" } ], @@ -142,7 +142,7 @@ "TRAVIS_BUILD_ID": "travis-pipeline-id", "TRAVIS_BUILD_NUMBER": "travis-pipeline-number", "TRAVIS_BUILD_WEB_URL": "https://travisci.com/pipeline", - "TRAVIS_COMMIT": "travis-git-commit", + "TRAVIS_COMMIT": "b9f0fb3fdbb94c9d24b2c75b49663122a529e123", "TRAVIS_COMMIT_MESSAGE": "travis-commit-message", "TRAVIS_JOB_WEB_URL": "https://travisci.com/job", "TRAVIS_REPO_SLUG": "user/repo" @@ -157,7 +157,7 @@ "ci.workspace_path": "/foo/~/bar", "git.branch": "master", "git.commit.message": "travis-commit-message", - "git.commit.sha": "travis-git-commit", + "git.commit.sha": "b9f0fb3fdbb94c9d24b2c75b49663122a529e123", "git.repository_url": "https://github.com/user/repo.git" } ], @@ -170,7 +170,7 @@ "TRAVIS_BUILD_ID": "travis-pipeline-id", "TRAVIS_BUILD_NUMBER": "travis-pipeline-number", "TRAVIS_BUILD_WEB_URL": "https://travisci.com/pipeline", - "TRAVIS_COMMIT": "travis-git-commit", + "TRAVIS_COMMIT": "b9f0fb3fdbb94c9d24b2c75b49663122a529e123", "TRAVIS_COMMIT_MESSAGE": "travis-commit-message", "TRAVIS_JOB_WEB_URL": "https://travisci.com/job", "TRAVIS_REPO_SLUG": "user/repo", @@ -186,7 +186,7 @@ "ci.workspace_path": "/not-my-home/foo/bar", "git.branch": "master", "git.commit.message": "travis-commit-message", - "git.commit.sha": "travis-git-commit", + "git.commit.sha": "b9f0fb3fdbb94c9d24b2c75b49663122a529e123", "git.repository_url": "https://github.com/user/repo.git" } ], @@ -198,7 +198,7 @@ "TRAVIS_BUILD_ID": "travis-pipeline-id", "TRAVIS_BUILD_NUMBER": "travis-pipeline-number", "TRAVIS_BUILD_WEB_URL": "https://travisci.com/pipeline", - "TRAVIS_COMMIT": "travis-git-commit", + "TRAVIS_COMMIT": "b9f0fb3fdbb94c9d24b2c75b49663122a529e123", "TRAVIS_COMMIT_MESSAGE": "travis-commit-message", "TRAVIS_JOB_WEB_URL": "https://travisci.com/job", "TRAVIS_REPO_SLUG": "user/repo" @@ -213,7 +213,7 @@ "ci.workspace_path": "~foo/bar", "git.branch": "master", "git.commit.message": "travis-commit-message", - "git.commit.sha": "travis-git-commit", + "git.commit.sha": "b9f0fb3fdbb94c9d24b2c75b49663122a529e123", "git.repository_url": "https://github.com/user/repo.git" } ], @@ -226,7 +226,7 @@ "TRAVIS_BUILD_ID": "travis-pipeline-id", "TRAVIS_BUILD_NUMBER": "travis-pipeline-number", "TRAVIS_BUILD_WEB_URL": "https://travisci.com/pipeline", - "TRAVIS_COMMIT": "travis-git-commit", + "TRAVIS_COMMIT": "b9f0fb3fdbb94c9d24b2c75b49663122a529e123", "TRAVIS_COMMIT_MESSAGE": "travis-commit-message", "TRAVIS_JOB_WEB_URL": "https://travisci.com/job", "TRAVIS_REPO_SLUG": "user/repo", @@ -242,7 +242,7 @@ "ci.workspace_path": "/not-my-home", "git.branch": "master", "git.commit.message": "travis-commit-message", - "git.commit.sha": "travis-git-commit", + "git.commit.sha": "b9f0fb3fdbb94c9d24b2c75b49663122a529e123", "git.repository_url": "https://github.com/user/repo.git" } ], @@ -254,7 +254,7 @@ "TRAVIS_BUILD_ID": "travis-pipeline-id", "TRAVIS_BUILD_NUMBER": "travis-pipeline-number", "TRAVIS_BUILD_WEB_URL": "https://travisci.com/pipeline", - "TRAVIS_COMMIT": "travis-git-commit", + "TRAVIS_COMMIT": "b9f0fb3fdbb94c9d24b2c75b49663122a529e123", "TRAVIS_COMMIT_MESSAGE": "travis-commit-message", "TRAVIS_JOB_WEB_URL": "https://travisci.com/job", "TRAVIS_REPO_SLUG": "user/repo" @@ -269,7 +269,7 @@ "ci.workspace_path": "/foo/bar", "git.branch": "master", "git.commit.message": "travis-commit-message", - "git.commit.sha": "travis-git-commit", + "git.commit.sha": "b9f0fb3fdbb94c9d24b2c75b49663122a529e123", "git.repository_url": "https://github.com/user/repo.git" } ], @@ -281,7 +281,7 @@ "TRAVIS_BUILD_ID": "travis-pipeline-id", "TRAVIS_BUILD_NUMBER": "travis-pipeline-number", "TRAVIS_BUILD_WEB_URL": "https://travisci.com/pipeline", - "TRAVIS_COMMIT": "travis-git-commit", + "TRAVIS_COMMIT": "b9f0fb3fdbb94c9d24b2c75b49663122a529e123", "TRAVIS_COMMIT_MESSAGE": "travis-commit-message", "TRAVIS_JOB_WEB_URL": "https://travisci.com/job", "TRAVIS_REPO_SLUG": "user/repo" @@ -296,7 +296,7 @@ "ci.workspace_path": "/foo/bar", "git.branch": "master", "git.commit.message": "travis-commit-message", - "git.commit.sha": "travis-git-commit", + "git.commit.sha": "b9f0fb3fdbb94c9d24b2c75b49663122a529e123", "git.repository_url": "https://github.com/user/repo.git" } ], @@ -308,7 +308,7 @@ "TRAVIS_BUILD_ID": "travis-pipeline-id", "TRAVIS_BUILD_NUMBER": "travis-pipeline-number", "TRAVIS_BUILD_WEB_URL": "https://travisci.com/pipeline", - "TRAVIS_COMMIT": "travis-git-commit", + "TRAVIS_COMMIT": "b9f0fb3fdbb94c9d24b2c75b49663122a529e123", "TRAVIS_COMMIT_MESSAGE": "travis-commit-message", "TRAVIS_JOB_WEB_URL": "https://travisci.com/job", "TRAVIS_REPO_SLUG": "user/repo" @@ -323,7 +323,7 @@ "ci.workspace_path": "/foo/bar", "git.branch": "feature/one", "git.commit.message": "travis-commit-message", - "git.commit.sha": "travis-git-commit", + "git.commit.sha": "b9f0fb3fdbb94c9d24b2c75b49663122a529e123", "git.repository_url": "https://github.com/user/repo.git" } ], @@ -335,7 +335,7 @@ "TRAVIS_BUILD_ID": "travis-pipeline-id", "TRAVIS_BUILD_NUMBER": "travis-pipeline-number", "TRAVIS_BUILD_WEB_URL": "https://travisci.com/pipeline", - "TRAVIS_COMMIT": "travis-git-commit", + "TRAVIS_COMMIT": "b9f0fb3fdbb94c9d24b2c75b49663122a529e123", "TRAVIS_COMMIT_MESSAGE": "travis-commit-message", "TRAVIS_JOB_WEB_URL": "https://travisci.com/job", "TRAVIS_PULL_REQUEST_BRANCH": "origin/master", @@ -352,7 +352,7 @@ "ci.workspace_path": "/foo/bar", "git.branch": "master", "git.commit.message": "travis-commit-message", - "git.commit.sha": "travis-git-commit", + "git.commit.sha": "b9f0fb3fdbb94c9d24b2c75b49663122a529e123", "git.repository_url": "https://github.com/user/repo.git" } ], @@ -364,7 +364,7 @@ "TRAVIS_BUILD_ID": "travis-pipeline-id", "TRAVIS_BUILD_NUMBER": "travis-pipeline-number", "TRAVIS_BUILD_WEB_URL": "https://travisci.com/pipeline", - "TRAVIS_COMMIT": "travis-git-commit", + "TRAVIS_COMMIT": "b9f0fb3fdbb94c9d24b2c75b49663122a529e123", "TRAVIS_COMMIT_MESSAGE": "travis-commit-message", "TRAVIS_JOB_WEB_URL": "https://travisci.com/job", "TRAVIS_PULL_REQUEST_BRANCH": "refs/heads/master", @@ -381,7 +381,7 @@ "ci.workspace_path": "/foo/bar", "git.branch": "master", "git.commit.message": "travis-commit-message", - "git.commit.sha": "travis-git-commit", + "git.commit.sha": "b9f0fb3fdbb94c9d24b2c75b49663122a529e123", "git.repository_url": "https://github.com/user/repo.git" } ], @@ -393,7 +393,7 @@ "TRAVIS_BUILD_ID": "travis-pipeline-id", "TRAVIS_BUILD_NUMBER": "travis-pipeline-number", "TRAVIS_BUILD_WEB_URL": "https://travisci.com/pipeline", - "TRAVIS_COMMIT": "travis-git-commit", + "TRAVIS_COMMIT": "b9f0fb3fdbb94c9d24b2c75b49663122a529e123", "TRAVIS_COMMIT_MESSAGE": "travis-commit-message", "TRAVIS_JOB_WEB_URL": "https://travisci.com/job", "TRAVIS_PULL_REQUEST_BRANCH": "refs/heads/feature/one", @@ -410,7 +410,7 @@ "ci.workspace_path": "/foo/bar", "git.branch": "feature/one", "git.commit.message": "travis-commit-message", - "git.commit.sha": "travis-git-commit", + "git.commit.sha": "b9f0fb3fdbb94c9d24b2c75b49663122a529e123", "git.repository_url": "https://github.com/user/repo.git" } ], @@ -430,7 +430,7 @@ "TRAVIS_BUILD_ID": "travis-pipeline-id", "TRAVIS_BUILD_NUMBER": "travis-pipeline-number", "TRAVIS_BUILD_WEB_URL": "https://travisci.com/pipeline", - "TRAVIS_COMMIT": "travis-git-commit", + "TRAVIS_COMMIT": "b9f0fb3fdbb94c9d24b2c75b49663122a529e123", "TRAVIS_COMMIT_MESSAGE": "travis-commit-message", "TRAVIS_JOB_WEB_URL": "https://travisci.com/job", "TRAVIS_REPO_SLUG": "user/repo" @@ -470,7 +470,7 @@ "TRAVIS_BUILD_ID": "travis-pipeline-id", "TRAVIS_BUILD_NUMBER": "travis-pipeline-number", "TRAVIS_BUILD_WEB_URL": "https://travisci.com/pipeline", - "TRAVIS_COMMIT": "travis-git-commit", + "TRAVIS_COMMIT": "b9f0fb3fdbb94c9d24b2c75b49663122a529e123", "TRAVIS_COMMIT_MESSAGE": "travis-commit-message", "TRAVIS_JOB_WEB_URL": "https://travisci.com/job", "TRAVIS_REPO_SLUG": "user/repo" @@ -502,7 +502,7 @@ "TRAVIS_BUILD_ID": "travis-pipeline-id", "TRAVIS_BUILD_NUMBER": "travis-pipeline-number", "TRAVIS_BUILD_WEB_URL": "https://travisci.com/pipeline", - "TRAVIS_COMMIT": "travis-git-commit", + "TRAVIS_COMMIT": "b9f0fb3fdbb94c9d24b2c75b49663122a529e123", "TRAVIS_COMMIT_MESSAGE": "travis-commit-message", "TRAVIS_JOB_WEB_URL": "https://travisci.com/job", "TRAVIS_REPO_SLUG": "user/repo", @@ -517,7 +517,7 @@ "ci.provider.name": "travisci", "ci.workspace_path": "/foo/bar", "git.commit.message": "travis-commit-message", - "git.commit.sha": "travis-git-commit", + "git.commit.sha": "b9f0fb3fdbb94c9d24b2c75b49663122a529e123", "git.repository_url": "https://github.com/user/repo.git", "git.tag": "0.1.0" } From f879598cadb9435db6a02f8393a5e9628eb5a77b Mon Sep 17 00:00:00 2001 From: "eric.navarro" Date: Thu, 6 Jul 2023 16:12:07 +0200 Subject: [PATCH 13/16] Update JSONs and refactor URL checking --- packages/dd-trace/src/plugins/util/test.js | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/packages/dd-trace/src/plugins/util/test.js b/packages/dd-trace/src/plugins/util/test.js index 8e0f6187cfb..f81e74a09db 100644 --- a/packages/dd-trace/src/plugins/util/test.js +++ b/packages/dd-trace/src/plugins/util/test.js @@ -8,7 +8,7 @@ const ignore = require('ignore') const { getGitMetadata } = require('./git') const { getUserProviderGitMetadata, validateGitRepositoryUrl, validateGitCommitSha } = require('./user-provided-git') -const { getCIMetadata, removeEmptyValues } = require('./ci') +const { getCIMetadata } = require('./ci') const { getRuntimeAndOSMetadata } = require('./env') const { GIT_BRANCH, @@ -144,10 +144,12 @@ function removeInvalidGitMetadata (metadata) { } if (tag === CI_PIPELINE_URL) { if (!validateUrl(metadata[CI_PIPELINE_URL])) { - console.log(`Removing URL ${metadata[CI_PIPELINE_URL]}`) return filteredTags } } + if (!metadata[tag]) { + return filteredTags + } filteredTags[tag] = metadata[tag] return filteredTags }, {}) From e26e882c092944d738bde4251c83717b8749afe0 Mon Sep 17 00:00:00 2001 From: "eric.navarro" Date: Thu, 6 Jul 2023 16:47:02 +0200 Subject: [PATCH 14/16] Add URL validation tests --- packages/dd-trace/src/plugins/util/test.js | 3 +- .../dd-trace/test/plugins/util/test.spec.js | 56 ++++++++++++++++++- 2 files changed, 57 insertions(+), 2 deletions(-) diff --git a/packages/dd-trace/src/plugins/util/test.js b/packages/dd-trace/src/plugins/util/test.js index f81e74a09db..b2d232e1141 100644 --- a/packages/dd-trace/src/plugins/util/test.js +++ b/packages/dd-trace/src/plugins/util/test.js @@ -107,7 +107,8 @@ module.exports = { mergeCoverage, fromCoverageMapToCoverage, getTestLineStart, - getCallSites + getCallSites, + removeInvalidGitMetadata } // Returns pkg manager and its version, separated by '-', e.g. npm-8.15.0 or yarn-1.22.19 diff --git a/packages/dd-trace/test/plugins/util/test.spec.js b/packages/dd-trace/test/plugins/util/test.spec.js index 7f0c1a601b1..304650d5fff 100644 --- a/packages/dd-trace/test/plugins/util/test.spec.js +++ b/packages/dd-trace/test/plugins/util/test.spec.js @@ -12,9 +12,12 @@ const { getCodeOwnersForFilename, getCoveredFilenamesFromCoverage, mergeCoverage, - resetCoverage + resetCoverage, + removeInvalidGitMetadata } = require('../../../src/plugins/util/test') +const { GIT_REPOSITORY_URL, GIT_COMMIT_SHA, CI_PIPELINE_URL } = require('../../../src/plugins/util/tags') + describe('getTestParametersString', () => { it('returns formatted test parameters and removes params from input', () => { const input = { 'test_stuff': [['params'], [{ b: 'c' }]] } @@ -164,3 +167,54 @@ describe('coverage utils', () => { }) }) }) + +describe('metadata validation', () => { + it('should remove invalid metadata', () => { + const invalidMetadata1 = { + [GIT_REPOSITORY_URL]: 'www.datadog.com', + [CI_PIPELINE_URL]: 'www.datadog.com', + [GIT_COMMIT_SHA]: 'abc123' + } + const invalidMetadata2 = { + [GIT_REPOSITORY_URL]: 'https://datadog.com/repo', + [CI_PIPELINE_URL]: 'datadog.com', + [GIT_COMMIT_SHA]: 'abc123abc123abc123abc123abc123abc123abc123abc123abc123abc123abc123abc123abc123abc123abc123' + } + const invalidMetadata3 = { + [GIT_REPOSITORY_URL]: 'datadog.com', + [CI_PIPELINE_URL]: 'datadog.com', + [GIT_COMMIT_SHA]: 'abc123' + } + const invalidMetadata4 = { + [GIT_REPOSITORY_URL]: 'datadog.com/repo.git', + [CI_PIPELINE_URL]: 'www.datadog.com5', + [GIT_COMMIT_SHA]: 'abc123' + } + const invalidMetadata5 = { GIT_REPOSITORY_URL: '', CI_PIPELINE_URL: '', GIT_COMMIT_SHA: '' } + const invalidMetadatas = [invalidMetadata1, invalidMetadata2, invalidMetadata3, invalidMetadata4, invalidMetadata5] + invalidMetadatas.forEach((invalidMetadata) => { + expect(JSON.stringify(removeInvalidGitMetadata(invalidMetadata))).to.equal(JSON.stringify({})) + }) + }) + it('should keep valid metadata', () => { + const validMetadata1 = { + [GIT_REPOSITORY_URL]: 'https://datadoghq.com/myrepo/repo.git', + [CI_PIPELINE_URL]: 'https://datadog.com', + [GIT_COMMIT_SHA]: 'cb466452bfe18d4f6be2836c2a5551843013cf381234223920318230492823f3' + } + const validMetadata2 = { + [GIT_REPOSITORY_URL]: 'http://datadoghq.com/myrepo/repo.git', + [CI_PIPELINE_URL]: 'http://datadog.com', + [GIT_COMMIT_SHA]: 'cb466452bfe18d4f6be2836c2a5551843013cf38' + } + const validMetadata3 = { + [GIT_REPOSITORY_URL]: 'git@github.com:DataDog/dd-trace-js.git', + [CI_PIPELINE_URL]: 'https://datadog.com/pipeline', + [GIT_COMMIT_SHA]: 'cb466452bfe18d4f6be2836c2a5551843013cf381234223920318230492823f3' + } + const validMetadatas = [validMetadata1, validMetadata2, validMetadata3] + validMetadatas.forEach((validMetadata) => { + expect(JSON.stringify(removeInvalidGitMetadata(validMetadata))).to.be.equal(JSON.stringify(validMetadata)) + }) + }) +}) From d1c3bc0f701f7291041cd1f7299a5f1a3c45c800 Mon Sep 17 00:00:00 2001 From: Eric Navarro <137877238+ericlaz@users.noreply.github.com> Date: Fri, 7 Jul 2023 11:56:49 +0200 Subject: [PATCH 15/16] Apply suggestions from code review MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Co-authored-by: Juan Antonio Fernández de Alba --- packages/dd-trace/src/plugins/util/ci.js | 1 - packages/dd-trace/src/plugins/util/test.js | 5 +---- 2 files changed, 1 insertion(+), 5 deletions(-) diff --git a/packages/dd-trace/src/plugins/util/ci.js b/packages/dd-trace/src/plugins/util/ci.js index 7cfdefefb0d..3e226f9d567 100644 --- a/packages/dd-trace/src/plugins/util/ci.js +++ b/packages/dd-trace/src/plugins/util/ci.js @@ -93,7 +93,6 @@ function resolveTilde (filePath) { } module.exports = { - removeEmptyValues, normalizeRef, getCIMetadata () { const { env } = process diff --git a/packages/dd-trace/src/plugins/util/test.js b/packages/dd-trace/src/plugins/util/test.js index b2d232e1141..c76d0b5ad2f 100644 --- a/packages/dd-trace/src/plugins/util/test.js +++ b/packages/dd-trace/src/plugins/util/test.js @@ -129,7 +129,7 @@ function validateUrl (url) { } } -function removeInvalidGitMetadata (metadata) { +function removeInvalidMetadata (metadata) { return Object.keys(metadata).reduce((filteredTags, tag) => { if (tag === GIT_REPOSITORY_URL) { if (!validateGitRepositoryUrl(metadata[GIT_REPOSITORY_URL])) { @@ -148,9 +148,6 @@ function removeInvalidGitMetadata (metadata) { return filteredTags } } - if (!metadata[tag]) { - return filteredTags - } filteredTags[tag] = metadata[tag] return filteredTags }, {}) From 7d8d26baed3ae031053845f1bb622e9619454894 Mon Sep 17 00:00:00 2001 From: "eric.navarro" Date: Fri, 7 Jul 2023 12:26:16 +0200 Subject: [PATCH 16/16] Add tag to test suite --- packages/dd-trace/src/plugins/util/test.js | 4 ++-- packages/dd-trace/test/plugins/util/test.spec.js | 8 ++++---- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/packages/dd-trace/src/plugins/util/test.js b/packages/dd-trace/src/plugins/util/test.js index c76d0b5ad2f..62d8de4aed6 100644 --- a/packages/dd-trace/src/plugins/util/test.js +++ b/packages/dd-trace/src/plugins/util/test.js @@ -108,7 +108,7 @@ module.exports = { fromCoverageMapToCoverage, getTestLineStart, getCallSites, - removeInvalidGitMetadata + removeInvalidMetadata } // Returns pkg manager and its version, separated by '-', e.g. npm-8.15.0 or yarn-1.22.19 @@ -192,7 +192,7 @@ function getTestEnvironmentMetadata (testFramework, config) { if (config && config.service) { metadata['service.name'] = config.service } - return removeInvalidGitMetadata(metadata) + return removeInvalidMetadata(metadata) } function getTestParametersString (parametersByTestName, testName) { diff --git a/packages/dd-trace/test/plugins/util/test.spec.js b/packages/dd-trace/test/plugins/util/test.spec.js index 304650d5fff..06e3d29fa55 100644 --- a/packages/dd-trace/test/plugins/util/test.spec.js +++ b/packages/dd-trace/test/plugins/util/test.spec.js @@ -13,7 +13,7 @@ const { getCoveredFilenamesFromCoverage, mergeCoverage, resetCoverage, - removeInvalidGitMetadata + removeInvalidMetadata } = require('../../../src/plugins/util/test') const { GIT_REPOSITORY_URL, GIT_COMMIT_SHA, CI_PIPELINE_URL } = require('../../../src/plugins/util/tags') @@ -190,10 +190,10 @@ describe('metadata validation', () => { [CI_PIPELINE_URL]: 'www.datadog.com5', [GIT_COMMIT_SHA]: 'abc123' } - const invalidMetadata5 = { GIT_REPOSITORY_URL: '', CI_PIPELINE_URL: '', GIT_COMMIT_SHA: '' } + const invalidMetadata5 = { [GIT_REPOSITORY_URL]: '', [CI_PIPELINE_URL]: '', [GIT_COMMIT_SHA]: '' } const invalidMetadatas = [invalidMetadata1, invalidMetadata2, invalidMetadata3, invalidMetadata4, invalidMetadata5] invalidMetadatas.forEach((invalidMetadata) => { - expect(JSON.stringify(removeInvalidGitMetadata(invalidMetadata))).to.equal(JSON.stringify({})) + expect(JSON.stringify(removeInvalidMetadata(invalidMetadata))).to.equal(JSON.stringify({})) }) }) it('should keep valid metadata', () => { @@ -214,7 +214,7 @@ describe('metadata validation', () => { } const validMetadatas = [validMetadata1, validMetadata2, validMetadata3] validMetadatas.forEach((validMetadata) => { - expect(JSON.stringify(removeInvalidGitMetadata(validMetadata))).to.be.equal(JSON.stringify(validMetadata)) + expect(JSON.stringify(removeInvalidMetadata(validMetadata))).to.be.equal(JSON.stringify(validMetadata)) }) }) })