Skip to content

Commit

Permalink
file creation and move changed
Browse files Browse the repository at this point in the history
  • Loading branch information
goschale committed Jun 23, 2022
1 parent 205af86 commit 5dd7aa7
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions Jenkinsfile
Original file line number Diff line number Diff line change
Expand Up @@ -129,13 +129,14 @@ pipeline {
sh "echo no | avdmanager create avd --force --name android28 --package 'system-images;android-28;default;x86_64'"
sh "/home/user/android/sdk/emulator/emulator -no-window -no-boot-anim -noaudio -avd android28 > /dev/null 2>&1 &"
sh './gradlew -PenableCoverage -Pjenkins -Pemulator=android28 -Pci createDebugCoverageReport -i'
sh '/home/user/android/sdk/platform-tools/adb logcat -d > /home/user/Paintroid/build/outputs/logs/logcat.txt'
sh '/home/user/android/sdk/platform-tools/adb logcat -d > logcat.txt'
sh 'mv -f logcat.txt ../Paintroid/Paintroid/build/outputs/logs/'
}
post {
always {
sh './gradlew stopEmulator'
junitAndCoverage "$reports/coverage/debug/report.xml", 'device', javaSrc
archiveArtifacts 'app/build/outputs/logcat.text'
archiveArtifacts 'app/build/outputs/logs/logcat.text'
}
}
}
Expand Down

0 comments on commit 5dd7aa7

Please sign in to comment.