Warning: file_get_contents(/data/phpspider/zhask/data//catemap/9/google-cloud-platform/3.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Azure devops @+数字对任务名称意味着什么_Azure Devops_Azure Pipelines Tasks - Fatal编程技术网

Azure devops @+数字对任务名称意味着什么

Azure devops @+数字对任务名称意味着什么,azure-devops,azure-pipelines-tasks,Azure Devops,Azure Pipelines Tasks,我发现许多任务名称以@符号加数字结尾,请参见下面的示例 # Provides credentials for Azure Artifacts feeds and external Maven repositories. - task: MavenAuthenticate@0 #inputs: #artifactsFeeds: MyFeedInOrg1, MyFeedInOrg2 # Optional #mavenServiceConnections: serviceConne

我发现许多任务名称以@符号加数字结尾,请参见下面的示例

# Provides credentials for Azure Artifacts feeds and external Maven repositories.
- task: MavenAuthenticate@0
  #inputs:
    #artifactsFeeds: MyFeedInOrg1, MyFeedInOrg2 # Optional
    #mavenServiceConnections: serviceConnection1, serviceConnection2 # Optional
这个@0作为通用身份的目的是什么

它表示任务版本

此配置对应于UI中的任务版本选择操作:

在您的场景中,管道开始运行后,它将下载版本为0的MavenAuthenticate任务。*.

它代表任务版本

此配置对应于UI中的任务版本选择操作:

在您的场景中,管道开始运行后,它将下载版本为0.*的MavenAuthenticate任务