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

Use install-plugins.sh instead of plugins.sh #90

Open
wants to merge 3 commits into
base: master
Choose a base branch
from

Conversation

triplem
Copy link

@triplem triplem commented Nov 4, 2016

Issue #89

Three commits, the first one just replaces the used script, the second one replaces the concrete version of the plugins with the tag "latest". This will breach the concept that each build will produce the same result. The third one removes transient dependencies from the plugins.txt file.

I should have made the second commit after the third commit ;-(

@@ -1,7 +1,7 @@
FROM jenkins:2.19.1-alpine

COPY plugins.txt /usr/share/jenkins/plugins.txt
RUN /usr/local/bin/plugins.sh /usr/share/jenkins/plugins.txt
RUN /usr/local/bin/install-plugins.sh $(cat /usr/share/jenkins/plugins.txt | tr '\n' ' ')
Copy link
Contributor

Choose a reason for hiding this comment

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

Copy link
Author

Choose a reason for hiding this comment

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

This would mean that the install-plugins.sh is calling plugins.sh. Do you think this makes sense? Or did I misunderstood your Point?

@rawlingsj
Copy link
Contributor

Thanks for this @triplem - just had a chance to take a proper look and I added a review comment. If you're happy with that maybe do the rename and squash the commits into a single one?

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.

2 participants