This commit is contained in:
parent
253e40e3f0
commit
7d631bb9c8
1
.gitignore
vendored
1
.gitignore
vendored
@ -28,6 +28,7 @@ mono_crash.*
|
||||
[Dd]ebugPublic/
|
||||
[Rr]elease/
|
||||
[Rr]eleases/
|
||||
output/
|
||||
x64/
|
||||
x86/
|
||||
[Ww][Ii][Nn]32/
|
||||
|
4
Jenkinsfile
vendored
4
Jenkinsfile
vendored
@ -4,6 +4,8 @@ pipeline {
|
||||
ANDROID_HOME = 'C:\\Users\\lemi4\\AppData\\Local\\Android\\sdk'
|
||||
DOTNET_ROOT = 'C:\\Program Files\\dotnet'
|
||||
PATH = "${env.PATH};${env.ANDROID_HOME}\\tools;${env.ANDROID_HOME}\\platform-tools;${env.DOTNET_ROOT}"
|
||||
ANDROID_SIGNING_PASSWORD = credentials('android-signing-password')
|
||||
KEYSTORE = 'C:\\Projekty\\Keystore.keystore'
|
||||
}
|
||||
stages {
|
||||
stage('Checkout') {
|
||||
@ -37,7 +39,7 @@ pipeline {
|
||||
stage('Publish Artifacts') {
|
||||
steps {
|
||||
script {
|
||||
pwsh 'dotnet publish WheresMyMoney.Maui\\WheresMyMoney.Maui.csproj -c Release -f net9.0-android -o output\\android'
|
||||
pwsh 'dotnet publish WheresMyMoney.Maui\\WheresMyMoney.Maui.csproj -c Release -f net9.0-android -p:AndroidKeyStore=true -p:AndroidSigningKeyStore=$env:KEYSTORE -p:AndroidSigningKeyAlias=WheresMyMoney -p:AndroidSigningKeyPass=env:ANDROID_SIGNING_PASSWORD -p:AndroidSigningStorePass=env:ANDROID_SIGNING_PASSWORD -o output\\android'
|
||||
pwsh 'dotnet publish WheresMyMoney.Maui\\WheresMyMoney.Maui.csproj -c Release -f net9.0-windows10.0.19041.0 -o output\\windows'
|
||||
}
|
||||
archiveArtifacts artifacts: 'output/**/*', allowEmptyArchive: true
|
||||
|
Loading…
x
Reference in New Issue
Block a user