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

Authentication in JFrog dotnet task #343

Open
Tobias-08 opened this issue May 23, 2022 · 5 comments
Open

Authentication in JFrog dotnet task #343

Tobias-08 opened this issue May 23, 2022 · 5 comments
Labels
question Further information is requested

Comments

@Tobias-08
Copy link

Hi,
I want the JFrog dotnet task to do a restore against an authenticated nuget feed on Artifactory. What do I have to do to make authentication work? The Microsoft dotnet task has an attribute externalFeedCredentials for using service connection credentials but the JFrog task has not. What is the targetResolveRepo in the JFrog task for? Is this for authentication?

Thanks!

@Tobias-08 Tobias-08 added the question Further information is requested label May 23, 2022
@eyalbe4
Copy link
Contributor

eyalbe4 commented May 23, 2022

@Tobias-08.
The credentials to Artifactory are set as part of the JFrog Artifactory v2 Service Connection. This service connection is then set as a parameter of the task.
See here and here and let us know if you have follow-up questions.

@Tobias-08
Copy link
Author

@eyalbe4 OK, thanks. I'll give it a try. What is targetResolveRepo for, anyway? The description/docs is not very helpful for me.

@eyalbe4
Copy link
Contributor

eyalbe4 commented May 23, 2022

@Tobias-08,
The documentation relies very much on the classic UI view of Azure DevOps, and the UI includes description for all fields. The tasks UI allows creating the pipeline yaml. I guess we should add to the documentation a description for all the yaml properties.

@Tobias-08
Copy link
Author

@eyalbe4 The tasks UI says 'Sets the resolution repository'. That's not very meaningful.

@fourpastmidnight
Copy link

fourpastmidnight commented Dec 14, 2023

Basically, it's the Artifactory Repository Key of the repository from which to resolve artifacts.

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

No branches or pull requests

3 participants