Error pipeline ERROR: Job failed: exit status 1 " Cleaning up project directory and file based variables

Hello

I need your help please

Describe your question in as much detail as possible:
during execution CI/CD i had this problem

Getting source from Git repository
00:00
Fetching changes with git depth set to 20…
Reinitialized existing Git repository in /Users/ci/Library/LaunchAgents/builds/KTgivGPV/0/test/.git/
Cleaning up project directory and file based variables
00:01
ERROR: Job failed: exit status 1

before_script:

  • export JAVA_HOME=“/Applications/Android Studio.app/Contents/jre/Contents/Home”
    #- export JAVA_HOME=“/Applications/Android\ Studio.app/Contents/jre/Contents/Home”
  • export ANDROID_HOME=“$HOME/Library/Android/sdk”
  • export PATH=$ANDROID_HOME/platform-tools:$PATH
  • export PATH=$ANDROID_HOME/tools:$PATH
  • export LC_ALL=en_US.UTF-8
  • export LANG=en_US.UTF-8
  • touch local.properties

Hi @youssef.mouak

you need to provide more information. What GitLab runner do you use? What is the version? The output you have posted does not look like any I see these days.

Hello

Thank you for your reply

Version : Running with gitlab-runner 15.6.0

The output you have posted does not look like any I see these days.:

mode debug

Cleaning up project directory and file based variables
00:00

  • set -o
  • grep pipefail
  • set -o pipefail
  • set -o errexit
  • set +o noclobber
  • :
  • eval ‘$’'‘rm’'’ -f /Users/mbk-ci/test.tmp/CI_SERVER_TLS_CA_FILE

    ++ rm -f /Users/mbk-ci/Library/LaunchAgents/builds/KTgivGPV/0/test.tmp/CI_SERVER_TLS_CA_FILE
  • exit 0
    ERROR: Job failed: exit status 1

can you help me please

ERROR: Job failed: exit status 1 in most cases means any of the command you run in before_script, script or after_script returned exit code 1 = it failed