Skip to content
This repository has been archived by the owner on May 10, 2021. It is now read-only.

dependencies folder improvements #58

Open
AndrewHanes opened this issue Jan 12, 2015 · 0 comments
Open

dependencies folder improvements #58

AndrewHanes opened this issue Jan 12, 2015 · 0 comments

Comments

@AndrewHanes
Copy link
Contributor

Currently, to specify a dependency source that isn't in the root of a git repo I need to do this:

- dependencies:
    - source:
        url: 'https://github.com/constantcontact/jenkins_pipeline_builder/archive/master.tar.gz'
        templates:
            - name: generator-template
              version: 1
              folder: 'example/example-templates/job-template/1' 

There should be another field, in the source: hash, that allows a different template root directory to be defined. This will allow us to access specific template versions and generally be cleaner. Something like this:

- dependencies:
    - source:
        url: 'https://github.com/constantcontact/jenkins_pipeline_builder/archive/master.tar.gz'
        templates:
            - name: generator-template
            template_root: 'example-templates/'
            version: 1
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant