How do I configure global Mercurial options (like extensions) in Cloudbees Jenkins? -


i have cloudbees jenkins instance configured build several mercurial projects. configure global mercurial options go in ~/.hgrc, such as:

[extensions] eol = 

when setting own standalone jenkins instance, log in user running jenkins , set environment.

for cloudbees, it's not clear how should handle this. don't see way configure mercurial jenkins plugin use specific configuration file. if that, i'm not sure or when fill in file.

can somehow create ~/.hgrc applies entire cloudbees jenkins instance? or need on per-job basis? might able set hgrcpath in pre-build step via envinect, or maybe modify project .hgrc via script build action. however, seems neither of these happen enough in build process take effect when job starts.

i feel i'm missing obvious. can suggest proper way accomplish this?

go system configuration page , create new mercurial installation. leave installation directory blank , set executable hg, set whatever need in custom configuration (see inline help). select alternate installation in project(s).


Comments

Popular posts from this blog

facebook - android ACTION_SEND to share with specific application only -

python - Creating a new virtualenv gives a permissions error -

javascript - cocos2d-js draw circle not instantly -