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

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Major Major
    • artifactory-plugin

      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

        1. jenkinsslaveWindowsSettings.txt
          0.6 kB
          manav brar
        2. Settings.xml
          1 kB
          manav brar

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

              Created:
              Updated: