Can JFrog Artifactory be used to store deployment artifacts for promotion, for applications developed with Visual Studio ?
Also, can JFrog Artifactory be used for API deployment and DataBase deployment?
If the requirement is to have the .NET projects perform build and store artifacts from Visual Studio against the Artifactory, please follow the instructions here. Additionally, if the query regarding API deployment is around the programmatic access against the Artifactory instance, please refer to Artifactory REST API wiki.
Related
We have a ClickOnce application we try to deploy with Azure DevOps pipelines.
We have figured the deployment process out with creating manifests and signing them.
The problem is now we want to also use the prerequisits option of ClickOnce with some custom packages.
After reading the docs we created a custom bootstrapper package and it was displayed in Visual Studio. When we publish the app with Visual Studio the custom package is added. But if we use it on the DevOps pipelin it's ignored. This makes sense because the build server doesn't know the custom package.
For example one prerequisit is the Microsoft OLE DB Driver for SQL Server.
One Idea maybe would be to not use the option "Download prerequisites from the component vendor's web site", but host the exe/msi files ourselves and link to them.
Another option could be this support URL for individual prerequisites but here I don't know how to set this to other applications.
Does somebody have an idea how custom prerequisites with ClickOnce can be added to a Azure DevOps build server/pipeline?
You could try to use Azure cli to upload the package(with its setup.bin file) to Azure DevOps artifact feeds
as universal packages type.
Create a feed first then you could use az artifacts universal publish to upload the packages.
Then you could use the "Universal packages" task in your Azure DevOps pielines to download the packages for using.
As you said, you could use visual studio run with the packages successfully. If you use VSBuild#1 task as the doc recommend in your pipelines to deploy the ClickOnce, you could add the path of the custom package in Azure DevOps, it looks like something like this:
'p:GenerateBootstrapperSdkPath=$(System.DefaultWorkingDirectory)\bootstrapper'
I hope it could help.
Using the UI, I can export Artifactory repositories. I'll be able to do it as mentioned in the documentation.
But what if I want to do it through a Rest API call or a jFrog CLI command?
JFrog has a CLI that can be used for many kinds of command line, automated or maintenance tasks. This CLI integrates great with CI/CD and with on demand tasks like downloading a file or a full repository.
Another option is to use the Artifactory REST API, which can be used to download a whole repository or folder from it. There are a zillion options for the REST API.
For system export, you need to use the Export System REST API call.
I have a client who is using Nexus Repo (3.0) and they have a specific npm-group repo (public and private) set up there. They want to use it in Azure DevOps as a source for their pipelines without having to use Azure Artifacts and preferably without having to make a change to each and every pipeline as there are many.
They are using Azure DevOps Server 2019.1 update 3.
I'm struggling to find any more info on this and if anyone can give me a yes/no answer or some guidance I'd appreciate it.
Kind Regards,
DB
You can check extension Sonatype Nexus Repository Release Artifact, which may help you:
https://marketplace.visualstudio.com/items?itemName=soft-cor.nexus-custom-release-artifact-extension
I want to upload a file to Azure Artifacts using the Rest API. Can I do it?
We use on-prem Azure DevOps Server 2019.
Please, note that it is not a nuget or an npm package. It is just a file.
It is not a nuget or an npm package. It is just a file.
If what you want to upload is files instead of packages, in Azure devops, I'm afraid only Universal package can available for files to stored.
BUT, what the issue is Universal package does not supported for Azure devops server. It only support in azure devops service now.
In our official forum, there has such suggestion raised to request for this feature added in Azure devops server/TFS. You can vote and share your demand there to raise its priority. Our product group will review it regularly to consider take some features into develop plan.
I have a project where we need to integrate nuget packages from local and remote sources in to Jfrog Artifactory. The problem im having is with Visual studio team services as it does not pull the local nuget packages, and it shows a login error. although it does get the nuget.org from our remote repository.
Any suggestions?
You'll need to set up a Personal Access Token and store that in Artifactory before it can access VSTS feeds. See the docs here.