Parcourir la source

config filename

jamesread il y a 4 ans
Parent
commit
802b29f77a
2 fichiers modifiés avec 3 ajouts et 1 suppressions
  1. 2 0
      Jenkinsfile
  2. 1 1
      integration-tests/cypressRun.sh

+ 2 - 0
Jenkinsfile

@@ -4,6 +4,8 @@ pipeline {
     stages {
     stages {
         stage ('Pre-Build') {
         stage ('Pre-Build') {
             steps {
             steps {
+				cleanWs()
+
 				sh 'make go-tools'
 				sh 'make go-tools'
             }
             }
         }
         }

+ 1 - 1
integration-tests/cypressRun.sh

@@ -4,7 +4,7 @@ set -o xtrace
 
 
 echo "Running config $1"
 echo "Running config $1"
 
 
-cp -f ../configs/config.{$1}.yaml ./config/config.yaml
+cp -f ../configs/config.$1.yaml ./config/config.yaml
 docker start olivetin
 docker start olivetin
 NO_COLOR=1 ./node_modules/.bin/cypress run --headless -s cypress/integration/$1/*  || true
 NO_COLOR=1 ./node_modules/.bin/cypress run --headless -s cypress/integration/$1/*  || true
 docker kill olivetin
 docker kill olivetin