Skip to content
This repository has been archived by the owner on Nov 14, 2023. It is now read-only.

Only default artifact is tagged when release has 50 artifacts #72

Open
amccool opened this issue Aug 7, 2020 · 3 comments
Open

Only default artifact is tagged when release has 50 artifacts #72

amccool opened this issue Aug 7, 2020 · 3 comments

Comments

@amccool
Copy link

amccool commented Aug 7, 2020

I have a classic release pipeline with 50 artifacts in it. When attempting to use the tag artifacts task, I only get the default artifact's repo branch to get a tag on it. If I reduce the number of artifacts significantly, then artifact tagging is working.

It appears that git-release-tag cant get the collection of artifacts when the artifact number is higher. I dont see the #debug output for any of the artifacts. and in fact I dont see #debug for any of the variables at all.

2020-08-07T20:32:28.8726079Z ##[debug]Evaluating condition for step: 'Tag Artifacts'
2020-08-07T20:32:28.8726785Z ##[debug]Evaluating: succeeded()
2020-08-07T20:32:28.8727035Z ##[debug]Evaluating succeeded:
2020-08-07T20:32:28.8727356Z ##[debug]=> True
2020-08-07T20:32:28.8727618Z ##[debug]Result: True
2020-08-07T20:32:28.8727906Z ##[section]Starting: Tag Artifacts
2020-08-07T20:32:28.9008078Z ==============================================================================
2020-08-07T20:32:28.9008324Z Task         : Tag Artifacts
2020-08-07T20:32:28.9008513Z Description  : Tag artifacts during release with ReleaseName.
2020-08-07T20:32:28.9008689Z Version      : 8.0.1
2020-08-07T20:32:28.9008837Z Author       : Michael Barry
2020-08-07T20:32:28.9008969Z Help         : 
2020-08-07T20:32:28.9009153Z ==============================================================================
2020-08-07T20:32:28.9204016Z ##[warning]Environment variable 'VSTS_PUBLIC_VARIABLES' exceeds the maximum supported length. Environment variable length: 40913 , Maximum supported length: 32766
2020-08-07T20:32:29.1489552Z ##[debug]agent.TempDirectory=E:\REBuild1_bldagt2\_work\_temp
2020-08-07T20:32:29.1596599Z ##[debug]loading inputs and endpoints
2020-08-07T20:32:29.1606129Z ##[debug]loading ENDPOINT_AUTH_PARAMETER_SYSTEMVSSCONNECTION_ACCESSTOKEN
2020-08-07T20:32:29.1615848Z ##[debug]loading ENDPOINT_AUTH_SCHEME_SYSTEMVSSCONNECTION
2020-08-07T20:32:29.1619728Z ##[debug]loading ENDPOINT_AUTH_SYSTEMVSSCONNECTION
2020-08-07T20:32:29.1622725Z ##[debug]loading INPUT_STATICTAGNAME
2020-08-07T20:32:29.1903137Z ##[debug]loaded 4
2020-08-07T20:32:29.1910905Z ##[debug]Agent.ProxyUrl=undefined
2020-08-07T20:32:29.1911907Z ##[debug]Agent.CAInfo=undefined
2020-08-07T20:32:29.1912851Z ##[debug]Agent.ClientCert=undefined
2020-08-07T20:32:29.1913636Z ##[debug]Agent.SkipCertValidation=undefined
2020-08-07T20:32:29.3198786Z git-tag-on-release-task: Version: 8.0.1
2020-08-07T20:32:29.3199887Z ##[debug]RELEASE_RELEASENAME=SR3.1.0.127
2020-08-07T20:32:29.3209552Z ##[debug]staticTagName=SR3.1.0.127
2020-08-07T20:32:29.3210369Z ##[debug]searchRegex=undefined
2020-08-07T20:32:29.3211080Z ##[debug]regexFlags=undefined
2020-08-07T20:32:29.3211782Z ##[debug]replacePattern=undefined
2020-08-07T20:32:29.3212771Z ##[debug]Search Regex: '\s+', Replace Pattern: '', flags: 'g', staticTagName: ''
2020-08-07T20:32:29.3213806Z ##[debug]RefName: 'tags/SR3.1.0.127'
2020-08-07T20:32:29.3222433Z ##[debug]SYSTEMVSSCONNECTION auth param AccessToken = ***
2020-08-07T20:32:29.3223533Z ##[debug]SYSTEMVSSCONNECTION=https://XXXXXXXXXXXXXXXXXX.vsrm.visualstudio.com/
2020-08-07T20:32:29.5484790Z ##[debug]build.repository.provider=TfsGit
2020-08-07T20:32:29.5485706Z ##[debug]build.repository.name=devops
2020-08-07T20:32:29.5486618Z ##[debug]build.sourceVersion=4a026cb440699ad25f48a1652de453977095d4dc
2020-08-07T20:32:29.5487615Z ##[debug]build.repository.id=e43c839e-fd06-45e7-9107-91892be5c1b9
2020-08-07T20:32:29.5505053Z ##[debug]Processing artifact: 'devops' for ref: tags/SR3.1.0.127 new commit: 4a026cb440699ad25f48a1652de453977095d4dc
2020-08-07T20:32:29.5511685Z ##[debug]Getting refs for: 'tags/SR3.1.0.127' with repositoryId: 'e43c839e-fd06-45e7-9107-91892be5c1b9'
2020-08-07T20:32:29.6558989Z ##[debug]Got refs. Length = 0
2020-08-07T20:32:29.6561826Z ##[debug]Old commit 0000000000000000000000000000000000000000
2020-08-07T20:32:29.6563065Z ##[debug]Updating ref: refs/tags/SR3.1.0.127
2020-08-07T20:32:29.9810438Z ##[debug]Ref updated!
2020-08-07T20:32:29.9959757Z ##[section]Finishing: Tag Artifacts

