JFrog Azure DevOps Pipeles integrated with JFrog platform.
We need to configure the JFrog Azure DevOps extension as mentioned in this document
Once the extension is installed and connected to the Artifactory instance, next step is to setup the Linux Agent pools ( Self hosted Agents ).
Please follow the below instructions to add Linux Agents:
We need to configure the JFrog Azure DevOps extension as mentioned in this document
Once the extension is installed and connected to the Artifactory instance, next step is to setup the Linux Agent pools ( Self hosted Agents ).
Please follow the below instructions to add Linux Agents:
- Add the agent using the “Add pool” option
- Select the “Self-hosted” and provide a name to the agent pool
- Once the agent pool is created. Please click on the pool and add the new agent under the agent tab.
- Click on the “New agent” tab and follow the installation instructions for the Linux agent on the Linux machine.
- Configure the agent using the ”config.sh” script. Provide the server URL like “https://dev.azure.com/{your-organization}” and also provide the access token from Azure.
- Once configured, use the “run.sh” script to start the agent.
- Then check the agent status under the agent pool. Once connected successfully, agents are available online under the agent pool.
- Next, we can use this agent for running the CLI installer task by adding the agent pool name in the pipeline script.
- Below is the sample CLI installer task to install the CLI and execute the Jfrog CLI command.
- Finally, once the build is triggered, CLI will be installed on the Linux agent and can execute all the CLI commands as per the pipeline script.