All the shell content in gitlab-ci,scripts has been executed, but the status has always been running,. Why?

The

.gitlab-ci.yml file is as follows:

stages:

  • build
  • deploy_test

-sharp compile
build:
stage: build
only:

- master

script:

- mvn clean
- mvn install

-sharp deployment test server
deploy_test:
stage: deploy_test
only:

- master

script:

- sh /app/application/hello/shutdown-server.sh
- cp /app/maven_repository/com/xyg/test/hello/0.0.1-SNAPSHOT/hello.jar /app/application/hello/hello.jar
- cd /app/application/hello/
- sh start-server.sh
- echo "Finish"

the content of echo is typed, and the service starts normally, but the task of job is always running,. Why? Everybody, please take a look at ~

.
Mar.23,2021

has the problem been solved?
I also encountered this problem. Delete the policy configuration and finish it immediately

running version

  

have you come to a conclusion? Encounter the same problem

Menu