gitlab-ci-local: Unknown argument: oudCredentials

Minimal .gitlab-ci.yml illustrating the issue

---
job:
  script:
    - echo "Heya"

Expected behavior Paste a public job url.

Host information Ubuntu gitlab-ci-local 4.28.2

Additional context run gitlab-ci-local --list return Unknown argument: oudCredentials. or any command

About this issue

  • Original URL
  • State: closed
  • Created 2 years ago
  • Comments: 17 (10 by maintainers)

Most upvoted comments

@fabiocruzcoelho Yups… Exactly, something on your system is appending --oudCredentials to gitlab-ci-local or perhaps all commands.

You must have something on your local machine thats appends --oudCredentials to all commands or just the gitlab-ci-local command

You need nodejs 16+

I did all the reinstallation, I changed the versions according to your guidance but still the error persists.

gitlab-ci-local --list
Unknown argument: oudCredentials

even doing the installation of other versions and via npm

@fabiocruzcoelho

sudo apt-get install gitlab-ci-local=4.28.1
gitlab-ci-local --version
gitlab-ci-local --list

Try downgrading to 4.28.1 and see if the problem is there.

I’m pretty confident that something in your .bashrc or .profile is appending --oudCredentials to all commands you run or something like that.

cd ~
find . -type f -exec cat {} \; | grep oudCre

This find/cat/grep command can probably help you, if you give it enough time.