34 lines
661 B
YAML
Executable File
34 lines
661 B
YAML
Executable File
#
|
|
# 2023.07.23 Oliver:
|
|
# This file does not need to be modified.
|
|
# To increase the platform, please ask the administrator to increase the server script.
|
|
#
|
|
|
|
stages:
|
|
- auto
|
|
|
|
build-job:
|
|
stage: auto
|
|
tags:
|
|
- ${CI_PROJECT_NAME}
|
|
script:
|
|
- date
|
|
- ifconfig
|
|
- cat ~/${CI_PROJECT_NAME}/build.sh
|
|
- sleep 10
|
|
- echo ~/${CI_PROJECT_NAME}/build.sh
|
|
- sleep 10
|
|
|
|
|
|
analyze-job:
|
|
stage: auto
|
|
tags:
|
|
- ${CI_PROJECT_NAME}
|
|
variables:
|
|
GIT_STRATEGY: none
|
|
GIT_CHECKOUT: "false"
|
|
script:
|
|
- ~/${CI_PROJECT_NAME}/analyze.sh $CI_PROJECT_NAME $CI_COMMIT_BRANCH
|
|
needs: ["build-job"]
|
|
when: on_success
|