diff --git a/fe-ionic/Jenkinsfile b/fe-ionic/Jenkinsfile index ecb16dcad..afe9bfc1d 100644 --- a/fe-ionic/Jenkinsfile +++ b/fe-ionic/Jenkinsfile @@ -28,7 +28,6 @@ odsQuickstarterPipeline( stage("init ionic project") { sh "sh ${context.sourceDir}/init.sh --project ${context.projectId} --component ${context.componentId} --group ${context.group}" - cp "cp ${context.sourceDir}/.browserslistrc ${context.sourceDir}/${context.componentId}/.browserslistrc" } odsQuickstarterStageCreateOpenShiftResources( diff --git a/fe-ionic/init.sh b/fe-ionic/init.sh index f4f1cd8f1..36edf7484 100755 --- a/fe-ionic/init.sh +++ b/fe-ionic/init.sh @@ -32,6 +32,9 @@ cd ../$COMPONENT # remove empty temp-dir rm -r ../start_$COMPONENT +echo "Copy browsers list " +cp ../fe-ionic/.browserslistrc .browserslistrc + echo "Change test setup to single run in karma.conf.js" sed -i "s|\s*singleRun: false|singleRun: true|" ./karma.conf.js