svn - Import environment variables from text file on network using Jenkins -


i have unix master , windows slave. have 10 subversion repositories, tags automatically created process outside of jenkins. these tags multiple repositories make 1 complete dataset application.

when these tags created, single text file on cifs share created contains urls of these tags 10 repositories. name of text file , cifs path static.

i need suck in contents of file can tell job tags use compile dataset. have ability adjust syntax of text file, able tell job example:

repository1=https://svn/repo1/tags/newtag repository2=https://svn/repo2/tags/newtag 

i know possible; new jenkins, , have windows background.

you need envinject plugin. take property-style file (your file fits that), , inject environment variables jenkins.

there many places can configured:

  • globally node
  • globally job
  • before scm checkout
  • as build step

i assume need them before scm checkout, use set clean environment example plugin page. suggest keep both checked: "keep jenkins environment variables" , "keep jenkins build variables". provide path properties file.


Comments

Popular posts from this blog

javascript - RequestAnimationFrame not working when exiting fullscreen switching space on Safari -

Python ctypes access violation with const pointer arguments -