jakobehn / VSTSGitHubTasks

MIT License
21 stars 10 forks source link

Error in Git Push Release Pipeline #28

Open AsimKhan2019 opened 1 month ago

AsimKhan2019 commented 1 month ago

Hi,

So I was creating a release pipeline for my Ruby on Rails project. I created the release pipeline and tried to run it, I encountered an error that might have something to do with the authentication. I created a new PAT in GitHub and passed the PAT in the release pipeline, but I am encountering 2 errors that I cannot figure it out what it means.

Error 1:

[error]System.IO.DirectoryNotFoundException: Could not find a part of the path ‘D:\a_tasks\PublishGitHubRelease_52a55b38-da88-4272-9cb5-8627a5197311\0.11.2$(build.stagingDirectory)’.

Error 2:

[error]Octokit.NotFoundException: Not Found

Kindly please help me, I am kind of lost.

Regards, Asim Khan

P.S. The problem that I am having is in the Deployment stage.

error

release

task

AsimKhan2019 commented 4 weeks ago

I fixed an issue that I had with the build artifact and changed the assets to upload from $(build.stagingDirectory)*\.zip to $(build.stagingDirectory). This fixed the issue for the directory.

But I am now facing another issue which has something to do with Octokit GitHub API.

apierror