Uploaded image for project: 'Jenkins'
  1. Jenkins
  2. JENKINS-13468

Would like to create/use a central "catalog" . . .

    Details

    • Type: New Feature
    • Status: Resolved (View Workflow)
    • Priority: Major
    • Resolution: Fixed
    • Component/s: scriptler-plugin
    • Labels:
      None
    • Environment:
      Windows . . .
    • Similar Issues:

      Description

      We have a large and growing number of Jenkins instances . . . We don't have many Groovy script, but rather than carrying them around by hand, it would be nice to be able to put them in once place (network share for instance) and access them from any Jenkins.

      Note this isn't exactly like your public repositories, because I don't want to have to import them . . . while certain scripts might be local to a given Jenkins, for the global Jenkins script . . . if they are changed in one Jenkins, I would like that update to appear for all Jenkins attached to the repository.

        Attachments

          Issue Links

            Activity

            fmerrow Frank Merrow created issue -
            Hide
            domi Dominik Bartholdi added a comment -

            That sounds like a good idea and actually the current implementation does already allow you to do something in the same direction...

            The directory at '<JENKINS_HOME>/scriptler/scripts' gets synchronized at every startup of Jenkins and automatically imports every *.groovy file. I agree, this is not perfect yet, but It might help you to get started.
            Based on that functionality I could think of a second (userdefined) directory where you could just dump new scripts and we could add some functionality/button to trigger the sync - instead of having to restart Jenkins.
            I'll think about it a bit more, but I'm sure we can do something useful here...

            Show
            domi Dominik Bartholdi added a comment - That sounds like a good idea and actually the current implementation does already allow you to do something in the same direction... The directory at '<JENKINS_HOME>/scriptler/scripts' gets synchronized at every startup of Jenkins and automatically imports every *.groovy file. I agree, this is not perfect yet, but It might help you to get started. Based on that functionality I could think of a second (userdefined) directory where you could just dump new scripts and we could add some functionality/button to trigger the sync - instead of having to restart Jenkins. I'll think about it a bit more, but I'm sure we can do something useful here...
            Hide
            fmerrow Frank Merrow added a comment -

            This issue finally bubbled up back into view . . .

            I've tried it and the "scripts" directory will do nicely, thank you . . . on a couple of our Jenkins, Jenkins got installed in C:\Program File (x86) which causes some access issues if the user is not running CMD.EXE as Admin . . . but other than that minor annoyance, this solution is very usable for my situation.

            THANK YOU.

            Frank

            Show
            fmerrow Frank Merrow added a comment - This issue finally bubbled up back into view . . . I've tried it and the "scripts" directory will do nicely, thank you . . . on a couple of our Jenkins, Jenkins got installed in C:\Program File (x86) which causes some access issues if the user is not running CMD.EXE as Admin . . . but other than that minor annoyance, this solution is very usable for my situation. THANK YOU. Frank
            domi Dominik Bartholdi made changes -
            Field Original Value New Value
            Link This issue is related to JENKINS-15276 [ JENKINS-15276 ]
            Hide
            domi Dominik Bartholdi added a comment -

            I was thinking about these two feature requests (JENKINS-13468 JENKINS-15276) and I think we can combine these with the new git-server plugin functionality kohsuke just introduced: https://wiki.jenkins-ci.org/display/JENKINS/Git+Server+Plugin

            Show
            domi Dominik Bartholdi added a comment - I was thinking about these two feature requests ( JENKINS-13468 JENKINS-15276 ) and I think we can combine these with the new git-server plugin functionality kohsuke just introduced: https://wiki.jenkins-ci.org/display/JENKINS/Git+Server+Plugin
            Hide
            domi Dominik Bartholdi added a comment -

            implemented in 2.5

            Show
            domi Dominik Bartholdi added a comment - implemented in 2.5
            domi Dominik Bartholdi made changes -
            Status Open [ 1 ] Resolved [ 5 ]
            Resolution Fixed [ 1 ]
            rtyler R. Tyler Croy made changes -
            Workflow JNJira [ 143934 ] JNJira + In-Review [ 190821 ]

              People

              • Assignee:
                domi Dominik Bartholdi
                Reporter:
                fmerrow Frank Merrow
              • Votes:
                2 Vote for this issue
                Watchers:
                4 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: