Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error in Git Push Release Pipeline #28

Open
AsimKhan2019 opened this issue Aug 14, 2024 · 1 comment
Open

Error in Git Push Release Pipeline #28

AsimKhan2019 opened this issue Aug 14, 2024 · 1 comment

Comments

@AsimKhan2019
Copy link

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
Copy link
Author

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

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

No branches or pull requests

1 participant