Closed kevin-brotcke closed 4 weeks ago
Ack for this request. I will pick this up on Nov 9th for review.
Validating the PR now.
Looks like my code has been merged as part of this commit https://github.com/awslabs/aws-device-farm-jenkins-plugin/commit/d887bf63631909f62e94e05c555d547b6fc323e5
Closing since I've verified my pull-request code has been merged as a combined commit linked above.
There are two different uses cases we have that the existing options didn't cover:
We run multiple Device Farm jobs in a single build and enabling saving results locally overrides the previous run files.
We've added a new option "Results path" which lets us set a unique path per run so we no longer have conflicts.
The results are saved directly to the artifacts directory. That means we can't run our post-processing actions on them without unarchiving then re-archiving them. We also can't save only part of the results.
We've added a second new boolean option "Archive results" that when unchecked will save results directly to the workspace folder instead. Then when we are ready we can archive all or part of them later in the build.
We've forked the plugin and have been running this change in production without issues for a few months now. Users should not see any behavior changes with the upgrade since the default options match current values.
By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.