Skip to content

[jfrog-release] Next development version [skipRun] #242

[jfrog-release] Next development version [skipRun]

[jfrog-release] Next development version [skipRun] #242

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@v3
- name: Install Java
uses: actions/setup-java@v3
with:
java-version: "11"
distribution: "temurin"
- 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"