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

I can't use artifactory with svn+ssh following the tutorial on youtube: Empower Jenkins with artifactory

    Details

    • Type: Bug
    • Status: Open (View Workflow)
    • Priority: Major
    • Resolution: Unresolved
    • Component/s: artifactory-plugin
    • Environment:
    • Similar Issues:

      Description

      Started by user anonymous
      Building remotely on thesafari in workspace c:\jenkins\workspace\testngfirst
      Updating svn+ssh://192.168.1.71/home/manav/svn-repos/com.startpractice
      At revision 34
      no change for svn+ssh://192.168.1.71/home/manav/svn-repos/com.startpractice since the previous build
      ERROR: Processing failed due to a bug in the code. Please report this to jenkinsci-users@googlegroups.com
      java.lang.RuntimeException: java.lang.IllegalArgumentException: artifactoryServer cannot be null
      at org.jfrog.hudson.maven3.extractor.MavenExtractorEnvironment.buildEnvVars(MavenExtractorEnvironment.java:151)
      at hudson.model.AbstractBuild.getEnvironment(AbstractBuild.java:864)
      at hudson.maven.AbstractMavenBuild.getEnvironment(AbstractMavenBuild.java:59)
      at hudson.maven.MavenModuleSetBuild.getEnvironment(MavenModuleSetBuild.java:154)
      at hudson.maven.MavenModuleSetBuild$MavenModuleSetBuildExecution.doRun(MavenModuleSetBuild.java:568)
      at hudson.model.AbstractBuild$AbstractBuildExecution.run(AbstractBuild.java:499)
      at hudson.model.Run.execute(Run.java:1488)
      at hudson.maven.MavenModuleSetBuild.run(MavenModuleSetBuild.java:477)
      at hudson.model.ResourceController.execute(ResourceController.java:88)
      at hudson.model.Executor.run(Executor.java:236)
      Caused by: java.lang.IllegalArgumentException: artifactoryServer cannot be null
      at org.jfrog.hudson.util.PublisherContext$Builder.build(PublisherContext.java:158)
      at org.jfrog.hudson.maven3.extractor.MavenExtractorEnvironment.createPublisherContext(MavenExtractorEnvironment.java:188)
      at org.jfrog.hudson.maven3.extractor.MavenExtractorEnvironment.buildEnvVars(MavenExtractorEnvironment.java:136)
      ... 9 more
      project=hudson.maven.MavenModuleSet@6452222[testngfirst]
      project.getModules()=[hudson.maven.MavenModule@4e4326db[testngfirst/DoTest:com.startpractice][testngfirst/DoTest:com.startpractice][relativePath:]]
      project.getRootModule()=hudson.maven.MavenModule@4e4326db[testngfirst/DoTest:com.startpractice][testngfirst/DoTest:com.startpractice][relativePath:]
      FATAL: java.lang.IllegalArgumentException: artifactoryServer cannot be null
      java.lang.RuntimeException: java.lang.IllegalArgumentException: artifactoryServer cannot be null
      at org.jfrog.hudson.maven3.extractor.MavenExtractorEnvironment.buildEnvVars(MavenExtractorEnvironment.java:151)
      at hudson.model.AbstractBuild.getEnvironment(AbstractBuild.java:864)
      at hudson.maven.AbstractMavenBuild.getEnvironment(AbstractMavenBuild.java:59)
      at hudson.maven.MavenModuleSetBuild.getEnvironment(MavenModuleSetBuild.java:154)
      at hudson.maven.MavenModuleSetBuild$MavenModuleSetBuildExecution.doRun(MavenModuleSetBuild.java:568)
      at hudson.model.AbstractBuild$AbstractBuildExecution.run(AbstractBuild.java:499)
      at hudson.model.Run.execute(Run.java:1488)
      at hudson.maven.MavenModuleSetBuild.run(MavenModuleSetBuild.java:477)
      at hudson.model.ResourceController.execute(ResourceController.java:88)
      at hudson.model.Executor.run(Executor.java:236)
      Caused by: java.lang.IllegalArgumentException: artifactoryServer cannot be null
      at org.jfrog.hudson.util.PublisherContext$Builder.build(PublisherContext.java:158)
      at org.jfrog.hudson.maven3.extractor.MavenExtractorEnvironment.createPublisherContext(MavenExtractorEnvironment.java:188)
      at org.jfrog.hudson.maven3.extractor.MavenExtractorEnvironment.buildEnvVars(MavenExtractorEnvironment.java:136)
      ... 9 more

      Follow the tutorial on youtube: Empower Jenkins with Artifactory I did this to deploy the job over to my xp slave
      ======>

      JNLP agent connected from /192.168.1.67
      <===[JENKINS REMOTING CAPACITY]===>@@^@Slave.jar version: 2.16
      This is a Windows slave
      Copied maven-agent.jar
      Copied maven3-agent.jar
      Copied maven3-interceptor.jar
      Copied maven-interceptor.jar
      Copied maven2.1-interceptor.jar
      Copied plexus-classworld.jar
      Copied classworlds.jar
      Slave successfully connected and online

        Attachments

          Activity

          braghome manav brar created issue -
          mc1arke Michael Clarke made changes -
          Field Original Value New Value
          Component/s cvs [ 15486 ]
          Hide
          sogabe sogabe added a comment -

          nothing to do with cobertura plugin.

          Show
          sogabe sogabe added a comment - nothing to do with cobertura plugin.
          sogabe sogabe made changes -
          Component/s cobertura [ 15500 ]
          Hide
          kohsuke Kohsuke Kawaguchi added a comment -

          The error is coming from the Artifactory plugin.

          Show
          kohsuke Kohsuke Kawaguchi added a comment - The error is coming from the Artifactory plugin.
          kohsuke Kohsuke Kawaguchi made changes -
          Component/s subversion [ 15485 ]
          Component/s ant [ 15488 ]
          Component/s gcal [ 15542 ]
          Component/s ssh-slaves [ 15578 ]
          Component/s greenballs [ 15603 ]
          Component/s copy-to-slave [ 15691 ]
          Component/s role-strategy [ 15758 ]
          Component/s javadoc [ 15992 ]
          Component/s translation [ 16085 ]
          Component/s covcomplplot [ 16099 ]
          danielbeck Daniel Beck made changes -
          Assignee yossis [ yossis ] Eyal Ben Moshe [ eyalbe ]
          rtyler R. Tyler Croy made changes -
          Workflow JNJira [ 144900 ] JNJira + In-Review [ 176220 ]

            People

            • Assignee:
              eyalbe Eyal Ben Moshe
              Reporter:
              braghome manav brar
            • Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated: