Henry Oswald 8 лет назад
Родитель
Сommit
352a8d3f19
1 измененных файлов с 4 добавлено и 1 удалено
  1. 4 1
      services/docstore/Jenkinsfile

+ 4 - 1
services/docstore/Jenkinsfile

@@ -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'