Skip to content

Commit

Permalink
Change pipeline to use included maven wrapper
Browse files Browse the repository at this point in the history
  • Loading branch information
MormonJesus69420 committed May 24, 2024
1 parent 2ae106d commit aeb8c6f
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions .github/workflows/deploy-project.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,7 @@ jobs:

- name: Import Secrets
uses: hashicorp/vault-action@v3
id: sec
with:
url: ${{ secrets.VAULT_URL }}
method: ldap
Expand All @@ -58,11 +59,13 @@ jobs:

- name: Test the Project
run: |
echo ${{ env.HTTP_PROXY_PORT }}
echo ${{ steps.sec.outputs.HTTP_PROXY_PORT }}
sed -i "s/HTTP_PROXY_HOST/${{ env.HTTP_PROXY_HOST }}/g" .m2/settings.xml
sed -i "s/HTTP_PROXY_PORT/${{ env.HTTP_PROXY_PORT }}/g" .m2/settings.xml
sed -i "s/HTTP_PROXY_PORT/${{ steps.sec.outputs.HTTP_PROXY_PORT }}/g" .m2/settings.xml
sed -i "s/HTTPS_PROXY_HOST/${{ env.HTTPS_PROXY_HOST }}/g" .m2/settings.xml
sed -i "s/HTTPS_PROXY_PORT/${{ env.HTTPS_PROXY_PORT }}/g" .m2/settings.xml
mvn ${{ env.MAVEN_CONFIG }} verify --fail-at-end
./mvnw ${{ env.MAVEN_CONFIG }} verify --fail-at-end
- name: Publish Test Report
uses: scacap/action-surefire-report@v1
Expand Down

0 comments on commit aeb8c6f

Please sign in to comment.