Running with gitlab-runner 11.2.0 (35e8515d)
on staging environment 7a0a89a9
Using Shell executor...
section_start:1547018442:prepare_script
Running on izhp3ejlgviyo4z...
section_end:1547018443:prepare_script
section_start:1547018443:get_sources
Fetching changes...
HEAD is now at 9a3e990 Merge branch 'development' into 'rel/major'
From http://gitlab.geekbuy.cn:8081/liermao/microservice-autodevopspipelines
77c4fc8..3b799eb development -> origin/development
9a3e990..b1f9e39 rel/major -> origin/rel/major
Checking out b1f9e39a as rel/major...
Skipping Git submodules setup
section_end:1547018443:get_sources
section_start:1547018443:restore_cache
section_end:1547018443:restore_cache
section_start:1547018443:download_artifacts
section_end:1547018444:download_artifacts
section_start:1547018444:build_script
$ export RegistryHost='registry.geekbuying.com:8100'
$ export Environment='Staging'
$ export K8sApiServer='https://172.24.83.222:6443'
$ bash ./devops/PipeLines/Creation/001_CI.sh
./devops/PipeLines/Functions.core.sh: line 15: syntax error near unexpected token `}'
section_end:1547018444:build_script
section_start:1547018444:after_script
section_end:1547018444:after_script
section_start:1547018444:upload_artifacts_on_failure
section_end:1547018444:upload_artifacts_on_failure
ERROR: Job failed: exit status 1