Your browser was unable to load all of the resources. They may have been blocked by your firewall, proxy or browser configuration.
Press Ctrl+F5 or Ctrl+Shift+R to have your browser try again.

QB confuses tag with file name #4042

waldemar ·

We're seeing a weird case where QB fails to run a build because it cannot distinguish a tag from a file name. The error looks like this:

2019-02-08 17:25:35,465 [pool-1-thread-2832] ERROR com.pmease.quickbuild.DefaultBuildEngine - Error processing build request.
    java.lang.RuntimeException: Error executing check condition job.
        at com.pmease.quickbuild.CheckConditionTask.reduce(CheckConditionTask.java:39)
[...]
    Caused by: com.pmease.quickbuild.QuickbuildException: Failed to run command: git log -1 --pretty=format:%H sr10-1.0.2 
    Command return code: 128
    Command error output: fatal: ambiguous argument 'sr10-1.0.2': both revision and filename
    Use '--' to separate paths from revisions, like this:
    'git <command> [<revision>...] -- [<file>...]'

I am not sure what we can do about it. What would be the best way to work around this?

  • replies 2
  • views 20
  • stars 0
robinshen ADMIN ·
waldemar ·

Thank you so much!