Azure-pipelines-tasks: Wrong warn message: Resource file haven\'t set, can\'t find loc string for key: Not pushing metadata as no resource Ids found

Created on 4 Aug 2020  路  2Comments  路  Source: microsoft/azure-pipelines-tasks

Required Information

Recently, we received build warns with ##[warning]Resource file haven\'t set, can\'t find loc string for key: Not pushing metadata as no resource Ids found. We didn't changed anything in our build config and I don't if we made a miss config or anything to fix this warn. I already checked the task documentation and both version task code (PublishPipelineMetadataV0 and PublishPipelineMetadataV1)

Our task config:
image

Question, Bug, or Feature?
Type: Bug

Enter Task Name: PublishBuildArtifacts@1

Environment

Azure Pipelines: stonepagamentos | finprods-Credit | CreditApi-CI | 1.2.2008.0306
Agent: Ubuntu16

Issue Description

Warn screenshot:
image

Task logs

2020-08-03T19:09:51.2043227Z ##[section]Starting: Publish Pipeline Metadata
2020-08-03T19:09:51.2048748Z ==============================================================================
2020-08-03T19:09:51.2049295Z Task         : Publish Pipeline Metadata
2020-08-03T19:09:51.2049669Z Description  : Publish Pipeline Metadata to Evidence store
2020-08-03T19:09:51.2050055Z Version      : 0.170.0
2020-08-03T19:09:51.2050392Z Author       : Microsoft Corporation
2020-08-03T19:09:51.2050772Z Help         : ms-resource:loc.helpMarkDown
2020-08-03T19:09:51.2051252Z ==============================================================================
2020-08-03T19:09:51.3691632Z ##[warning]Resource file haven\'t set, can\'t find loc string for key: Not pushing metadata as no resource Ids found
2020-08-03T19:09:51.4298673Z ##[section]Finishing: Publish Pipeline Metadata

Troubleshooting

Described at description.

CrossPlatform Release bug

Most helpful comment

It's a shame that there's no way to pin patch version numbers of the tasks, so one could roll back to avoid this...

All 2 comments

Seeing the same issue with the Maven@3 task.

It's a shame that there's no way to pin patch version numbers of the tasks, so one could roll back to avoid this...

Was this page helpful?
0 / 5 - 0 ratings