Skip to content

Commit

Permalink
Fix Appveyor CI issues (OpenAPITools#9731)
Browse files Browse the repository at this point in the history
* sleep for 15 seconds after starting the server

* fix sleep

* set clone depth to 1
  • Loading branch information
wing328 authored Jun 9, 2021
1 parent d336604 commit 0e93e79
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion appveyor.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,8 +29,9 @@ install:
- cmd: java -version
- cmd: gradle -v
- cmd: dir/w
- git clone https://github.com/wing328/swagger-samples
- git clone https://github.com/wing328/swagger-samples --depth 1
- ps: Start-Process -FilePath 'C:\maven\apache-maven-3.2.5\bin\mvn' -ArgumentList 'jetty:run' -WorkingDirectory "$env:appveyor_build_folder\swagger-samples\java\java-jersey-jaxrs-ci"
- ps: Start-Sleep -s 15
- ps: $PSVersionTable.PSVersion
- ps: Install-Module -Name Pester -Force -Scope CurrentUser
build_script:
Expand Down

0 comments on commit 0e93e79

Please sign in to comment.