Skip to content

Commit

Permalink
fixes ionic init and jenkinsfile (#760)
Browse files Browse the repository at this point in the history
  • Loading branch information
stitakis committed Mar 8, 2022
1 parent 390293d commit 7c9589a
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
1 change: 0 additions & 1 deletion fe-ionic/Jenkinsfile
Original file line number Diff line number Diff line change
Expand Up @@ -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(
Expand Down
3 changes: 3 additions & 0 deletions fe-ionic/init.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down

0 comments on commit 7c9589a

Please sign in to comment.