Uploaded image for project: 'Build'
  1. Build
  2. BUILD-1083

Deploy bash-script to get/save selenium.log to aws-build-scripts

    XMLWordPrintable

Details

    • Task
    • Resolution: Unresolved
    • Neutral
    • None
    • None
    • None
    • None

    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

      Checklists

        Acceptance criteria

        Attachments

          Activity

            People

              Unassigned Unassigned
              cmeier Christoph Meier
              Foundation
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:

                Checklists

                  Task DoR