aqa-tests icon indicating copy to clipboard operation
aqa-tests copied to clipboard

Automation to grab all tap files and AQAcert.log file and push them to either releases repo or artifactory

Open JeromeJu opened this issue 3 years ago • 3 comments

Automation to grab all tap files and AQAcert.log file and push them to either releases repo or artifactory

  1. Creating a standalone groovy script that given the name/id of a pipeline job can fetch all the artifacts from all of the jobs in a pipeline from top-level parent all the way down and then zip those files up.

    Required inputs:

    • JOB_NAME
    • JOB_ID
    • JOB_CREDENTIALS

Cases:

each of the 10-15 nodes in level 2 has 9-12 children typically (top-level test jobs, open access, for initial testing you can start here), example: Test_openjdk18_hs_extended.openjdk_ppc64le_linux/28/

  1. Pushing that zip file to a 'final' destination point (github releases repo and/or artifactory are 2 probable locations we will need to support).

Reference: https://github.com/adoptium/aqa-tests/issues/3443

JeromeJu avatar Apr 01 '22 16:04 JeromeJu

Regarding Task 1:

https://github.com/JeromeJu/aqa-tests/blob/3522/buildenv/jenkins/getAllArtifacts#L28

JeromeJu avatar Apr 06 '22 15:04 JeromeJu

Hi @llxia , according to your pointers and https://github.com/adoptium/aqa-tests/pull/3536, I'd like to confirm for now, the tapfiles from child builds should be archived. But for the 1st part of this issue, I still need to fetch all artifacts other than the tap files?

JeromeJu avatar Apr 12 '22 13:04 JeromeJu

Believe this is partially completed - @llxia I think the push to artifactory is done, is that the case? what remains is how to attach Grinder reruns. For push to releases repo, we likely would do the work either in ci-jenkins-pipeline repo or github-release-scripts repo.

smlambert avatar Aug 09 '22 22:08 smlambert

Going to close this one, as work was delivered via: https://github.com/adoptium/ci-jenkins-pipelines/pull/330 https://github.com/adoptium/github-release-scripts/pull/110

We can create a new issue to incorporate the workflow of including Grinder runs.

smlambert avatar Apr 03 '24 19:04 smlambert