更新jenkins外掛,報錯 Perhaps you need to run your container with "-Djava.awt.headless=true"?

YatHo發表於2017-12-05

Configuring the Java environment variables

vi ~/.bash_profile

  在最後一行加入:

export  JAVA_OPTS=-Djava.awt.headless=true

  使用最新環境變數

source ~/.bash_profile

  

相關文章