mirror of
https://github.com/overleaf/overleaf.git
synced 2024-11-07 20:31:06 -05:00
try withCredentials
This commit is contained in:
parent
37ef1ba816
commit
352a8d3f19
1 changed files with 4 additions and 1 deletions
5
services/docstore/Jenkinsfile
vendored
5
services/docstore/Jenkinsfile
vendored
|
@ -25,10 +25,13 @@ pipeline {
|
|||
|
||||
stage('Acceptance Tests') {
|
||||
steps {
|
||||
sh 'DOCKER_COMPOSE_FLAGS="-f docker-compose.ci.yml" make test_acceptance'
|
||||
withCredentials([usernamePassword(credentialsId: 'S3_DOCSTORE_TEST_AWS_KEYS', passwordVariable: 'AWS_SECRET', usernameVariable: 'AWS_ID')]) {
|
||||
sh 'DOCKER_COMPOSE_FLAGS="-f docker-compose.ci.yml" AWS_BUCKET="sl-doc-archive-testing" AWS_ACCESS_KEY_ID=$AWS_ID AWS_SECRET_ACCESS_KEY=$AWS_SECRET make test_acceptance'
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
stage('Package and publish build') {
|
||||
steps {
|
||||
sh 'make publish'
|
||||
|
|
Loading…
Reference in a new issue