mirror of
https://github.com/xiaoxinpro/nginx-proxy-manager-zh.git
synced 2025-01-23 05:18:12 -05:00
Move schema output to a running stack step
This commit is contained in:
parent
512f5109d4
commit
d5a75bb708
3
Jenkinsfile
vendored
3
Jenkinsfile
vendored
@ -114,6 +114,8 @@ pipeline {
|
|||||||
steps {
|
steps {
|
||||||
sh 'rm -rf ./test/results/junit/*'
|
sh 'rm -rf ./test/results/junit/*'
|
||||||
sh './scripts/ci/fulltest-cypress'
|
sh './scripts/ci/fulltest-cypress'
|
||||||
|
// Adding this here as the schema needs to come from a running stack, but this will be used by docs later
|
||||||
|
sh 'docker-compose exec -T fullstack curl -s --output /temp-docs/api-schema.json "http://fullstack:81/api/schema"'
|
||||||
}
|
}
|
||||||
post {
|
post {
|
||||||
always {
|
always {
|
||||||
@ -198,7 +200,6 @@ pipeline {
|
|||||||
}
|
}
|
||||||
|
|
||||||
// API Docs:
|
// API Docs:
|
||||||
sh 'docker-compose exec -T fullstack curl -s --output /temp-docs/api-schema.json "http://fullstack:81/api/schema"'
|
|
||||||
sh 'mkdir -p "docs/.vuepress/dist/api"'
|
sh 'mkdir -p "docs/.vuepress/dist/api"'
|
||||||
sh 'mv docs/api-schema.json docs/.vuepress/dist/api/'
|
sh 'mv docs/api-schema.json docs/.vuepress/dist/api/'
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user