kotlin upgrade 5
This commit is contained in:
parent
c233d71119
commit
1879150e72
32
fbla_ui/Jenkinsfile
vendored
32
fbla_ui/Jenkinsfile
vendored
@ -3,7 +3,7 @@ pipeline {
|
||||
stages {
|
||||
stage('Flutter Cleanup') {
|
||||
steps {
|
||||
sh '''flutter upgrade --force
|
||||
sh '''flutter upgrade
|
||||
flutter pub upgrade
|
||||
flutter --version
|
||||
flutter doctor
|
||||
@ -40,10 +40,10 @@ flutter clean'''
|
||||
steps {
|
||||
script {
|
||||
def remote = [
|
||||
name: 'HostServer',
|
||||
host: '192.168.0.216',
|
||||
user: 'fbla',
|
||||
password: 'fbla',
|
||||
name : 'HostServer',
|
||||
host : '192.168.0.216',
|
||||
user : 'fbla',
|
||||
password : 'fbla',
|
||||
allowAnyHosts: true,
|
||||
]
|
||||
sshRemove(path: '/home/fbla/fbla-webserver/webfiles/fbla', remote: remote)
|
||||
@ -58,13 +58,13 @@ flutter clean'''
|
||||
steps {
|
||||
script {
|
||||
def remote = [
|
||||
name: 'HostServer',
|
||||
host: '192.168.0.216',
|
||||
user: 'fbla',
|
||||
password: 'fbla',
|
||||
name : 'HostServer',
|
||||
host : '192.168.0.216',
|
||||
user : 'fbla',
|
||||
password : 'fbla',
|
||||
allowAnyHosts: true,
|
||||
]
|
||||
if(env.BRANCH_NAME == 'main') {
|
||||
if (env.BRANCH_NAME == 'main') {
|
||||
sshRemove(path: '/home/fbla/builds/main/linux', remote: remote)
|
||||
sshCommand remote: remote, command: "mkdir /home/fbla/builds/main/linux"
|
||||
sshPut(from: 'build/linux/x64/release', into: '/home/fbla/builds/main/linux', remote: remote)
|
||||
@ -105,12 +105,12 @@ flutter clean'''
|
||||
steps {
|
||||
script {
|
||||
def remote = [
|
||||
name: 'MarinoDev',
|
||||
host: 'marinodev.com',
|
||||
port: 21098,
|
||||
user: 'mariehdi',
|
||||
identityFile: '/var/jenkins_home/marinoDevPrivateKey',
|
||||
passphrase: 'marinodev',
|
||||
name : 'MarinoDev',
|
||||
host : 'marinodev.com',
|
||||
port : 21098,
|
||||
user : 'mariehdi',
|
||||
identityFile : '/var/jenkins_home/marinoDevPrivateKey',
|
||||
passphrase : 'marinodev',
|
||||
allowAnyHosts: true,
|
||||
]
|
||||
sshRemove(path: '/home/mariehdi/public_html/fbla', remote: remote)
|
||||
|
||||
@ -24,7 +24,7 @@ if (flutterVersionName == null) {
|
||||
|
||||
android {
|
||||
namespace "com.marinodev.fbla_ui"
|
||||
compileSdkVersion 34
|
||||
compileSdkVersion flutter.compileSdkVersion
|
||||
ndkVersion "25.1.8937393"
|
||||
// ndkVersion flutter.ndkVersion
|
||||
|
||||
@ -47,7 +47,7 @@ android {
|
||||
// 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.
|
||||
minSdkVersion flutter.minSdkVersion
|
||||
targetSdkVersion 34
|
||||
targetSdkVersion flutter.targetSdkVersion
|
||||
versionCode flutterVersionCode.toInteger()
|
||||
versionName flutterVersionName
|
||||
}
|
||||
|
||||
Loading…
Reference in New Issue
Block a user