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

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

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Major Major
    • 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.

          [JENKINS-29746] Revision checkout trough jenkis is failed. IllegalStateException in Artifactory's buildEnvVars

          Marcin Cimaszewski created issue -

          Oleg Nenashev added a comment -

          Seems to be an issue in the Artifactory plugin

          Oleg Nenashev added a comment - Seems to be an issue in the Artifactory plugin
          Oleg Nenashev made changes -
          Component/s New: artifactory-plugin [ 15689 ]
          Component/s Original: _test [ 19622 ]
          Oleg Nenashev made changes -
          Assignee Original: Oleg Nenashev [ oleg_nenashev ] New: yossis [ yossis ]

          Oleg Nenashev added a comment -

          Reassigned ti the plugin owners

          Oleg Nenashev added a comment - Reassigned ti the plugin owners
          Oleg Nenashev made changes -
          Summary Original: Revision checkout trough jenkis is failed New: Revision checkout trough jenkis is failed. IllegalStateException in Artifactory's buildEnvVars

          I have installed 2.3.1 version of this plugin

          Marcin Cimaszewski added a comment - I have installed 2.3.1 version of this plugin
          Daniel Beck made changes -
          Assignee Original: yossis [ yossis ] New: Eyal Ben Moshe [ eyalbe ]
          R. Tyler Croy made changes -
          Workflow Original: JNJira [ 164821 ] New: JNJira + In-Review [ 181701 ]

          Mark Waite added a comment -

          We're seeing this same message on some jobs on a machine which we recently updated from git plugin 2.2.1 to git plugin 2.5.3, git client plugin 1.8.0 to git client plugin 1.19.7, and artifactory 2.2.1 to 2.6.0. Were there any further insights detected on the problem, or how to resolve it.

          Mark Waite added a comment - We're seeing this same message on some jobs on a machine which we recently updated from git plugin 2.2.1 to git plugin 2.5.3, git client plugin 1.8.0 to git client plugin 1.19.7, and artifactory 2.2.1 to 2.6.0. Were there any further insights detected on the problem, or how to resolve it.

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

              Created:
              Updated: