Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

update task version for PCCR V2 from 2.234.0 to 2.235.0 #19459

Merged
merged 7 commits into from
Jan 31, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion Tasks/Common/coveragepublisher/make.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"externals": {
"archivePackages": [
{
"url": "https://coveragepublishers.blob.core.windows.net/coveragepublisher/25303541/CoveragePublisher.zip",
"url": "https://coveragepublishers.blob.core.windows.net/coveragepublisher/25539620/CoveragePublisher.zip",
"dest": "./"
}
]
Expand Down

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

46 changes: 45 additions & 1 deletion Tasks/PublishCodeCoverageResultsV2/package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion Tasks/PublishCodeCoverageResultsV2/task.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
"author": "Microsoft Corporation",
"version": {
"Major": 2,
"Minor": 234,
"Minor": 235,
"Patch": 0
},
"demands": [],
Expand Down
2 changes: 1 addition & 1 deletion Tasks/PublishCodeCoverageResultsV2/task.loc.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
"author": "Microsoft Corporation",
"version": {
"Major": 2,
"Minor": 234,
"Minor": 235,
"Patch": 0
},
"demands": [],
Expand Down
4 changes: 2 additions & 2 deletions _generated/PublishCodeCoverageResultsV2.versionmap.txt
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
Default|2.234.0
Node20_229_4|2.234.1
Default|2.235.0
Node20_229_4|2.235.1
12 changes: 12 additions & 0 deletions _generated/PublishCodeCoverageResultsV2/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
# Publish Code Coverage Results

### Overview
The Publish Code Coverage Results task is used to publish the code coverage results of a build.

### The different parameters of the task are explained below:

- **Summary Files:** Required Field. The path pattern for summary files containing code coverage statistics, such as line, method, and class coverage. The value may contain minimatch patterns as well as multiline inputs. For example: `$(System.DefaultWorkingDirectory)/MyApp/**/site/cobertura/*.xml`

- **Path to Source Files:** The file path specifying the location of source files, this is required for generating HTML reports in case of tools which put relative paths in their summary files.

- **Fail when code coverage files are not found:** Fail the task if the summary file patterns yielded no coverage files.
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
{
"loc.friendlyName": "Code Coverage-Ergebnisse v2 veröffentlichen",
"loc.helpMarkDown": "[Weitere Informationen zu dieser Aufgabe](https://learn.microsoft.com/en-us/azure/devops/pipelines/tasks/reference/publish-code-coverage-results-v2?view=azure-pipelines)",
"loc.description": "Alle Code Coverage-Ergebnisse aus einem Build veröffentlichen",
"loc.instanceNameFormat": "Code Coverage-Ergebnisse veröffentlichen",
"loc.input.label.summaryFileLocation": "Pfad zu Zusammenfassungsdateien",
"loc.input.help.summaryFileLocation": "Pfade zu Zusammenfassungsdateien, die Code Coverage-Statistiken enthalten, z. B. Zeile, Methode und Klassenabdeckung. Mehrere Zusammenfassungsdateien werden in einem einzelnen Bericht zusammengeführt. Unterstützt mehrere Zeilen mit Minimatchmustern. [Weitere Informationen](https://aka.ms/minimatchexamples)",
"loc.input.label.pathToSources": "Pfad zu Quelldateien",
"loc.input.help.pathToSources": "Der Pfad zu den Quelldateien ist erforderlich, wenn Coverage-XML-Berichte keinen absoluten Pfad zu den Quelldateien enthalten. Beispielsweise verwenden JaCoCo-Berichte keine absoluten Pfade, und beim Veröffentlichen der JaCoCo-Coveragedaten für Java-Apps würde das Muster in etwa folgendermaßen lauten: \"$(System.DefaultWorkingDirectory)/MyApp/src/main/java/\". <br />diese Eingabe ist auch erforderlich, wenn Tests in einem Docker-Container ausgeführt werden. Diese Eingabe muss auf den absoluten Pfad zu den Quelldateien auf dem Host zeigen. Beispiel: \"$(System.DefaultWorkingDirectory)/MyApp/\"",
"loc.input.label.failIfCoverageEmpty": "Fehler, wenn die Code Coverage-Ergebnisse fehlen",
"loc.input.help.failIfCoverageEmpty": "Fehlschlagen der Aufgabe festlegen, wenn die Code Coverage keine Ergebnisse zum Veröffentlichen ergeben hat.",
"loc.messages.FoundNMatchesForPattern": "%s Ergebnis(se) gefunden, die dem Muster: %s entsprechen",
"loc.messages.NoCodeCoverage": "Keine Code Coverage-Ergebnisse zum Veröffentlichen gefunden."
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
{
"loc.friendlyName": "Publish code coverage results v2",
"loc.helpMarkDown": "[Learn more about this task](https://learn.microsoft.com/en-us/azure/devops/pipelines/tasks/reference/publish-code-coverage-results-v2?view=azure-pipelines)",
"loc.description": "Publish any of the code coverage results from a build",
"loc.instanceNameFormat": "Publish code coverage results",
"loc.input.label.summaryFileLocation": "Path to summary files",
"loc.input.help.summaryFileLocation": "Paths to summary files containing code coverage statistics, such as line, method, and class coverage. Multiple summary files will be merged into a single report. Supports multiple lines of minimatch patterns. [More information](https://aka.ms/minimatchexamples)",
"loc.input.label.pathToSources": "Path to Source files",
"loc.input.help.pathToSources": "Path to source files is required when coverage XML reports do not contain absolute path to source files. For e.g., JaCoCo reports do not use absolute paths and when publishing JaCoCo coverage for Java apps, the pattern would be similar to `$(System.DefaultWorkingDirectory)/MyApp/src/main/java/`.<br />This input is also needed if tests are run in a docker container. This input should point to absolute path to source files on the host. For e.g., `$(System.DefaultWorkingDirectory)/MyApp/`",
"loc.input.label.failIfCoverageEmpty": "Fail if code coverage results are missing",
"loc.input.help.failIfCoverageEmpty": "Fail the task if code coverage did not produce any results to publish.",
"loc.messages.FoundNMatchesForPattern": "Found %s result(s) matching pattern: %s",
"loc.messages.NoCodeCoverage": "No code coverage results were found to publish."
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
{
"loc.friendlyName": "Publicar resultados de cobertura de código v2",
"loc.helpMarkDown": "[Más información sobre esta tarea](https://learn.microsoft.com/en-us/azure/devops/pipelines/tasks/reference/publish-code-coverage-results-v2?view=azure-pipelines)",
"loc.description": "Publicar cualquiera de los resultados de la cobertura de código de una compilación",
"loc.instanceNameFormat": "Publicar resultados de cobertura de código",
"loc.input.label.summaryFileLocation": "Ruta de acceso a los archivos de resumen",
"loc.input.help.summaryFileLocation": "Rutas de acceso a archivos de resumen que contienen estadísticas de cobertura de código, como la cobertura de clase, método y línea. Varios archivos de resumen se combinarán en un único informe. Admite varias líneas de patrones de minimatch. [Más información](https://aka.ms/minimatchexamples)",
"loc.input.label.pathToSources": "Ruta de acceso a los archivos de origen",
"loc.input.help.pathToSources": "Se requiere la ruta de acceso a los archivos de código fuente cuando los informes XML de cobertura no contienen la ruta de acceso absoluta a dichos archivos. Por ejemplo, los informes de JaCoCo no usan rutas de acceso absolutas y, al publicar la cobertura de JaCoCo para las aplicaciones Java, el patrón sería similar a \"$(System.DefaultWorkingDirectory)/MyApp/src/main/java/\". <br />También se necesita esta entrada si las pruebas se ejecutan en un contenedor Docker. La entrada debe apuntar a una ruta de acceso absoluta a los archivos de código fuente en el host. Por ejemplo, \"$(System.DefaultWorkingDirectory)/MyApp/\".",
"loc.input.label.failIfCoverageEmpty": "Error si faltan los resultados de cobertura de código",
"loc.input.help.failIfCoverageEmpty": "Error de tarea si la cobertura de código no produjo resultados para publicar.",
"loc.messages.FoundNMatchesForPattern": "Se encontraron %s resultados coincidentes con el patrón: %s",
"loc.messages.NoCodeCoverage": "No se encontraron resultados de cobertura de código para publicar."
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
{
"loc.friendlyName": "Publier les résultats de couverture du code v2",
"loc.helpMarkDown": "[En savoir plus sur cette tâche](https://learn.microsoft.com/en-us/azure/devops/pipelines/tasks/reference/publish-code-coverage-results-v2?view=azure-pipelines)",
"loc.description": "Publier les résultats de couverture du code à partir d'une build",
"loc.instanceNameFormat": "Publier les résultats de la couverture du code",
"loc.input.label.summaryFileLocation": "Chemin des fichiers récapitulatifs",
"loc.input.help.summaryFileLocation": "Chemins des fichiers récapitulatifs contenant les statistiques de couverture du code, par exemple la couverture de ligne, de méthode et de classe. Plusieurs fichiers récapitulatifs sont fusionnés en un seul rapport. Prend en charge plusieurs lignes de modèles minimatch. [Plus d'informations](https://aka.ms/minimatchexamples)",
"loc.input.label.pathToSources": "Chemin des fichiers sources",
"loc.input.help.pathToSources": "Le chemin des fichiers sources est obligatoire quand les rapports XML de couverture ne contiennent pas le chemin absolu des fichiers sources. Par exemple, les rapports JaCoCo n'utilisent pas de chemins absolus, et durant la publication de la couverture JaCoCo pour les applications Java, le modèle est similaire à '$(System.DefaultWorkingDirectory)/MyApp/src/main/java/'.<br />Cette entrée est également nécessaire si les tests sont exécutés dans un conteneur Docker. Cette entrée doit pointer vers le chemin absolu des fichiers sources sur l'hôte. Exemple : '$(System.DefaultWorkingDirectory)/MyApp/'",
"loc.input.label.failIfCoverageEmpty": "Échec si les résultats de la couverture du code sont manquants",
"loc.input.help.failIfCoverageEmpty": "Échec de la tâche si la couverture du code ne produit aucun résultat à publier.",
"loc.messages.FoundNMatchesForPattern": "%s résultat(s) correspondant au modèle %s",
"loc.messages.NoCodeCoverage": "Il n'existe aucun résultat de couverture du code à publier."
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
{
"loc.friendlyName": "Pubblicare risultati code coverage v2",
"loc.helpMarkDown": "[Altre informazioni su questa attività](https://learn.microsoft.com/en-us/azure/devops/pipelines/tasks/reference/publish-code-coverage-results-v2?view=azure-pipelines)",
"loc.description": "Pubblica i risultati del code coverage restituiti da una compilazione",
"loc.instanceNameFormat": "Pubblica risultati di code coverage",
"loc.input.label.summaryFileLocation": "Percorso dei file di riepilogo",
"loc.input.help.summaryFileLocation": "Percorsi dei file di riepilogo contenenti le statistiche di code coverage, ad esempio a livello di riga, metodo e classe. In un singolo report verranno uniti più file di riepilogo. Supporta più righe di criteri di corrispondenza minima. [Altre informazioni] (https://aka.ms/minimatchexamples)",
"loc.input.label.pathToSources": "Percorso dei file di origine",
"loc.input.help.pathToSources": "Il percorso dei file di origine è obbligatorio quando i report XML di code coverage non contengono il percorso assoluto dei file di origine. Ad esempio, i report JaCoCo non usano percorsi assoluti e quando si pubblicano le informazioni di code coverage JaCoCo per le app Java, il percorso sarà simile a `$(System.DefaultWorkingDirectory)/MyApp/src/main/java/`.<br />Questo valore di input è necessario anche se i test vengono eseguiti in un contenitore Docker e deve puntare al percorso assoluto dei file di origine nell'host, ad esempio `$(System.DefaultWorkingDirectory)/MyApp/`",
"loc.input.label.failIfCoverageEmpty": "Non eseguire se mancano i risultati del code coverage",
"loc.input.help.failIfCoverageEmpty": "Non esegue l'attività se il code coverage non ha prodotto risultati da pubblicare.",
"loc.messages.FoundNMatchesForPattern": "Sono stati trovati %s risultato/i corrispondenti al criterio: %s",
"loc.messages.NoCodeCoverage": "Non sono stati trovati risultati del code coverage da pubblicare."
}
Loading