Jose
Jose

Reputation: 1461

Jenkins Source Code Management for Gerrit Repo

Is there a way I can configure a global variable in jenkins which will have a global scope for all jobs and all nodes and will be valid before any Jenkins job and utilizes the variable for setting the configurations for the "Gerrit Repo" under "Source Code" Management.

E.x: $MANIFEST_REPO_URL = "Gerrit_server manifest repo location"

Source Code Management Gerrit Repo Manifest Repository Url $MANIFEST_REPO_URL

See the image below. Jenkins Source Code Management for Gerrit Repo.

Upvotes: 0

Views: 772

Answers (2)

Jose
Jose

Reputation: 1461

This is a limitation in Jenkins and is still being worked on.

Upvotes: 0

blackbuild
blackbuild

Reputation: 5174

You can define a global variable under

Manage Jenkins -> System configuration -> Global properties -> Environment variables

Upvotes: 0

Related Questions