fix ci file

8 个作业 来自于 master 用时 41 秒 (排队 1 秒)

没有进行代码缺陷检查。可能是由于没有名称为“code-analysis”的job,请确认job名称。
状态 运行分数 作业 ID 作业名称 覆盖率
  Make
已通过 60 #220904
ubuntu-16.04 short-job
make

00:11

 
  Code Analysis
已失败 #220905
ubuntu-16.04 short-job code-analysis allowed to fail
code-analysis

00:10

 
  Case1
已失败 #220906
ubuntu-16.04 short-job
case1

00:09

已失败 #220907
ubuntu-16.04 short-job allowed to fail manual
teacher-check1

00:09

 
  Case2
已跳过 #220908
ubuntu-16.04 short-job
case2
已跳过 #220909
ubuntu-16.04 short-job allowed to fail manual
teacher-check2
 
  Case3
已跳过 #220910
ubuntu-16.04 short-job
case3
已跳过 #220911
ubuntu-16.04 short-job allowed to fail manual
teacher-check3
 
作业 步骤 失败原因
已失败
case1 Case1
HEAD is now at b9f9bc6 fix ci file
Checking out b9f9bc67 as master...
Skipping Git submodules setup
$ make
gcc -g -w -fmax-errors=10 -std=c99 -fsigned-char -I. -D CODECODE_CI -c main.c -o main.o
gcc ./main.o -l"fl" -o app
$ ./app input1.txt > user_output1.txt
$ diff output1.txt user_output1.txt -b -B -y -i -W 100
�ڴ��ļ���д����ӡ���������� <ERROR: Job failed: exit code 1
已失败
code-analysis Code Analysis
INFO: Final Memory: 3M/59M
INFO: ------------------------------------------------------------------------
ERROR: Error during SonarQube Scanner execution
ERROR: Unable to execute SonarQube
ERROR: Caused by: Fail to get bootstrap index from server
ERROR: Caused by: Expected URL scheme 'http' or 'https' but no colon was found
ERROR:
ERROR: Re-run SonarQube Scanner using the -X switch to enable full debug logging.
ERROR: Job failed: exit code 1
已失败
teacher-check1 Case1
Skipping Git submodules setup
$ make
gcc -g -w -fmax-errors=10 -std=c99 -fsigned-char -I. -D CODECODE_CI -c main.c -o main.o
gcc ./main.o -l"fl" -o app
$ ./app input1.txt > /dev/null
$ git clone ${CODECODE_PROTOCOL}gitlab-ci-token:${CI_JOB_TOKEN}@${CODECODE_DOMAIN}/${CI_PROJECT_FORKSOURCE} template
Cloning into 'template'...
fatal: https://gitlab-ci-token:xxxxxxxxxxxxxxxxxxxx@www.codecode.net/info/refs not valid: is this a git repository?
ERROR: Job failed: exit code 1