Gitlab-runner fails during artifact upload
Summary
After upgrading to latest versions of gitlab-ee & gitlab-runner, upload artifact step fails.
Steps to reproduce
Gitlab-EE 11.4.5-ee (bf6db46)
Gitlab-runner version: 11.4.2
Run a job with artifacts: untracked (Worked before the update)
Actual behavior
Pipeline job crashes
Expected behavior
Pipeline job uploads artifacts
Relevant logs and/or screenshots
Uploading artifacts...
Incorrect Usage: flag provided but not defined: -artifact-format
NAME:
gitlab-runner artifacts-uploader - create and upload build artifacts (internal)
USAGE:
gitlab-runner artifacts-uploader [command options] [arguments...]
OPTIONS:
--id value The build ID to upload artifacts for (default: "171386") [$CI_JOB_ID]
--token value Build token (default: "xxxxxxxxxxxxxxxxxxxx") [$CI_JOB_TOKEN]
--url value GitLab CI URL (default: "https://tbs01.ast.lmco.com:1337/") [$CI_SERVER_URL]
--tls-ca-file value File containing the certificates to verify the peer when using HTTPS (default: "/data/a2100tr_fsw/users/svljenki/b4b7936e/0/tbs/tbs.tmp/CI_SERVER_TLS_CA_FILE") [$CI_SERVER_TLS_CA_FILE]
--tls-cert-file value File containing certificate for TLS client auth with runner when using HTTPS [$CI_SERVER_TLS_CERT_FILE]
--tls-key-file value File containing private key for TLS client auth with runner when using HTTPS [$CI_SERVER_TLS_KEY_FILE]
--path value Add paths to archive
--untracked Add git untracked files
--verbose Detailed information
--retry value How many times to retry upload (default: "2")
--retry-time value How long to wait between retries (default: "1s")
--name value The name of the archive (default: "artifacts")
--expire-in value When to expire artifacts
FATAL: flag provided but not defined: -artifact-format
ERROR: Job failed: Process exited with: 1. Reason was: ()
Environment description
I am using a custom installation, only ssh runners.
Used GitLab Runner version
Version: 11.4.2
Git revision: cf91d5e1
Git branch: 11-4-stable
GO version: go1.8.7
Built: 2018-10-26T20:48:10+0000
OS/Arch: linux/amd64