Revision checkout trough jenkis is failed. IllegalStateException in Artifactory's buildEnvVars

XMLWordPrintable

    • Type: Bug
    • Resolution: Unresolved
    • Priority: Major
    • Component/s: artifactory-plugin
    • None

      When i try to checkout revision from local machine, it's working but from jenkins o have below console output:
      > git rev-list 2e06ca14d3e6ba0bc90d5b9e8fa6a24bf32a906d # timeout=10
      ERROR: Processing failed due to a bug in the code. Please report this to jenkinsci-users@googlegroups.com
      java.lang.RuntimeException: java.lang.IllegalStateException: Input for resolve repositories cannot be empty.
      at org.jfrog.hudson.maven3.extractor.MavenExtractorEnvironment.buildEnvVars(MavenExtractorEnvironment.java:136)
      at hudson.model.AbstractBuild.getEnvironment(AbstractBuild.java:926)
      at hudson.maven.AbstractMavenBuild.getEnvironment(AbstractMavenBuild.java:56)
      at hudson.maven.MavenModuleSetBuild.getEnvironment(MavenModuleSetBuild.java:166)
      at hudson.maven.MavenModuleSetBuild$MavenModuleSetBuildExecution.doRun(MavenModuleSetBuild.java:628)
      at hudson.model.AbstractBuild$AbstractBuildExecution.run(AbstractBuild.java:536)
      at hudson.model.Run.execute(Run.java:1741)
      at hudson.maven.MavenModuleSetBuild.run(MavenModuleSetBuild.java:537)
      at hudson.model.ResourceController.execute(ResourceController.java:98)
      at hudson.model.Executor.run(Executor.java:374)
      Caused by: java.lang.IllegalStateException: Input for resolve repositories cannot be empty.
      at org.jfrog.hudson.util.ExtractorUtils.replaceRepositoryInputForValues(ExtractorUtils.java:204)
      at org.jfrog.hudson.util.ExtractorUtils.setResolverInfo(ExtractorUtils.java:187)
      at org.jfrog.hudson.util.ExtractorUtils.addBuilderInfoArguments(ExtractorUtils.java:150)
      at org.jfrog.hudson.maven3.extractor.MavenExtractorEnvironment.buildEnvVars(MavenExtractorEnvironment.java:132)
      ... 9 more

      This is job which work's proper, where was no configuration changes or updates on jenkins or stash to which jenkins is trying to connect.

            Assignee:
            Eyal Ben Moshe
            Reporter:
            Marcin Cimaszewski
            Votes:
            1 Vote for this issue
            Watchers:
            5 Start watching this issue

              Created:
              Updated: