Skip to content

Commit d5a75bb

Browse files
committed
Move schema output to a running stack step
1 parent 512f510 commit d5a75bb

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

Jenkinsfile

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -114,6 +114,8 @@ pipeline {
114114
steps {
115115
sh 'rm -rf ./test/results/junit/*'
116116
sh './scripts/ci/fulltest-cypress'
117+
// Adding this here as the schema needs to come from a running stack, but this will be used by docs later
118+
sh 'docker-compose exec -T fullstack curl -s --output /temp-docs/api-schema.json "http://fullstack:81/api/schema"'
117119
}
118120
post {
119121
always {
@@ -198,7 +200,6 @@ pipeline {
198200
}
199201

200202
// API Docs:
201-
sh 'docker-compose exec -T fullstack curl -s --output /temp-docs/api-schema.json "http://fullstack:81/api/schema"'
202203
sh 'mkdir -p "docs/.vuepress/dist/api"'
203204
sh 'mv docs/api-schema.json docs/.vuepress/dist/api/'
204205

0 commit comments

Comments
 (0)