简体   繁体   中英

Release Definition in Azure DevOps and Team Foundation Server plugin for Jenkins

I'm following this tutorial from a Microsoft Cloud Advocate to set up Azure DevOps and Jenkins integration: https://medium.com/@bbenz/azure-devops-and-jenkins-in-perfect-harmony-8c92ff980723 .

I'm not able to trigger a new Azure DevOps pipeline release when Jenkins successfully completes a build.

There is no release definition available in my Jenkins dropdown menu for the Jenkins Team Foundation Server (TFS) plugin. I have created a Pipeline release in Azure DevOps, FYI.

詹金斯的截图

In the above mentioned tutorial, there's no mention of setting up a release definition and based on research release definitions are only mentioned in resources from several years ago.

How do I resolve this? The Github repository seems to imply the TFS plugin supports Azure DevOps in its current iteration.

Lastly, not surprisingly, when running the Build on Jenkins I get an error. In this case, a 404: hudson.plugins.tfs.rm.ReleaseManagementException: Error occurred.%nStatus: 404%nResponse:

So the issue is with the TFS Plugin for Jenkins. I had to update the calls to the Azure DevOps API in the source code because the URL scheme has changed and no one updated the code for the plugin.

To anyone reading this, just know the TFS Plugin is not maintained.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM