[BUILD-1083] Deploy bash-script to get/save selenium.log to aws-build-scripts Created: 01/Jun/23  Updated: 01/Jun/23

Status: Open
Project: Build
Component/s: None
Affects Version/s: None
Fix Version/s: None

Type: Task Priority: Neutral
Reporter: Christoph Meier Assignee: Unassigned
Resolution: Unresolved Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Template:
Acceptance criteria:
Empty
Task DoR:
Empty
Team: Foundation

 Description   

In a Jenkinsfile we currently use the following bash-script-snippet:

sh "docker logs $(docker ps | grep selenium-standalone | awk '{print $1}') &> selenium.log || true"

Since we'll use it in several pipelines, we should save the file to aws-build-scripts repo.
And since we have pipelines with selenium-standalone but also with selenium-hub - the script should be able to access a parameter

Developer notes: 

See https://git.magnolia-cms.com/projects/BUILD/repos/aws-build-scripts/browse/get-magnolia-instances-logs.sh for inspiration


Generated at Sun Feb 11 23:47:58 CET 2024 using Jira 9.4.2#940002-sha1:46d1a51de284217efdcb32434eab47a99af2938b.