Skip to content

Commit

Permalink
[Backport releases/m198] Remove MSBuildArguments property from teleme…
Browse files Browse the repository at this point in the history
…try for MSBuildV1 and VSBuildV1 (#15705)

* Remove msbuildArguments from telemetry

* Remove MSBuildArguments property from telemetry in VSBUild task

* Bump tasks versions

* Remove localization

* Revert "Remove localization"

This reverts commit 5a255d1.

* Remove localization update
  • Loading branch information
EzzhevNikita authored Jan 13, 2022
1 parent b0e99b6 commit 4c97dd1
Show file tree
Hide file tree
Showing 27 changed files with 31 additions and 75 deletions.
2 changes: 0 additions & 2 deletions Tasks/MSBuildV1/MSBuild.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@ param()
Trace-VstsEnteringInvocation $MyInvocation
$msbuildTelemetry = [PSCustomObject]@{
MSBuildVersion = ""
MSBuildArguments = ""
MSBuildLocationMethod = ""
Platform = ""
Configuration = ""
Expand Down Expand Up @@ -37,7 +36,6 @@ try {
[string]$msBuildArchitecture = Get-VstsInput -Name MSBuildArchitecture

$msbuildTelemetry.MSBuildVersion = "$msBuildVersion"
$msbuildTelemetry.MSBuildArguments = "$msBuildArguments"
$msbuildTelemetry.MSBuildLocationMethod = "$msBuildLocationMethod"
$msbuildTelemetry.Platform = "$platform"
$msbuildTelemetry.Configuration = "$configuration"
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"loc.friendlyName": "MSBuild",
"loc.helpMarkDown": "[Weitere Informationen zu dieser Aufgabe](https://go.microsoft.com/fwlink/?LinkID=613724)",
"loc.helpMarkDown": "[Learn more about this task](https://go.microsoft.com/fwlink/?LinkID=613724)",
"loc.description": "Führt Buildvorgänge mit MSBuild aus.",
"loc.instanceNameFormat": "Projektmappe $(solution) erstellen",
"loc.group.displayName.advanced": "Erweitert",
Expand All @@ -22,7 +22,7 @@
"loc.input.label.maximumCpuCount": "Parallel erstellen",
"loc.input.help.maximumCpuCount": "Wenn die MSBuild-Zielkonfiguration mit parallelem Erstellen kompatibel ist, können Sie optional diese Option aktivieren, um das Kennzeichen \"/m\" an MSBuild zu übergeben (nur Windows). Wenn die Zielkonfiguration nicht mit parallelem Erstellen kompatibel ist, kann das Aktivieren dieser Option bewirken, dass der Build Fehler des Typs \"Datei in Gebrauch\" oder zeitweilige oder inkonsistente Buildfehler aufweist.",
"loc.input.label.restoreNugetPackages": "NuGet-Pakete wiederherstellen",
"loc.input.help.restoreNugetPackages": "Diese Option ist veraltet. Um NuGet-Pakete wiederherzustellen, fügen Sie vor der Builderstellung eine [NuGet](https://docs.microsoft.com/azure/devops/pipelines/tasks/package/nuget)-Aufgabe hinzu.",
"loc.input.help.restoreNugetPackages": "Diese Option ist veraltet. Um NuGet-Pakete wiederherzustellen, fügen Sie vor der Builderstellung die Aufgabe [Installer für NuGet-Tools](https://docs.microsoft.com/vsts/pipelines/tasks/tool/nuget) hinzu.",
"loc.input.label.logProjectEvents": "Projektdetails aufzeichnen",
"loc.input.help.logProjectEvents": "Optional Zeitachsendetails für jedes Projekt aufzeichnen (nur Windows).",
"loc.input.label.createLogFile": "Protokolldatei erstellen",
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"loc.friendlyName": "MSBuild",
"loc.helpMarkDown": "[Obtener más información acerca de esta tarea](https://go.microsoft.com/fwlink/?LinkID=613724)",
"loc.helpMarkDown": "[Learn more about this task](https://go.microsoft.com/fwlink/?LinkID=613724)",
"loc.description": "Compilar con MSBuild",
"loc.instanceNameFormat": "Compilar solución $(solution)",
"loc.group.displayName.advanced": "Avanzado",
Expand All @@ -22,7 +22,7 @@
"loc.input.label.maximumCpuCount": "Compilar en paralelo",
"loc.input.help.maximumCpuCount": "Si la configuración de destino de MSBuild es compatible con la compilación en paralelo, puede activar esta entrada para pasar el modificador /m a MSBuild (solo en Windows). Si la configuración de destino no es compatible con la compilación en paralelo y activa esta opción, la compilación puede generar errores de archivo en uso o de compilación intermitente o incoherente.",
"loc.input.label.restoreNugetPackages": "Restaurar paquetes NuGet",
"loc.input.help.restoreNugetPackages": "Esta opción está en desuso. Para restaurar paquetes NuGet, agregue una tarea de [NuGet](https://docs.microsoft.com/azure/devops/pipelines/tasks/package/nuget) antes de la compilación.",
"loc.input.help.restoreNugetPackages": "Esta opción está en desuso. Para restaurar paquetes NuGet, agregue una tarea del [Instalador de la herramienta NuGet](https://docs.microsoft.com/vsts/pipelines/tasks/tool/nuget) antes de la compilación.",
"loc.input.label.logProjectEvents": "Registrar detalles del proyecto",
"loc.input.help.logProjectEvents": "De manera opcional, se registran los detalles de la escala de tiempo de cada proyecto (solo Windows).",
"loc.input.label.createLogFile": "Crear archivo de registro",
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"loc.friendlyName": "MSBuild",
"loc.helpMarkDown": "[En savoir plus sur cette tâche](https://go.microsoft.com/fwlink/?LinkID=613724)",
"loc.helpMarkDown": "[Learn more about this task](https://go.microsoft.com/fwlink/?LinkID=613724)",
"loc.description": "Générer avec MSBuild",
"loc.instanceNameFormat": "Générer la solution $(solution)",
"loc.group.displayName.advanced": "Avancé",
Expand All @@ -22,7 +22,7 @@
"loc.input.label.maximumCpuCount": "Build en parallèle",
"loc.input.help.maximumCpuCount": "Si votre configuration cible MSBuild est compatible avec la génération en parallèle, vous pouvez éventuellement cocher cette option pour passer le commutateur /m à MSBuild (Windows uniquement). Si votre configuration cible n'est pas compatible avec la génération en parallèle, l'activation de cette option risque d'entraîner des erreurs de type fichier en cours d'utilisation, ou bien des échecs de build intermittents ou incohérents.",
"loc.input.label.restoreNugetPackages": "Restaurer des packages NuGet",
"loc.input.help.restoreNugetPackages": "Cette option est dépréciée. Pour restaurer des packages NuGet, ajoutez une tâche [NuGet](https://docs.microsoft.com/azure/devops/pipelines/tasks/package/nuget) avant la build.",
"loc.input.help.restoreNugetPackages": "Cette option est dépréciée. Pour restaurer des packages NuGet, ajoutez une tâche [Programme d'installation de l'outil NuGet](https://docs.microsoft.com/vsts/pipelines/tasks/tool/nuget) avant la build.",
"loc.input.label.logProjectEvents": "Enregistrer les détails du projet",
"loc.input.help.logProjectEvents": "Enregistrez éventuellement les détails de la chronologie de chaque projet (Windows uniquement).",
"loc.input.label.createLogFile": "Créer le fichier journal",
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"loc.friendlyName": "MSBuild",
"loc.helpMarkDown": "[Altre informazioni su questa attività](https://go.microsoft.com/fwlink/?LinkID=613724)",
"loc.helpMarkDown": "[Learn more about this task](https://go.microsoft.com/fwlink/?LinkID=613724)",
"loc.description": "Consente di compilare con MSBuild",
"loc.instanceNameFormat": "Compila la soluzione $(solution)",
"loc.group.displayName.advanced": "Avanzate",
Expand All @@ -15,14 +15,14 @@
"loc.input.help.msbuildLocation": "Consente, facoltativamente, di specificare il percorso di MSBuild.",
"loc.input.label.platform": "Piattaforma",
"loc.input.label.configuration": "Configurazione",
"loc.input.label.msbuildArguments": "Argomenti MSBuild",
"loc.input.label.msbuildArguments": "Argomenti di MSBuild",
"loc.input.help.msbuildArguments": "Argomenti aggiuntivi passati a MSBuild (in Windows) e xbuild (in MacOS).",
"loc.input.label.clean": "Pulisci",
"loc.input.help.clean": "Esegue una compilazione pulita (/t:clean) prima della compilazione.",
"loc.input.label.maximumCpuCount": "Compilazione in parallelo",
"loc.input.help.maximumCpuCount": "Se la configurazione di destinazione di MSBuild è compatibile con la compilazione in parallelo, è possibile selezionare facoltativamente questa opzione di input per passare l'opzione /m a MSBuild (solo Windows). Se la configurazione di destinazione non è compatibile con la compilazione in parallelo, selezionando questa opzione durante la compilazione potrebbero verificarsi errori di file in uso oppure errori di compilazioni intermittenti o incoerenti.",
"loc.input.label.restoreNugetPackages": "Ripristina pacchetti NuGet",
"loc.input.help.restoreNugetPackages": "Questa opzione è deprecata. Per ripristinare pacchetti NuGet, aggiungere un'attività [NuGet](https://docs.microsoft.com/azure/devops/pipelines/tasks/package/nuget) prima della compilazione.",
"loc.input.help.restoreNugetPackages": "Questa opzione è deprecata. Per ripristinare pacchetti NuGet, aggiungere un'attività [Programma di installazione strumento NuGet](https://docs.microsoft.com/vsts/pipelines/tasks/tool/nuget) prima della compilazione.",
"loc.input.label.logProjectEvents": "Registra dettagli progetto",
"loc.input.help.logProjectEvents": "Registra facoltativamente i dettagli della sequenza temporale per ogni progetto (solo Windows).",
"loc.input.label.createLogFile": "Crea file di log",
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"loc.friendlyName": "MSBuild",
"loc.helpMarkDown": "[このタスクの詳細を表示](https://go.microsoft.com/fwlink/?LinkID=613724)",
"loc.helpMarkDown": "[Learn more about this task](https://go.microsoft.com/fwlink/?LinkID=613724)",
"loc.description": "MSBuild で作成する",
"loc.instanceNameFormat": "ソリューション $(solution) のビルド",
"loc.group.displayName.advanced": "詳細設定",
Expand All @@ -20,9 +20,9 @@
"loc.input.label.clean": "消去",
"loc.input.help.clean": "ビルドの前に、クリーン ビルド (/t:clean) を実行します。",
"loc.input.label.maximumCpuCount": "並列ビルド",
"loc.input.help.maximumCpuCount": "MSBuild ターゲット構成が並列ビルドと互換性がある場合、この入力を任意にチェックし、/m スイッチを MSBuild に渡すことができます (Windows のみ)。ターゲット構成が並列ビルドと互換性がない場合、このオプションをオンにすると、ビルドに \"ファイル使用中\" エラーが発生するか、ビルドの断続的エラーまたは不整合エラーになることがあります。",
"loc.input.help.maximumCpuCount": "MSBuild ターゲット構成が並列ビルドと互換性がある場合、この入力を任意にチェックし、/m スイッチを MSBuild に渡すことができます (Windows のみ)。ターゲット構成が並列ビルドと互換性がない場合、このオプションをオンにすると、ビルドに \"ファイル使用中\" エラーが発生するか、ビルドの間欠的エラーまたは不整合エラーになることがあります。",
"loc.input.label.restoreNugetPackages": "NuGet パッケージの復元",
"loc.input.help.restoreNugetPackages": "このオプションは非推奨です。NuGet パッケージを復元するには、ビルドの前に [NuGet](https://docs.microsoft.com/azure/devops/pipelines/tasks/package/nuget) タスクを追加します。",
"loc.input.help.restoreNugetPackages": "このオプションは使用されなくなりました。NuGet パッケージを復元するには、ビルドの前に [NuGet Tool インストーラー](https://docs.microsoft.com/vsts/pipelines/tasks/tool/nuget) タスクを追加します。",
"loc.input.label.logProjectEvents": "プロジェクトの詳細の記録",
"loc.input.help.logProjectEvents": "オプションで、各プロジェクトのタイムライン詳細を記録します (Windows のみ)。",
"loc.input.label.createLogFile": "ログ ファイルを作成する",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
"loc.input.label.maximumCpuCount": "병렬 빌드",
"loc.input.help.maximumCpuCount": "MSBuild 대상 구성이 병렬 빌드 작업과 호환되는 경우 선택적으로 이 입력을 선택하여 /m 스위치를 MSBuild로 전달할 수 있습니다(Windows만 해당). 대상 구성이 병렬 빌드 작업과 호환되지 않는 경우 이 옵션을 선택하면 빌드에서 파일 사용 중 오류 또는 일시적이거나 일관되지 않은 빌드 오류가 발생할 수 있습니다.",
"loc.input.label.restoreNugetPackages": "NuGet 패키지 복원",
"loc.input.help.restoreNugetPackages": "이 옵션은 사용되지 않습니다. NuGet 패키지를 복원하려면 빌드 앞에 [NuGet](https://docs.microsoft.com/azure/devops/pipelines/tasks/package/nuget) 작업을 추가하세요.",
"loc.input.help.restoreNugetPackages": "이 옵션은 사용되지 않습니다. NuGet 패키지를 복원하려면 빌드 앞에 [NuGet 도구 설치 관리자](https://docs.microsoft.com/vsts/pipelines/tasks/tool/nuget) 작업을 추가하세요.",
"loc.input.label.logProjectEvents": "프로젝트 정보 기록",
"loc.input.help.logProjectEvents": "원하는 경우 각 프로젝트의 타임라인 세부 정보를 기록합니다(Windows만 해당).",
"loc.input.label.createLogFile": "로그 파일 만들기",
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"loc.friendlyName": "MSBuild",
"loc.helpMarkDown": "[См. дополнительные сведения об этой задаче](https://go.microsoft.com/fwlink/?LinkID=613724)",
"loc.helpMarkDown": "[Learn more about this task](https://go.microsoft.com/fwlink/?LinkID=613724)",
"loc.description": "Сборка с помощью MSBuild",
"loc.instanceNameFormat": "Сборка решения $(solution)",
"loc.group.displayName.advanced": "Дополнительно",
Expand All @@ -22,7 +22,7 @@
"loc.input.label.maximumCpuCount": "Параллельная сборка",
"loc.input.help.maximumCpuCount": "Если целевая конфигурация MSBuild совместима с параллельной сборкой, при необходимости можно установить этот флажок для передачи параметра /m в MSBuild (только для Windows). Если целевая конфигурация несовместима с параллельной сборкой, выбор этого варианта может привести к возникновению ошибок \"Файл занят\" в сборке, а также к периодическим или противоречивым сбоям сборки.",
"loc.input.label.restoreNugetPackages": "Восстановить пакеты NuGet",
"loc.input.help.restoreNugetPackages": "Этот параметр является нерекомендуемым. Чтобы восстановить пакеты NuGet, добавьте задачу [NuGet](https://docs.microsoft.com/azure/devops/pipelines/tasks/package/nuget) перед сборкой.",
"loc.input.help.restoreNugetPackages": "Этот параметр является нерекомендуемым. Чтобы восстановить пакеты NuGet, добавьте задачу [установщика средств NuGet](https://docs.microsoft.com/vsts/pipelines/tasks/tool/nuget) перед сборкой.",
"loc.input.label.logProjectEvents": "Записать сведения о проекте",
"loc.input.help.logProjectEvents": "Запись данных о хронологии для каждого проекта (необязательно, только для Windows).",
"loc.input.label.createLogFile": "Создать файл журнала",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
"loc.input.label.maximumCpuCount": "并行生成",
"loc.input.help.maximumCpuCount": "如果 MSBuild 目标配置与并行生成兼容,可以选择此输入,将 /m 开关传递给 MSBuild (仅限 Windows)。如果目标配置与并行生成不兼容,选中此选项可能会导致你的生成出现“文件正在使用”错误,或出现间歇性或不一致的生成错误。",
"loc.input.label.restoreNugetPackages": "还原 NuGet 包",
"loc.input.help.restoreNugetPackages": "已弃用此选项。若要恢复 NuGet 包,请在生成之前添加[NuGet](https://docs.microsoft.com/azure/devops/pipelines/tasks/package/nuget)任务。",
"loc.input.help.restoreNugetPackages": "已弃用此选项。若要恢复 NuGet 包,请在生成之前添加[NuGet 工具安装程序](https://docs.microsoft.com/vsts/pipelines/tasks/tool/nuget)任务。",
"loc.input.label.logProjectEvents": "记录项目详情",
"loc.input.help.logProjectEvents": "可以选择记录每个项目的时间线详细信息(仅 Windows)。",
"loc.input.label.createLogFile": "创建日志文件",
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"loc.friendlyName": "MSBuild",
"loc.helpMarkDown": "[深入了解此工作](https://go.microsoft.com/fwlink/?LinkID=613724)",
"loc.helpMarkDown": "[Learn more about this task](https://go.microsoft.com/fwlink/?LinkID=613724)",
"loc.description": "使用 MSBuild 建置",
"loc.instanceNameFormat": "建置方案 $(solution)",
"loc.group.displayName.advanced": "進階",
Expand All @@ -22,7 +22,7 @@
"loc.input.label.maximumCpuCount": "以平行方式建置",
"loc.input.help.maximumCpuCount": "如果您的 MSBuild 目標組態與平行建置相容,您就可以選擇選取此輸入,以將 /m 參數傳遞至 MSBuild (僅限 Windows)。如果您的目標組態與平行建置不相容,選取此選項可能會導致您的組建產生檔案使用中的錯誤,或組建間歇或不一致的失敗。",
"loc.input.label.restoreNugetPackages": "還原 NuGet 套件",
"loc.input.help.restoreNugetPackages": "此選項已淘汰若要還原 NuGet 套件,請先新增 [NuGet](https://docs.microsoft.com/azure/devops/pipelines/tasks/package/nuget) 工作再建置。",
"loc.input.help.restoreNugetPackages": "此選項已淘汰若要還原 NuGet 套件,請在組建前新增 [NuGet 工具安裝程式](https://docs.microsoft.com/vsts/pipelines/tasks/tool/nuget) 工作。",
"loc.input.label.logProjectEvents": "記錄專案詳細資料",
"loc.input.help.logProjectEvents": "選擇性地記錄各專案的時間軸詳細資料 (僅 Windows)。",
"loc.input.label.createLogFile": "建立記錄檔",
Expand Down
1 change: 0 additions & 1 deletion Tasks/MSBuildV1/msbuild.ts
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,6 @@ async function run() {
// pass inputs to telemetry object
telemetry.configuration = configuration;
telemetry.platform = platform;
telemetry.msBuildArguments = msbuildArguments;

let logsolutionEvents: boolean = tl.getBoolInput('logsolutionEvents');
if (logsolutionEvents) {
Expand Down
2 changes: 1 addition & 1 deletion Tasks/MSBuildV1/task.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
"version": {
"Major": 1,
"Minor": 198,
"Patch": 0
"Patch": 1
},
"demands": [
"msbuild"
Expand Down
2 changes: 1 addition & 1 deletion Tasks/MSBuildV1/task.loc.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
"version": {
"Major": 1,
"Minor": 198,
"Patch": 0
"Patch": 1
},
"demands": [
"msbuild"
Expand Down
1 change: 0 additions & 1 deletion Tasks/MSBuildV1/telemetryHelper.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@ import * as semver from 'semver';

export interface TelemetryPayload {
msBuildVersion: string;
msBuildArguments: string;
msBuildLocationMethod: string;
platform: string;
configuration: string;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"loc.friendlyName": "Visual Studio-Build",
"loc.helpMarkDown": "[Weitere Informationen zu dieser Aufgabe](https://go.microsoft.com/fwlink/?LinkID=613727)",
"loc.helpMarkDown": "[Learn more about this task](https://go.microsoft.com/fwlink/?LinkID=613727)",
"loc.description": "Erstellen Sie den Build mit MSBuild, und legen Sie die Visual Studio-Versionseigenschaft fest.",
"loc.instanceNameFormat": "Projektmappe $(solution) erstellen",
"loc.group.displayName.advanced": "Erweitert",
Expand Down Expand Up @@ -28,10 +28,6 @@
"loc.input.help.createLogFile": "Erstellen Sie optional eine Protokolldatei (nur Windows).",
"loc.input.label.logFileVerbosity": "Ausführlichkeit der Protokolldatei",
"loc.input.help.logFileVerbosity": "Optionaler Ausführlichkeitsgrad der Protokolldatei.",
"loc.input.label.enableDefaultLogger": "Standard-Protokollierung aktivieren",
"loc.input.help.enableDefaultLogger": "Bei \"true\" wird die Standard-Protokollierung für MSBuild aktiviert",
"loc.input.label.customVersion": "Benutzerdefinierte Version",
"loc.input.help.customVersion": "Ermöglicht das Festlegen einer benutzerdefinierten Version von Visual Studio. Beispiele: 15.0, 16.0, 17.0. Stellen Sie sicher, dass die erforderliche Version von Visual Studio im System installiert ist.",
"loc.messages.MSBuildLocationDeprecated0": "Der MSBuild-Parameter für die Angabe des Orts ist veraltet. Der Wert \"{0}\" wird ignoriert.",
"loc.messages.MSBuildVersionDeprecated0": "Der MSBuild-Versionsparameter ist veraltet. Der Wert \"{0}\" wird ignoriert.",
"loc.messages.UnexpectedVSVersion0": "Unerwarteter Visual Studio-Version \"{0}\".",
Expand Down
Loading

0 comments on commit 4c97dd1

Please sign in to comment.