Skip to content

Latest commit

 

History

History
54 lines (35 loc) · 1.12 KB

CONTRIBUTING.md

File metadata and controls

54 lines (35 loc) · 1.12 KB

📖 Guidelines

⚒️ Building and Testing the Sources

Build and Run Jenkins JFrog Plugin

Clone the sources and CD to the root directory of the project:

git clone https://github.com/jfrog/jenkins-jfrog-plugin.git
cd jenkins-jfrog-plugin

Build the sources as follows:

mvn clean package

Start a local Jenkins instance with the plugin installed by running the following command:

mvn hpi:run

Tests

Unit tests

To run unit tests execute the following command:

mvn clean test

Integration tests

Running integration tests

Before running the integration tests, set the following environment variables.

JFROG_URL
JFROG_USERNAME
JFROG_PASSWORD
JFROG_ADMIN_TOKEN

Run the integration tests.

mvn clean verify -DskipITs=false