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

Gradle integration for Jenkins #2

Merged
merged 3 commits into from
Mar 24, 2019
Merged

Gradle integration for Jenkins #2

merged 3 commits into from
Mar 24, 2019

Conversation

Cervator
Copy link
Owner

What does this PR do?

Adds Gradle integration (via wrapper) for use with Jenkins code (javadoc, code completion, etc). Affects both the init scripts directory in the plugins image as well as a new src dir for writing assorted other scripts.

Also includes a Groovy Wrapper to execute Groovy without the Gradle hookup or a local Groovy install. To use simply run something like ./groovyw some.groovy

There is an attempt to avoid line ending issues in Vagrant when running on a Windows host OS as well.

Why did you take this approach?

Makes writing Groovy scripts for Jenkins and its plugins waaaaaay easier. I've used this approach myself years ago and am pulling in some stuff from https://github.com/tdongsi/jenkins-config as well, with more coming.

PR is more for an overview than merging for now. Includes prior work as well.

Contribution checklist

  • THERE ARE NO UNENCRYPTED SECRETS HERE
  • The branch is named something meaningful
  • The branch is rebased off of current master
  • There is a single commit (or very few smaller ones) with a Good commit message that includes the issue if there was one
  • You have tested this locally yourself

@Cervator Cervator merged commit 4e41c4b into master Mar 24, 2019
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.

1 participant