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

Make the init groovy script directory configurable

    • Icon: Task Task
    • Resolution: Fixed
    • Icon: Minor Minor
    • core
    • None
    • Jenkins 2.273 29 Dec 2020

      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.

          [JENKINS-63833] Make the init groovy script directory configurable

          Pierre Beitz created issue -
          Pierre Beitz made changes -
          Description Original: 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.
          New: 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.
          Pierre Beitz made changes -
          Assignee New: Pierre Beitz [ pierrebtz ]
          Pierre Beitz made changes -
          Status Original: Open [ 1 ] New: In Progress [ 3 ]
          Mark Waite made changes -
          Released As New: Jenkins 2.273 29 Dec 2020
          Resolution New: Fixed [ 1 ]
          Status Original: In Progress [ 3 ] New: Closed [ 6 ]
          Nick Jones made changes -
          Description Original: 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.
          New: 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.
          Nick Jones made changes -
          Description Original: 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.
          New: 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.

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

              Created:
              Updated:
              Resolved: