Uploaded image for project: 'Jenkins'
  1. Jenkins
  2. JENKINS-47614

Artifactory Plugin fails in Pipeline after upgrade of plugin

XMLWordPrintable

      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.

            eyalbe Eyal Ben Moshe
            tyrelh Tyrel Haveman
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated: