0

I am having difficulties with the last two projects I have created using gated check-ins in Azure DevOps.

The error I receive:

[Error]The shelveset [ommitted] could not be found for check-in

We are using an onpremises agent and the last two projects I have created get this error on the gated check-in. However, our older apps that have identical build pipelines seem to be working fine so I do not understand why this is happening.

Does anyone have any ideas?

DrollDread
  • 321
  • 4
  • 22
  • What is the azure devops version you are using? The gated check-ins looks like build policy in Build validation for azure devops 2019 – Levi Lu-MSFT Nov 14 '19 at 12:19
  • 2019,whats weird is that its working fine for our other projects. Just not for any new ones. – DrollDread Nov 14 '19 at 12:20
  • I cannot reproduce above error. Could update your original question with detailed steps(with screenshots) to reproduce this error. – Levi Lu-MSFT Nov 15 '19 at 02:52
  • Yes each pipeline has 3 steps, nuget install, restore then vs build. The issue occurs also on a 3rd npm build pipeline. The error does not occur in any tasks within the build pipeline, just the final 'check in gated changes' task which is generated if the gated check in trigger is enabled and someone has attempted to check in. I will try to update the question with some more information. – DrollDread Nov 15 '19 at 06:12
  • Is your azure devops 2019 server on premise or cloud based? – Levi Lu-MSFT Nov 15 '19 at 10:20
  • Cloud based, using on premises agents – DrollDread Nov 15 '19 at 11:10

1 Answers1

1

I was able to reproduce the same issue on my on premise agent as well as hosted agents. After investigating it seems like the account conflicts cause this error, that the build agent trys to check in the shelvesets with build service account other than you own account.

The same issue has been submitted to Microsoft. You can vote it up and keep track on it here, or your can submit a new issue regarding this issue on the same site by clicking on "Report a problem".

Levi Lu-MSFT
  • 27,483
  • 2
  • 31
  • 43