Skip to content

Enhance JFrog CLI Credentials Input During Setup #271

Enhance JFrog CLI Credentials Input During Setup

Enhance JFrog CLI Credentials Input During Setup #271

Workflow file for this run

name: Tests
on:
push:
# Triggers the workflow on labeled PRs only.
pull_request_target:
types: [labeled]
jobs:
Jenkins-JFrog-Plugin-Tests:
if: (contains(github.event.pull_request.labels.*.name, 'safe to test') || github.event_name == 'push') && github.repository_owner != 'jenkinsci'
name: ${{ matrix.os }}
strategy:
fail-fast: false
matrix:
os: [ ubuntu-latest, macos-latest, windows-latest ]
runs-on: ${{ matrix.os }}
steps:
- name: Checkout code
uses: actions/checkout@v4
- name: Install Java
uses: actions/setup-java@v4
with:
java-version: "11"
distribution: "temurin"
- name: Setup Go
uses: actions/setup-go@v5
with:
go-version: 1.22.x
cache: false
- name: Setup Artifactory
run: |
go install github.com/jfrog/jfrog-testing-infra/local-rt-setup@latest
~/go/bin/local-rt-setup
env:
RTLIC: ${{secrets.RTLIC}}
GOPROXY: direct
- name: Run tests
env:
JFROG_URL: "http://localhost:8081/"
JFROG_USERNAME: "admin"
JFROG_PASSWORD: "password"
run: mvn -V -B -U --no-transfer-progress clean verify -DskipITs=false "-Dfindbugs.failOnError=false"