user270219
user270219

Reputation: 111

JMeter CI/CD process in TFS 2017

I have to create CI/CD pipeline in TFS 2017 to execute JMeter performance test.

I've created a build definition according to the tutorial and a release definition (I have used created build definition as an artifact for the release definition).

After trying to create new release I get the following message: Versions could not be loaded for all artifact sources. This could be due to inaccessible artifact source or artifact source has been deleted or no versions are available.

Could someone help to fix it? Thank you in advance 😊

Upvotes: 0

Views: 102

Answers (1)

PatrickLu-MSFT
PatrickLu-MSFT

Reputation: 51143

The error you are getting because it couldn’t access the artifact source anymore due to some reason.

  • May like there are not available builds (deleted by retention policy) or your build definition renamed.
  • Make sure your build definition has successful builds, and it has 'Publish Artifact: drop' as the last task (Try both drop to the server and a file share).
  • Another place you need to pay attention to is permission. Please double check your account and those groups which contain your account have sufficient permission to create release. Check if there are any deny setting, since deny trumps allow in TFS.

Set Inheritance > On, and then assigned full rights to the Administrators and Service groups in the Build (not Release). And this actually should bring back the drop-down content of artifacts versions in Releases.

Here are the documents which explains how to create the release definition and how to link the artifacts. Please kindly go through it in case you need:

Upvotes: 1

Related Questions