This commit is contained in:
Drake Marino 2024-06-06 20:05:34 -05:00
parent 9ac5b280d0
commit 8efffef7c9

8
Jenkinsfile vendored
View File

@ -3,7 +3,9 @@ pipeline {
stages { stages {
stage('Flutter Cleanup/Update') { stage('Flutter Cleanup/Update') {
steps { steps {
sh '''cd fbla_ui sh '''printenv ${env.JOBLINK_LOCAL_USER}
printenv $JOBLINK_LOCAL_USER
cd fbla_ui
flutter upgrade --force flutter upgrade --force
flutter pub upgrade flutter pub upgrade
flutter --version flutter --version
@ -48,7 +50,7 @@ pipeline {
steps { steps {
sh '''cd fbla_ui sh '''cd fbla_ui
dart pub get dart pub get
dart run ./test/fbla_api_test.dart''' dart run ./fbla-api/test/fbla_api_test.dart'''
} }
} }
stage('Deploy Local Web UI') { stage('Deploy Local Web UI') {
@ -73,7 +75,7 @@ pipeline {
def remote = [ def remote = [
name : 'HostServer', name : 'HostServer',
host : '192.168.0.216', host : '192.168.0.216',
user : '${env.JOBLINK_LOCAL_USER}', user : '${JOBLINK_LOCAL_USER}',
password : '${env.JOBLINK_LOCAL_PASSWD}', password : '${env.JOBLINK_LOCAL_PASSWD}',
allowAnyHosts: true, allowAnyHosts: true,
] ]