I changed the example pipeline script a bit to test if it would work using Subversion. The repository that I want to use does not allow anonymous access. Is it possible to add credentials?
node {
// Mark the code checkout 'stage'....
stage 'Checkout'
// Get some code from a GitHub repository
// Get the maven tool.
// ** NOTE: This 'M3' maven tool must be configured
// ** in the global configuration.
def mvnHome = tool 'Maven 3.2.5'
// Mark the code build 'stage'....
stage 'Build'
// Run the maven build
sh "${mvnHome}/bin/mvn clean install"
}