Skip to content

Jfrog Authentication Support for Pipelines

Below are some support documents/contacts for different pipelines regarding jfrog authentication, especially if jfrog authentication is working for you locally.

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.