149 lines
7.4 KiB
Markdown
149 lines
7.4 KiB
Markdown
---
|
|
assigned: ''
|
|
created: '"2024-01-12T16:48:17.489Z"'
|
|
type: '"topic"'
|
|
updated: 2024-08-08T20:15:21.985Z
|
|
---
|
|
|
|
# Artifactory
|
|
|
|
```bash
|
|
# https://artifactory.intra.infineon.com/artifactory/api/search/artifact?name=system.text.json.8.0.0.nupkg
|
|
```
|
|
|
|
```json
|
|
{
|
|
"results": [
|
|
{
|
|
"uri": "https://artifactory.intra.infineon.com/artifactory/api/storage/ngt-nuget-org-cache/System.Text.Json.8.0.0.nupkg"
|
|
},
|
|
{
|
|
"uri": "https://artifactory.intra.infineon.com/artifactory/api/storage/ngt-nuget-v2-org-cache/System.Text.Json.8.0.0.nupkg"
|
|
}
|
|
]
|
|
}
|
|
```
|
|
|
|
```bash
|
|
nuget sources Add -Name Artifactory -Source https://artifactory.intra.infineon.com/artifactory/api/nuget/v3/ngt-nuget-org/index.json -username phares -password cmVmdGtuOjAxOjE3NDExMTM5NTA6RzNwVkx1Qmx4ajJnSkJodVBpU1dDcmJ1TWZi
|
|
nuget sources Add -Name Artifactory -Source https://artifactory.intra.infineon.com/artifactory/api/nuget/v3/ngt-nuget-org/index.json -username phares -password cmVmdGtuOjAxOjE3NDExMTQzNTE6RFlDdVp1MzJ3UzgzakFNcGM1bU5NendmMEtB
|
|
dotnet nuget add source --name Artifactory https://artifactory.intra.infineon.com/artifactory/api/nuget/v3/ngt-nuget-org/index.json
|
|
dotnet nuget add source --name AUC-Artifactory https://artifactoryedge-auc.icp.infineon.com/artifactory/api/nuget/v3/ngt-nuget-org/index.json
|
|
dotnet nuget disable source "nuget.org"
|
|
dotnet nuget disable source "Artifactory"
|
|
dotnet nuget list source
|
|
```
|
|
|
|
```bash Thu Aug 07 2024 14:13:23 GMT-0700 (Mountain Standard Time)
|
|
Set Up a NuGet client
|
|
|
|
Repository
|
|
ngt-fi-package-main-vir
|
|
Check out our new NuGet Symbol Server configuration
|
|
ConfigureResolve
|
|
The token has been generated successfully!
|
|
|
|
asdf
|
|
NuGet CLI configuration
|
|
When using Artifactory as a NuGet repository you can either work with the NuGet CLI directly or with Visual Studio.
|
|
To configure the NuGet CLI to work with Artifactory, you need to add this repository to the list of sources.
|
|
To add this repository, use the following command:
|
|
|
|
nuget sources Add -Name Artifactory -Source https://artifactory.intra.infineon.com/artifactory/api/nuget/v3/ngt-fi-package-main-vir/index.json -username phares -password asdf
|
|
Then, to authenticate against Artifactory with the NuGet API key, run the following command:
|
|
|
|
nuget setapikey phares:asdf -Source Artifactory
|
|
NuGet CLI Configuration (API v2)
|
|
If this repository is configured as a NuGet API v2 repository manually add the following line to the NuGet.config file:
|
|
The NuGet.config file can be found at %appdata%\NuGet\NuGet.config (Windows) or ~/.config/NuGet/NuGet.config (Mac/Linux)
|
|
|
|
nuget sources Add -Name ArtifactoryV2 -Source https://artifactory.intra.infineon.com/artifactory/api/nuget/ngt-fi-package-main-vir -username phares -password asdf
|
|
Then, to authenticate against Artifactory with the NuGet API key, run the following command:
|
|
|
|
nuget setapikey phares:asdf -Source ArtifactoryV2
|
|
Visual Studio Configuration
|
|
To configure the NuGet Visual Studio Extension to use Artifactory, you need to add this repository as another Package Source under NuGet Package Manager.
|
|
Go to the "Package Manager Settings" in your Visual Studio (Tools > NuGet Package Manager > Package Manager Settings > Package Sources) and add another Package Source.
|
|
Name: Add a name for the package source (e.g. Artifactory NuGet repository)
|
|
Paste the snippet below in the URL field
|
|
|
|
https://artifactory.intra.infineon.com/artifactory/api/nuget/v3/ngt-fi-package-main-vir
|
|
To configure the NuGet CLI to work with Artifactory, you need to add this repository to the list of sources.
|
|
To add this repository, use the following command:
|
|
|
|
nuget sources Add -Name ArtifactorySymbols -Source https://artifactory.intra.infineon.com/artifactory/api/nuget/v3/ngt-fi-package-main-vir/symbols -username phares -password asdf
|
|
NuGet CLI Symbol configuration
|
|
When using Artifactory as a NuGet repository you can either work with the NuGet CLI directly or with Visual Studio.
|
|
To configure the NuGet CLI to work with Artifactory, you need to add this repository to the list of sources.
|
|
To add this repository, use the following command:
|
|
|
|
nuget sources Add -Name Artifactory -Source https://artifactory.intra.infineon.com/artifactory/api/nuget/v3/ngt-fi-package-main-vir/index.json -username phares -password asdf
|
|
Then, to authenticate against Artifactory with the NuGet API key, run the following command:
|
|
|
|
nuget setapikey phares:asdf -Source Artifactory
|
|
NuGet CLI Configuration (API v2)
|
|
If this repository is configured as a NuGet API v2 repository manually add the following line to the NuGet.config file:
|
|
The NuGet.config file can be found at %appdata%\NuGet\NuGet.config (Windows) or ~/.config/NuGet/NuGet.config (Mac/Linux)
|
|
|
|
nuget sources Add -Name ArtifactoryV2 -Source https://artifactory.intra.infineon.com/artifactory/api/nuget/ngt-fi-package-main-vir -username phares -password asdf
|
|
Then, to authenticate against Artifactory with the NuGet API key, run the following command:
|
|
|
|
nuget setapikey phares:asdf -Source ArtifactoryV2
|
|
Visual Studio Configuration
|
|
To configure the NuGet Visual Studio Extension to use Artifactory, you need to add this repository as another Package Source under NuGet Package Manager.
|
|
Go to the "Package Manager Settings" in your Visual Studio (Tools > NuGet Package Manager > Package Manager Settings > Package Sources) and add another Package Source.
|
|
Name: Add a name for the package source (e.g. Artifactory NuGet repository)
|
|
Paste the snippet below in the URL field
|
|
|
|
https://artifactory.intra.infineon.com/artifactory/api/nuget/v3/ngt-fi-package-main-vir
|
|
To configure the NuGet CLI to work with Artifactory, you need to add this repository to the list of sources.
|
|
To add this repository, use the following command:
|
|
|
|
nuget sources Add -Name ArtifactorySymbols -Source https://artifactory.intra.infineon.com/artifactory/api/nuget/v3/ngt-fi-package-main-vir/symbols -username phares -password asdf
|
|
Add the following line to the NuGet.config file:
|
|
The NuGet.config file can be found at %appdata%\NuGet\NuGet.config (Windows) or ~/.config/NuGet/NuGet.config (Mac/Linux)
|
|
|
|
<add key="ArtifactorySymbols" value="https://artifactory.intra.infineon.com/artifactory/api/nuget/v3/ngt-fi-package-main-vir/symbols" protocolVersion="3" />
|
|
Then, to authenticate against Artifactory with the NuGet API key, run the following command:
|
|
|
|
nuget setapikey phares:asdf -Source ArtifactorySymbols
|
|
Visual Studio Configuration
|
|
To configure the NuGet Visual Studio Extension to use Artifactory as a Symbol Server, you need to change the location of the symbol (.pdb) file. Under Tools | Options | Debugging | Symbols add a new symbol server pointing to the symbols url:
|
|
|
|
https://artifactory.intra.infineon.com/artifactory/api/nuget/v3/ngt-fi-package-main-vir
|
|
|
|
Artifacts
|
|
Search Artifacts
|
|
Welcome, phares
|
|
|
|
|
|
|
|
|
|
|
|
Enterprise Plus 7.63.14 rev 76314900 Licensed to Infineon Technologies AG
|
|
© Copyright 2024 JFrog Ltd
|
|
Happily serving 62,632,133 artifacts
|
|
Filter repositories
|
|
Tree View:
|
|
|
|
|
|
|
|
ngt-it-eafa-local
|
|
GeneralProperties
|
|
Info
|
|
URL to file:
|
|
https://artifactory.intra.infineon.com/artifactory/ngt-it-eafa-local/
|
|
Package Information
|
|
Dependency Declaration
|
|
Virtual Repository Associations
|
|
Included Repositories
|
|
Checksums
|
|
```
|
|
|
|
```bash Thu Aug 08 2024 13:13:23 GMT-0700 (Mountain Standard Time)
|
|
# https://artifactory.intra.infineon.com/artifactory/ngt-fi-package-main-vir/
|
|
# https://artifactory.intra.infineon.com/artifactory/ngt-other-mha-base-local/
|
|
# https://artifactory.intra.infineon.com/artifactory/api/nuget/v3/ngt-fi-package-main-vir/index.json
|
|
# https://artifactory.intra.infineon.com/artifactory/api/nuget/v3/ngt-other-mha-base-local/index.json
|
|
```
|