Closed davidvandebunte closed 3 years ago
@davidvandebunte thanks for the report. I'm going to check this behavior and should have an answer soon. If that's really a bug I'll prepare the fix asap.
@davidvandebunte as soon as #751 is integrated, the issue should be fixed.
I'm not sure if I'm totally missing something, but it seems like
lab ci artifacts
ignores thebranch
argument and always pull the artifacts from the latest job. I'm using completion to fill in the branch name.For example I have a branch
feat_a
that completes with artifacts, then push a branchfeat_b
that generates artifacts. If I run:Then
lab
downloads the artifacts forfeat_b
.Incidentally, the job name is not ignored. So the following will pull the artifacts from the specified
job_name
rather than the last job:The branch argument seems to be parsed and checked against the remote in some cases. So if
feat_a
doesn't exist on the remote: