Skip to content

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

Closed

Description

@jenkins-infra-bot

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.


Originally reported by pierrebtz, imported from: Make the init groovy script directory configurable
  • assignee: pierrebtz
  • status: Closed
  • priority: Minor
  • component(s): core
  • resolution: Fixed
  • resolved: 2020-12-29T15:25:25+00:00
  • votes: 0
  • watchers: 1
  • imported: 2025-11-24
Raw content of original issue

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.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions