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

Artifactory Release Staging is not working on MultiJob project

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Minor Minor
    • artifactory-plugin
    • Jenkins 1.609.1 (LTS)
      artifactory version 2.3.1

      when trying to use the release management of Artifactory plugin the build failed with this error:

      [RELEASE] Release build triggered
      > git config --get remote.origin.url # timeout=10
      > git config core.sparsecheckout # timeout=10
      > git checkout -f master
      FATAL: com.tikal.jenkins.plugins.multijob.MultiJobProject cannot be cast to hudson.model.FreeStyleProject
      java.lang.ClassCastException: com.tikal.jenkins.plugins.multijob.MultiJobProject cannot be cast to hudson.model.FreeStyleProject
      at org.jfrog.hudson.release.ReleaseAction.getBuilders(ReleaseAction.java:592)
      at org.jfrog.hudson.release.gradle.BaseGradleReleaseAction.getModuleRoot(BaseGradleReleaseAction.java:109)
      at org.jfrog.hudson.release.gradle.GradleReleaseWrapper.changeProperties(GradleReleaseWrapper.java:188)
      at org.jfrog.hudson.release.gradle.GradleReleaseWrapper.setUp(GradleReleaseWrapper.java:155)
      at org.jfrog.hudson.gradle.ArtifactoryGradleConfigurator.setUp(ArtifactoryGradleConfigurator.java:416)
      at hudson.model.Build$BuildExecution.doRun(Build.java:154)
      at hudson.model.AbstractBuild$AbstractBuildExecution.run(AbstractBuild.java:536)
      at com.tikal.jenkins.plugins.multijob.MultiJobBuild$MultiJobRunnerImpl.run(MultiJobBuild.java:134)
      at hudson.model.Run.execute(Run.java:1741)
      at com.tikal.jenkins.plugins.multijob.MultiJobBuild.run(MultiJobBuild.java:73)
      at hudson.model.ResourceController.execute(ResourceController.java:98)
      at hudson.model.Executor.run(Executor.java:374)

            eyalbe Eyal Ben Moshe
            lielran Liel Ran
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated: