Commit b42fd5ec authored by femiadeyemi's avatar femiadeyemi
Browse files

rollback commit #5b989230

parent 4392c544
stages: stages:
- build - build
- test-skip - test
- package - package
- deploy - deploy
......
...@@ -12,11 +12,11 @@ test: ...@@ -12,11 +12,11 @@ test:
- master - master
- tags - tags
- merge_requests - merge_requests
stage: test-skip stage: test
image: maven:3-jdk-11 image: maven:3-jdk-11
script: script:
- 'export AAI_TOKEN=$(curl -u "helmholtz-marketplace:${CLIENT_SECRET}" -X POST "https://login.helmholtz.de/oauth2/token" -H "Content-Type: application/x-www-form-urlencoded" -d "grant_type=refresh_token&refresh_token=${AAI_REFRESH_TOKEN}&client_id=helmholtz-marketplace&client_secret=${CLIENT_SECRET}" | sed "s/{.*\"access_token\":\"\([^\"]*\).*}/\1/g")' - 'export AAI_TOKEN=$(curl -u "helmholtz-marketplace:${CLIENT_SECRET}" -X POST "https://login.helmholtz.de/oauth2/token" -H "Content-Type: application/x-www-form-urlencoded" -d "grant_type=refresh_token&refresh_token=${AAI_REFRESH_TOKEN}&client_id=helmholtz-marketplace&client_secret=${CLIENT_SECRET}" | sed "s/{.*\"access_token\":\"\([^\"]*\).*}/\1/g")'
- mvn -DskipTests -Dtoken=$AAI_TOKEN test - mvn -Dtoken=$AAI_TOKEN test
package: package:
only: only:
......
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