I should be seeing something like this:

2020-08-06T16:18:12.3247333Z ##[debug]release.artifacts.AuditWS.requestedForId=5513d712-e219-435d-b9f9-f1eb01860626
2020-08-06T16:18:12.3272244Z ##[debug]release.artifacts.AuditWS.repository.provider=TfsGit
2020-08-06T16:18:12.3280366Z ##[debug]release.artifacts.AuditWS.buildNumber=AuditWS_3.1.0.22
2020-08-06T16:18:12.3287654Z ##[debug]release.artifacts.AuditWS.projectId=7bc36966-c4c9-4829-a101-a2f869d80108
2020-08-06T16:18:12.8954795Z ##[debug]release.artifacts.AuditWS.sourceVersion=8aa6ef0659e9c4cdbe1f0f5caf597b5e35c4bee2
2020-08-06T16:18:12.8970796Z ##[debug]release.artifacts.AuditWS.repository.name=AuditWS
2020-08-06T16:18:12.9002474Z ##[debug]release.artifacts.AuditWS.definitionId=1358
2020-08-06T16:18:12.9005463Z ##[debug]release.artifacts.AuditWS.repository.id=123c9d30-254d-4ffa-bb72-2d4df7cd16f3
2020-08-06T16:18:12.9020323Z ##[debug]release.artifacts.AuditWS.sourceBranchName=master
2020-08-06T16:18:12.9045710Z ##[debug]release.artifacts.AuditWS.requestedFor=Helen Brown
2020-08-06T16:18:12.9069179Z ##[debug]release.artifacts.AuditWS.definitionName=AuditWS
2020-08-06T16:18:12.9086888Z ##[debug]release.artifacts.AuditWS.type=Build
2020-08-06T16:18:12.9090690Z ##[debug]release.artifacts.AuditWS.buildUri=vstfs:///Build/Build/84250
2020-08-06T16:18:12.9091187Z ##[debug]release.artifacts.AuditWS.sourceBranch=refs/heads/master
2020-08-06T16:18:12.9102655Z ##[debug]release.artifacts.AuditWS.buildId=84250
2020-08-06T16:18:12.9113646Z ##[debug]release.artifacts.AuditWS.projectName=SupraDupra
@amccool
Copy link
Author

amccool commented Oct 8, 2020

bump

@jabbera
Copy link
Owner

jabbera commented Oct 8, 2020

Happy to take a PR but I'm not setup to relocate this.

@amccool
Copy link
Author

amccool commented Oct 8, 2020

if you can point me in the right direction (how to find an error msg, or lack thereof) I will take a crack at it.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants