-
Bug
-
Resolution: Unresolved
-
Blocker
-
Jenkins 2.73.2, Artifactory Plugin 2.13.0
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.
tyrelh, thank you for reporting this issue.
We tried to reproduce this but we are missing some details.
On which step was the failure? could you provide us with console output to the relevant section?
Why are you setting mavenBuild.resolver = null? this line should not be permitted and will fail.