Skip to content

Conversation

@Amrutha-Kanhirathingal
Copy link
Contributor

@Amrutha-Kanhirathingal Amrutha-Kanhirathingal commented Oct 24, 2025

  • getDependencies.pl script run twice.Once with customUrl. If it failed, retry with 3rd party URL.
  • at jenkins level do the pre-stage getDependency only if env.BUILD_LIST == 'system'

Closes: #6461

@llxia
Copy link
Contributor

llxia commented Oct 30, 2025

This PR has to be merged with TKG PR: adoptium/TKG#758

- getDependencies.pl script run twice.Once with customUrl. If it failed, retry with 3rd party URL.

Closes:  adoptium#6461
Signed-off-by:Amrutha Kanhirathingal <Amrutha.Kanhirathingal@ibm.com>
Copy link
Contributor

@smlambert smlambert left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Same comment as in adoptium/TKG#758 (comment), CUSTOM_URL is too generic of a name to read the code and know what its purpose is, so I would rather see a more specific name used, in order to make the purpose clearer.

@Amrutha-Kanhirathingal
Copy link
Contributor Author

Yes, I agree. The only concern is that this name customUrl(CUSTOM_URL = customUrl )is used across multiple places, so improving it would mean changing it in several places.

@karianna
Copy link
Contributor

Yes, I agree. The only concern is that this name customUrl(CUSTOM_URL = customUrl )is used across multiple places, so improving it would mean changing it in several places.

Let's do it :-). Hopefully it's not overloaded!

@Amrutha-Kanhirathingal
Copy link
Contributor Author

Amrutha-Kanhirathingal commented Jan 29, 2026

In that case We could use TEST_DEPENDENCY_URL instead of "CUSTOM_URL" since the getCustomurl is written in below way

https://github.com/adoptium/aqa-tests/blob/master/buildenv/jenkins/JenkinsfileBase#L1209-L1220

Please let me know if you guys have any concern
Thanks

@sophia-guo
Copy link
Contributor

adoptium/TKG#758 is merged. We can have a separate PR to update customUrl name.

@smlambert
Copy link
Contributor

Raised #6865 to capture the desire to improve the variable name.

Copy link
Contributor

@smlambert smlambert left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Approving with the request to improve the variable name in separate PR (#6865).

@smlambert smlambert merged commit c481220 into adoptium:master Jan 29, 2026
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Improve getDependency workflow

5 participants