try withCredentials
This commit is contained in:
Vendored
+4
-1
@@ -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'
|
||||
|
||||
Reference in New Issue
Block a user