test
This commit is contained in:
parent
9ac5b280d0
commit
8efffef7c9
8
Jenkinsfile
vendored
8
Jenkinsfile
vendored
@ -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,
|
||||||
]
|
]
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user