Skip to content

JFrog Authentication Support for Pipelines

If JFrog authentication works locally but not in your CI/CD pipeline, use the following guides and support channels for troubleshooting and configuration.

JFrog Authentication with Tekton for Gradle

JFrog Authentication with Tekton for NPM

JFrog Authentication with Jenkins for Gradle

JFrog Authentication with Jenkins for NPM

JFrog Authentication with CloudBuild for Gradle/NPM

JFrog Authentication with Github Actions for Gradle

  1. From github repository "Settings" menu, open "Secrets and variables" --> "Actions". Under "Repository secrets", create ARTIFACTORY_USER and ARTIFACTORY_PASSWORD secret.

  2. From actions workflow file, add ARTIFACTORY_USER, ARTIFACTORY_PASSWORD, and GRADLE_OPTS secret as environment variables.

    jobs:
      build:
        env:
          ARTIFACTORY_USER: ${{ secrets.ARTIFACTORY_USER }}
          ARTIFACTORY_PASSWORD: ${{ secrets.ARTIFACTORY_USER }}
          GRADLE_OPTS: "-Dgradle.wrapperUser=${{ secrets.ARTIFACTORY_USER }} -Dgradle.wrapperPassword=${{ secrets.ARTIFACTORY_USER }}"
  3. From actions workflow file, under "steps", add a gradle build task. Please note your gradle build command may be different.

    - name: Run ./gradle build
      run: ./gradlew clean build
      working-directory: ./gradle-project/

JFrog Authentication with Ubuild

Brought to you by DevTools and Enablement Team.