Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[INFRA-1953] Make pipeline-library#runATH step runs with old ATH sources and images #84

Merged
merged 7 commits into from Jan 8, 2019

Conversation

MRamonLeon
Copy link
Contributor

@MRamonLeon MRamonLeon commented Jan 3, 2019

See Make pipeline-library#runATH step runs with old ATH sources and images

This PR allows you to use the runATH step with old ATH sources and images. With this, your builds will not fail if the pipeline-library is not on sync with the ATH sources and images used.

@batmat @alecharp @raul-arabaolaza @olivergondza

Copy link
Contributor

@alecharp alecharp left a comment

Choose a reason for hiding this comment

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

I trust you it's working, just wondering if we could simplify the instructions to make it more accessible to new-comers.

vars/runATH.groovy Outdated Show resolved Hide resolved
vars/runATH.groovy Show resolved Hide resolved
vars/runATH.groovy Show resolved Hide resolved
vars/runATH.groovy Outdated Show resolved Hide resolved
vars/runATH.groovy Outdated Show resolved Hide resolved
vars/runATH.groovy Outdated Show resolved Hide resolved
Copy link
Contributor Author

@MRamonLeon MRamonLeon left a comment

Choose a reason for hiding this comment

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

@alecharp proposal and better messages

vars/runATH.groovy Outdated Show resolved Hide resolved
Copy link
Contributor

@batmat batmat left a comment

Choose a reason for hiding this comment

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

LGTM.

Keep the containerArgs as it was, add some
extra information and fail the build if
java11 required but set-java.sh not found
Copy link
Contributor Author

@MRamonLeon MRamonLeon left a comment

Choose a reason for hiding this comment

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

Failure on Java11 without set-env.sh and just a message on Java8. @olivergondza @batmat

vars/runATH.groovy Show resolved Hide resolved
@MRamonLeon
Copy link
Contributor Author

@olivergondza @raul-arabaolaza Does these changes look good to you? Thank you.

@raul-arabaolaza raul-arabaolaza merged commit 1a910ba into jenkins-infra:master Jan 8, 2019
@varyvol
Copy link

varyvol commented Jan 8, 2019

@MRamonLeon it seems good, but why did you change it to invoke each command at a time instead of all of them together? Just out of curiosity.

@MRamonLeon
Copy link
Contributor Author

@varyvol No specific reason. Probably I forgot to add the && after the if. Good point.

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.

None yet

6 participants