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 support for Library Resources #46

Closed
nilave opened this issue Feb 3, 2020 · 5 comments
Closed

Add support for Library Resources #46

nilave opened this issue Feb 3, 2020 · 5 comments
Labels
enhancement New feature or request

Comments

@nilave
Copy link

nilave commented Feb 3, 2020

Hi , This template engine looks pretty neat and I'm trying to implement this in our organization.

Wondering , whether there is any similar way to organize the supporting shell scripts used by groovy as they tend to become large in number and hard to organize.

Eg abc.groovy calls shells a1.sh , b1.sh for completing its tasks. we usually keep the a1.sh and b1.sh in scripts folder in git repo. Any way of organizing the shell scripts as well along with this engine?

@steven-terrana
Copy link

hmm we could look into supporting the resources directory that regular jenkins shared libraries have.

@steven-terrana steven-terrana added the enhancement New feature or request label Feb 5, 2020
@steven-terrana steven-terrana changed the title Jenking Template Engine Add support for Library Resources Mar 7, 2020
@Vince-Cercury
Copy link

Hi. One of our team has written all their steps in make files. So that Jenkins is just the orchestration layer and they can switch to another tool easily. While I haven't used this approach myself, I totally understand why they would do this and the benefits (although there is some cons such as not leveraging built-in steps)

Not being able to call a bash script is preventing them from moving to JTE as they would lose the pattern and have to rewrite everything in groovy. (or have long groovy calls to inline bash which is not clean)

@steven-terrana
Copy link

Looks like i hadn't added the appropriate label - but this feature is on the short-list for implementation.

actively working on the 2.0 release (no timeline for release just yet) and this feature will be included.

@Gl4di4torRr
Copy link

+1

@steven-terrana
Copy link

This functionality has been implemented and will be part of the 2.0 release

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

4 participants