Skip to content

Commit

Permalink
Update Jenkinsfile
Browse files Browse the repository at this point in the history
  • Loading branch information
rodrigodiaspilotogalvao authored Oct 10, 2023
1 parent b79dd0c commit 55e0333
Showing 1 changed file with 7 additions and 10 deletions.
17 changes: 7 additions & 10 deletions Jenkinsfile
Original file line number Diff line number Diff line change
Expand Up @@ -3,11 +3,11 @@ pipeline {
branchname = env.BRANCH_NAME.toLowerCase()
}

agent {
node {
label 'SME-AGENT-FLUTTER'
}
}
agent { kubernetes {
label 'flutter3106'
defaultContainer 'flutter3106'
}
}

options {
buildDiscarder(logRotator(numToKeepStr: '5', artifactNumToKeepStr: '5'))
Expand Down Expand Up @@ -126,10 +126,8 @@ pipeline {
sh "ls -ltra build/app/outputs/bundle/productionRelease/"

sh 'if [ -d ".env" ]; then rm -f .env; fi'
stash includes: [
'build/app/outputs/bundle/productionRelease/**/*.aab',
'build/app/outputs/flutter-apk/**/*.apk'
], name: 'appbuild'
stash includes: 'build/app/outputs/bundle/productionRelease/**/*.aab', name: 'appbuild'
stash includes: 'build/app/outputs/flutter-apk/**/*.apk', name: 'appbuild'
}
}
}
Expand Down Expand Up @@ -284,4 +282,3 @@ pipeline {
}
}
}

0 comments on commit 55e0333

Please sign in to comment.