kotlin upgrade 5

This commit is contained in:
Drake Marino 2024-06-28 13:43:03 -05:00
parent c233d71119
commit 1879150e72
2 changed files with 114 additions and 114 deletions

32
fbla_ui/Jenkinsfile vendored
View File

@ -3,7 +3,7 @@ pipeline {
stages { stages {
stage('Flutter Cleanup') { stage('Flutter Cleanup') {
steps { steps {
sh '''flutter upgrade --force sh '''flutter upgrade
flutter pub upgrade flutter pub upgrade
flutter --version flutter --version
flutter doctor flutter doctor
@ -40,10 +40,10 @@ flutter clean'''
steps { steps {
script { script {
def remote = [ def remote = [
name: 'HostServer', name : 'HostServer',
host: '192.168.0.216', host : '192.168.0.216',
user: 'fbla', user : 'fbla',
password: 'fbla', password : 'fbla',
allowAnyHosts: true, allowAnyHosts: true,
] ]
sshRemove(path: '/home/fbla/fbla-webserver/webfiles/fbla', remote: remote) sshRemove(path: '/home/fbla/fbla-webserver/webfiles/fbla', remote: remote)
@ -58,13 +58,13 @@ flutter clean'''
steps { steps {
script { script {
def remote = [ def remote = [
name: 'HostServer', name : 'HostServer',
host: '192.168.0.216', host : '192.168.0.216',
user: 'fbla', user : 'fbla',
password: 'fbla', password : 'fbla',
allowAnyHosts: true, allowAnyHosts: true,
] ]
if(env.BRANCH_NAME == 'main') { if (env.BRANCH_NAME == 'main') {
sshRemove(path: '/home/fbla/builds/main/linux', remote: remote) sshRemove(path: '/home/fbla/builds/main/linux', remote: remote)
sshCommand remote: remote, command: "mkdir /home/fbla/builds/main/linux" sshCommand remote: remote, command: "mkdir /home/fbla/builds/main/linux"
sshPut(from: 'build/linux/x64/release', into: '/home/fbla/builds/main/linux', remote: remote) sshPut(from: 'build/linux/x64/release', into: '/home/fbla/builds/main/linux', remote: remote)
@ -105,12 +105,12 @@ flutter clean'''
steps { steps {
script { script {
def remote = [ def remote = [
name: 'MarinoDev', name : 'MarinoDev',
host: 'marinodev.com', host : 'marinodev.com',
port: 21098, port : 21098,
user: 'mariehdi', user : 'mariehdi',
identityFile: '/var/jenkins_home/marinoDevPrivateKey', identityFile : '/var/jenkins_home/marinoDevPrivateKey',
passphrase: 'marinodev', passphrase : 'marinodev',
allowAnyHosts: true, allowAnyHosts: true,
] ]
sshRemove(path: '/home/mariehdi/public_html/fbla', remote: remote) sshRemove(path: '/home/mariehdi/public_html/fbla', remote: remote)

View File

@ -24,7 +24,7 @@ if (flutterVersionName == null) {
android { android {
namespace "com.marinodev.fbla_ui" namespace "com.marinodev.fbla_ui"
compileSdkVersion 34 compileSdkVersion flutter.compileSdkVersion
ndkVersion "25.1.8937393" ndkVersion "25.1.8937393"
// ndkVersion flutter.ndkVersion // ndkVersion flutter.ndkVersion
@ -47,7 +47,7 @@ android {
// You can update the following values to match your application needs. // You can update the following values to match your application needs.
// For more information, see: https://docs.flutter.dev/deployment/android#reviewing-the-gradle-build-configuration. // For more information, see: https://docs.flutter.dev/deployment/android#reviewing-the-gradle-build-configuration.
minSdkVersion flutter.minSdkVersion minSdkVersion flutter.minSdkVersion
targetSdkVersion 34 targetSdkVersion flutter.targetSdkVersion
versionCode flutterVersionCode.toInteger() versionCode flutterVersionCode.toInteger()
versionName flutterVersionName versionName flutterVersionName
} }