Environment variables in Jenkins

后端 未结 3 889
有刺的猬
有刺的猬 2020-12-08 13:18

Where do the environment variables under Jenkins ( manage jenkins -> system information ) come from?

I checked /etc/init.d/tomcat5 , /usr/bin/dtomcat5, /usr/bin/tomc

3条回答
  •  心在旅途
    2020-12-08 14:05

    What ultimately worked for me was the following steps:

    1. Configure the Environment Injector Plugin: https://wiki.jenkins-ci.org/display/JENKINS/EnvInject+Plugin
    2. Goto to the /job//configure screen
    3. In Build Environment section check "Inject environment variables to the build process"
    4. In "Properties Content" specified: TZ=America/New_York

提交回复
热议问题