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

Make the init groovy script directory configurable

    XMLWordPrintable

    Details

    • Type: Task
    • Status: Closed (View Workflow)
    • Priority: Minor
    • Resolution: Fixed
    • Component/s: core
    • Labels:
      None
    • Similar Issues:
    • Released As:
      Jenkins 2.273 29 Dec 2020

      Description

      Proposed enhancement to answer the need for the Jenkinsfile runner (see here).

      The $JENKINS_HOME/init.groovy.d directory should be customizable via a system property.

      Open question: should this be more global and treat the other (known) types of hook scripts, or targeting only init scripts? If I believe the comments in the linked PR, other types of scripts might be needed by the JFR so it might be worth to go global.

        Attachments

          Activity

          pierrebtz Pierre Beitz created issue -
          pierrebtz Pierre Beitz made changes -
          Field Original Value New Value
          Description Proposed enhancement to answer the need for the Jenkinsfile runner (see [here|[https://github.com/jenkinsci/jenkinsfile-runner/pull/370]).]

           

          The $JENKINS_HOME/init.groovy.d directory should be customizable via a system property.

          Open question: should this be more global and treat the other (known) types of hook scripts, or targetting only init scripts? If I believe the comments in the linked PR, other types of scripts might be needed by the JFR so it might be worth to go global.
          Proposed enhancement to answer the need for the Jenkinsfile runner (see [here|[https://github.com/jenkinsci/jenkinsfile-runner/pull/370]]).

           

          The $JENKINS_HOME/init.groovy.d directory should be customizable via a system property.

          Open question: should this be more global and treat the other (known) types of hook scripts, or targetting only init scripts? If I believe the comments in the linked PR, other types of scripts might be needed by the JFR so it might be worth to go global.
          pierrebtz Pierre Beitz made changes -
          Assignee Pierre Beitz [ pierrebtz ]
          pierrebtz Pierre Beitz made changes -
          Status Open [ 1 ] In Progress [ 3 ]
          markewaite Mark Waite made changes -
          Released As Jenkins 2.273 29 Dec 2020
          Resolution Fixed [ 1 ]
          Status In Progress [ 3 ] Closed [ 6 ]
          medianick Nick Jones made changes -
          Description Proposed enhancement to answer the need for the Jenkinsfile runner (see [here|[https://github.com/jenkinsci/jenkinsfile-runner/pull/370]]).

           

          The $JENKINS_HOME/init.groovy.d directory should be customizable via a system property.

          Open question: should this be more global and treat the other (known) types of hook scripts, or targetting only init scripts? If I believe the comments in the linked PR, other types of scripts might be needed by the JFR so it might be worth to go global.
          Proposed enhancement to answer the need for the Jenkinsfile runner (see [here|https://github.com/jenkinsci/jenkinsfile-runner/pull/370]).

           

          The $JENKINS_HOME/init.groovy.d directory should be customizable via a system property.

          Open question: should this be more global and treat the other (known) types of hook scripts, or targetting only init scripts? If I believe the comments in the linked PR, other types of scripts might be needed by the JFR so it might be worth to go global.
          medianick Nick Jones made changes -
          Description Proposed enhancement to answer the need for the Jenkinsfile runner (see [here|https://github.com/jenkinsci/jenkinsfile-runner/pull/370]).

           

          The $JENKINS_HOME/init.groovy.d directory should be customizable via a system property.

          Open question: should this be more global and treat the other (known) types of hook scripts, or targetting only init scripts? If I believe the comments in the linked PR, other types of scripts might be needed by the JFR so it might be worth to go global.
          Proposed enhancement to answer the need for the Jenkinsfile runner (see [here|https://github.com/jenkinsci/jenkinsfile-runner/pull/370]).

          The {{$JENKINS_HOME/init.groovy.d}} directory should be customizable via a system property.

          Open question: should this be more global and treat the other (known) types of hook scripts, or targeting only init scripts? If I believe the comments in the linked PR, other types of scripts might be needed by the JFR so it might be worth to go global.

            People

            Assignee:
            pierrebtz Pierre Beitz
            Reporter:
            pierrebtz Pierre Beitz
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: