Nexus Repository serves as a single point of contact for software artifacts from different origins. The professional version extends the basic functionality by features like staged releases, artifact procurement, hosting project sites or maven settings management. The open source version comes with all necessary features like hosted repositories, repository groups, proxied remote repositories, artifact search and more. We will first start by creating the credentials followed by binding them to a variable.There are two different versions of Nexus Repository: one open source and one professional. The second stage uploads the artifact to the S3 bucket. Replace the URL in the curl command with the URL of your Nexus repository. This will help us conceal the password as the shell commands are visible in the console output & we don’t want that. Since Nexus credentials are colon separated ( username:password), we have bound these credentials ( explained in the next steps below) to a variable called $NEXUS_CREDNETIALS. The first stage requires a credential to log in to Nexus. You have options to either create the credentials with the same IDs or replace the IDs with your values in this script.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |