Skip to content
This repository has been archived by the owner on Apr 7, 2020. It is now read-only.

Make android app compile on jenkins build server #425

Closed
wants to merge 12 commits into from
Closed

Conversation

maxammann
Copy link
Member

No description provided.

@@ -24,6 +24,5 @@
</style>

<style name="SplashTheme.Base" parent="Theme.AppCompat.Light.NoActionBar">
<item name="android:windowBackground">@drawable/splash_screen</item>
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Splash screen is not compatible for some reason: bamlab/generator-rn-toolbox#144

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

maybe we can add this directly in code 🤔

stage('Build') {
steps {
sh 'mkdir packages && cd packages && nuget install ../Integreat/Integreat.Droid/packages.config'
sh 'msbuild Integreat.sln /p:AndroidSdkDirectory="/opt/android-sdk/" || true'
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

First execution fails with SIGSEV

Jenkinsfile Outdated
steps {
sh 'mkdir packages && cd packages && nuget install ../Integreat/Integreat.Droid/packages.config'
sh 'msbuild Integreat.sln /p:AndroidSdkDirectory="/opt/android-sdk/" || true'
sh 'msbuild Integreat/Integreat.Droid/Integreat.Droid.csproj /p:AndroidSdkDirectory="/opt/android-sdk/" /target:SignAndroidPackage'
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

SignAndroidPackage target is not available in Localisation project so we only build the Droid project.

Copy link
Contributor

@thimmy687 thimmy687 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

we have to find a way to fix this splash screen issue at first I guess

@maxammann
Copy link
Member Author

@thimmy687
Copy link
Contributor

@maxammann can we add the Jenkins here next to appveyor?

So we can see what is wrong and maybe fix it

@maxammann
Copy link
Member Author

@thimmy687 its already there: https://build.integreat-app.de/job/app-cross_platform/
It compiles branches with a Jenkinsfile

You can also login with our integreat account

 * change to nuget restore
 * change to release build
@maxammann
Copy link
Member Author

This can be abandoned. I think I already removed mono from the build server.

@maxammann maxammann closed this Jan 19, 2019
@thimmy687 thimmy687 deleted the CompileLinux branch January 21, 2019 17:46
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants