Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Thomas Beermann
Cerebrum
Commits
b42fd5ec
Commit
b42fd5ec
authored
Nov 10, 2020
by
femiadeyemi
Browse files
rollback commit #
5b989230
parent
4392c544
Changes
2
Hide whitespace changes
Inline
Side-by-side
.gitlab-ci.yml
View file @
b42fd5ec
stages
:
stages
:
-
build
-
build
-
test
-skip
-
test
-
package
-
package
-
deploy
-
deploy
...
...
.gitlab/ci/ci.yml
View file @
b42fd5ec
...
@@ -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
:
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment