Enabling Android building and testing

This commit is contained in:
Kenneth Geisshirt 2017-08-23 15:05:24 +02:00
parent ad51b50a5c
commit 939f6b0490
2 changed files with 4 additions and 3 deletions

View File

@ -55,6 +55,7 @@ ENV PATH ${PATH}:${ANDROID_HOME}/tools:${ANDROID_HOME}/platform-tools
RUN echo y | android update sdk --no-ui --all --filter tools > /dev/null && \ RUN echo y | android update sdk --no-ui --all --filter tools > /dev/null && \
echo y | android update sdk --no-ui --all --filter platform-tools | grep 'package installed' && \ echo y | android update sdk --no-ui --all --filter platform-tools | grep 'package installed' && \
echo y | android update sdk --no-ui --all --filter build-tools-23.0.1 | grep 'package installed' && \ echo y | android update sdk --no-ui --all --filter build-tools-23.0.1 | grep 'package installed' && \
echo y | android update sdk --no-ui --all --filter build-tools-25.0.2 | grep 'package installed' && \
echo y | android update sdk --no-ui --all --filter extra-android-m2repository | grep 'package installed' && \ echo y | android update sdk --no-ui --all --filter extra-android-m2repository | grep 'package installed' && \
echo y | android update sdk --no-ui --all --filter android-23 | grep 'package installed' echo y | android update sdk --no-ui --all --filter android-23 | grep 'package installed'

6
Jenkinsfile vendored Normal file → Executable file
View File

@ -72,9 +72,9 @@ stage('build') {
macos_react_tests_release: doReactBuild('react-tests Release'), macos_react_tests_release: doReactBuild('react-tests Release'),
macos_react_example_debug: doMacBuild('react-example Debug'), macos_react_example_debug: doMacBuild('react-example Debug'),
macos_react_example_release: doMacBuild('react-example Release'), macos_react_example_release: doMacBuild('react-example Release'),
//android_react_tests: doAndroidBuild('react-tests-android', { android_react_tests: doAndroidBuild('react-tests-android', {
// junit 'tests/react-test-app/tests.xml' junit 'tests/react-test-app/tests.xml'
//}), }),
windows_node: doWindowsBuild() windows_node: doWindowsBuild()
) )
} }