×
Find plugins

Maven SNAPSHOT Check
1.5Minimum Jenkins requirement: 1.625.3ID: maven-snapshot-check

Maven SNAPSHOT Check Plugin

Build Status Jenkins Plugin GitHub release Jenkins Plugin Installs

README 中文版

This plugin used to check if pom.xml contains SNAPSHOT.

Usage

FreeStyle job usage

use the Build Step called Maven SNAPSHOT Check in Build section

add-build-step

If check the checkbox, it will check if pom.xml contains SNAPSHOT.

maven-snapshot-check-plugin-usage

Then it will marked the build failed if matches.

job-build-console-output

Maven job usage

use the pre-build step called Maven SNAPSHOT Check in Pre Steps section pre-build-step

Pipeline job usage

step([$class: 'MavenSnapshotCheck', check: 'true'])

or

mavenSnapshotCheck check: 'true'

Bug reports

Please report bugs and feature requests at https://github.com/jenkinsci/maven-snapshot-check-plugin/issues.

How to build and test

  • Build the plugin:

mvn package

  • Test locally (invokes a local Jenkins instance with the plugin installed):

mvn hpi:run

See https://jenkinsci.github.io/maven-hpi-plugin/ for details.

ArchivesGet past versions
Links
Labels