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

Add a flag to disable local install of artifacts #149

Merged
merged 8 commits into from
May 23, 2019

Conversation

raul-arabaolaza
Copy link
Contributor

When you are working with snapshots (for example when doing local development) the run-pct script tries to install artifacts from the war file to make sure they are available for local runs. However, that could not work when using custom generated war files and is unneeded if you share somehow your local maven repo with all the needed artifacts already there (I use that approach every day)

So, this PR introduces a flag to prevent that local installation to happen if desired

dependabot-support and others added 5 commits May 14, 2019 15:13
Bumps ant from 1.9.2 to 1.10.5.

Signed-off-by: dependabot[bot] <support@dependabot.com>
Bumps appengine-api-1.0-sdk from 1.5.5 to 1.9.73.

Signed-off-by: dependabot[bot] <support@dependabot.com>
So, I have everything already prepared on my host local repository,
I usually run the docker image sharing my host local maven repo to
speed things up. On those circumstances installing locally only serves
to make the run slower.
Copy link
Member

@oleg-nenashev oleg-nenashev left a comment

Choose a reason for hiding this comment

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

Thanks @raul-arabaolaza ! An opt-out approach looks good to me

Why do I request a change? I suggest following the same variable pattern as before, hence uppercase. Also, the flag should be reflected in the documentation.

src/main/docker/run-pct.sh Outdated Show resolved Hide resolved
Co-Authored-By: Oleg Nenashev <o.v.nenashev@gmail.com>
@raul-arabaolaza
Copy link
Contributor Author

I will update the doc

Copy link
Member

@oleg-nenashev oleg-nenashev left a comment

Choose a reason for hiding this comment

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

Documentation is still missing. The rest LGTM

Copy link
Member

@oleg-nenashev oleg-nenashev left a comment

Choose a reason for hiding this comment

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

🚢 🇮🇹

@raul-arabaolaza raul-arabaolaza merged commit f3480c5 into jenkinsci:master May 23, 2019
@raul-arabaolaza raul-arabaolaza deleted the LOCAL_FLAG branch May 23, 2019 10:32
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants