billowy-crowd-24646
10/02/2023, 9:49 PM--changed
flag. In this case Jenkins is running from a different branch and master
is the main branch, my suspicision is that master is that master is not existing in the clone, but wanted to check if anyone has running into this issue
+ pants --filter-target-type=run_shell_command '--filter-tag-regex=^cdk_ecr$' --changed-since=origin/master --changed-dependents=transitive list
Bootstrapping Pants 2.17.0
Installing pantsbuild.pants==2.17.0 into a virtual environment at /home/ec2-user/.cache/nce/68f5608a60df9b97aab453d453817a4ded400d1d8ec7ede7ec14bcac83421a7b/bindings/venvs/2.17.0
11:53:28.82 [INFO] waiting for pantsd to start...
11:53:31.23 [INFO] pantsd started
11:53:31.45 [INFO] Initializing scheduler...
11:53:31.75 [INFO] Scheduler initialized.
11:53:31.92 [ERROR] fatal: bad revision 'origin/master...HEAD'
enough-analyst-54434
10/02/2023, 10:06 PMgit branch --list
and git rev-list origin/master...HEAD
?
For example, in a repo with a master branch but no main branch (a pyenv clone), I find - no Pants in sight:
jsirois@Gill-Windows:~/.pyenv (master) $ git rev-list origin/master...HEAD
jsirois@Gill-Windows:~/.pyenv (master) $ git rev-list origin/main...HEAD
fatal: ambiguous argument 'origin/main...HEAD': unknown revision or path not in the working tree.
Use '--' to separate paths from revisions, like this:
'git <command> [<revision>...] -- [<file>...]'
enough-analyst-54434
10/02/2023, 10:07 PMbillowy-crowd-24646
10/02/2023, 10:09 PMcurved-television-6568
10/03/2023, 3:16 AM