We upgraded the artifactory plugin from 2.12.2 to 2.13.0 and our Pipeline builds can't run anymore.
Here's the relevant portion of our Jenkinsfile script:
def artifactory = Artifactory.server('com.redacted')
def mavenBuild = Artifactory.newMavenBuild()
mavenBuild.resolver = null
mavenBuild.deployer server: artifactory, releaseRepo: 'redacted-local', snapshotRepo: 'redacted-snapshots-local'
mavenBuild.tool = 'Maven 3.3.9'
env.setProperty('PATH+JDK', javaHome + "bin")
def coreBuildInfo = mavenBuild.run pom: 'pom.xml', goals: "clean install -s build
settings.xml -Dmaven.repo.local=.repository -Dmaven.test.failure.ignore=true -B -U -Dbuild.id=$env.BUILD_NUMBER".toString()
It seems like an exception is being thrown, although a stack trace print didn't put anything into the build log.
I rolled it back to 2.12.2 and the problem went away.