aqa-tests
aqa-tests copied to clipboard
Automation to grab all tap files and AQAcert.log file and push them to either releases repo or artifactory
Automation to grab all tap files and AQAcert.log file and push them to either releases repo or artifactory
-
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:
-
1 parent (the top-level pipeline as a starting point, restricted access, if you try clicking on the example or querying it, you need proper credentials), example: openjdk18-pipeline/153/
-
10 to 15 children (1 per platform), example: jdk18u-linux-ppc64le-temurin/6/
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/
- each of the 9-12 nodes of level 3 could have multiple child test jobs (when run with PARALLEL=Dynamic for example), example: Test_openjdk18_hs_extended.openjdk_ppc64le_linux_testList_0/
- 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
Regarding Task 1:
https://github.com/JeromeJu/aqa-tests/blob/3522/buildenv/jenkins/getAllArtifacts#L28
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?
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.
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.