服务器关闭通知:服务器将于近日关闭并不再会打开,请将重要数据及时保存在本地

Commit 97fa64fa authored by CPUmaker's avatar CPUmaker
Browse files

new pipeline for deploy

parent 2e56249e
Pipeline #3084 passed with stages
in 1 minute and 57 seconds
......@@ -3,6 +3,7 @@ image: local-registry.inner.buaaoo.top/image-dev/java:13
stages:
- build
- test
- deploy
before_script:
- java -version
......@@ -22,4 +23,13 @@ mvn_test:
script:
- echo "Run JUnit4"
- mvn test
- mvn clean test && cat target/jacoco-ut/index.html
\ No newline at end of file
- mvn clean test && cat target/jacoco-ut/index.html
mvn_deploy:
stage: deploy
dependencies:
- mvn_build
script:
- echo "Run an example"
- cd target/classes/
- echo '2*x' > testfile.txt && java org.example.App < testfile.txt
\ No newline at end of file
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment