forked from firka/student-legacy
todo, and fix cd path
This commit is contained in:
parent
14ab0c4ce3
commit
16f2593d22
5
Jenkinsfile
vendored
5
Jenkinsfile
vendored
@ -6,6 +6,7 @@ pipeline {
|
|||||||
ANDROID_PATH="$ANDROID_SDK/tools:$ANDROID_SDK/platform-tools"
|
ANDROID_PATH="$ANDROID_SDK/tools:$ANDROID_SDK/platform-tools"
|
||||||
FLUTTER = '/home/jenkins/flutter_things/flutter/bin'
|
FLUTTER = '/home/jenkins/flutter_things/flutter/bin'
|
||||||
PATH = "$PATH:$ANDROID_PATH:$FLUTTER"
|
PATH = "$PATH:$ANDROID_PATH:$FLUTTER"
|
||||||
|
//TODO: need to fix flutter
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
@ -27,14 +28,14 @@ pipeline {
|
|||||||
stage('Dependencies') {
|
stage('Dependencies') {
|
||||||
steps {
|
steps {
|
||||||
// Get Flutter dependencies
|
// Get Flutter dependencies
|
||||||
sh 'flutter pub get'
|
sh 'cd refilc && flutter pub get'
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
stage('Build') {
|
stage('Build') {
|
||||||
steps {
|
steps {
|
||||||
// Build the Flutter project
|
// Build the Flutter project
|
||||||
sh 'flutter build apk --release'
|
sh 'cd refilc && flutter build apk --release'
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user