Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

As part of this release, user is now able to create a JFrog Artifactory Docker or JFrog Artifactory Maven tool in the Tool Registry. This documentation will provide information on tool setup and pipeline configuration for the JFrog Push step.

Tool Setup

  1. To add JFrog Artifactory Docker or JFrog Artifactory Maven tool, navigate to Tool Registry and select + New Tool button.

  2. Fill out the Create New Tool Form and select JFrog Artifactory Docker or JFrog Artifactory Maven tool as Tool Identifier in the drop down.

...

  • JFrog Container

  • JFrog User ID

  • JFrog Password

...

5. Select the Save button and then Test Connection button to make sure the tool is configured correctly.

...

...

6. Navigate to the Repositories tab and select + New JFrog Maven Repository.

...

7. Add the form fields:

Repository Name

Description

Package Type - Maven

...

8. Select Create button.

You can now proceed to add the feed to the Octopus tool.

69. Navigate to a configured Octopus tool.

...

710. Navigate to the Applications tab and select the Create button. A drop down will appear. Select External Feed.

...

811. Select External Feed and fill out the Create New Octopus Feed form with the following fields:

  • Name - Create a unique name.

  • Space Name - Default

  • Feed Type - Maven

  • Tool Type - Frog (Once you select the Tool Type you can select the recently created tool)

  • Tool - Select the recently created tool.

  • Repository - Select the repository .

...

  • from the Jfrog Maven tool

    Image Added

12. Click Save button and the Feed has now been created.

Pipeline Configuration

The pipeline flow requires 3 steps:

...

Step 1: Build - Tool Identifier: Jenkins

...

  • Tool - Select the configured Jenkins Tool with a Maven build job.

  • Job Type - Opsera Managed Jobs.

  • Job - Maven Build.

  • Account - Select an account from the drop down.

  • Repository - Select a repository.

  • Branch - Select a branch.


Step 2: JFrog push - Tool Identifier: JFrog Artifactory Maven

...

  • Step Tool - that was created on step #3 or select already created

  • JFrogStep Type - Select Push Artifacts

  • Repository Name - Select the repository that was created in the Jfrog Maven tool.

  • Group Name -

  • Artifact Name -

  • Build Step - Select the name of Jenkins pipeline step.

Step 3: Octopus Deploy - Tool Identifier: Octopus Deploy

...