更新jenkins插件,报错 Perhaps you need to run your container with "-Djava.awt.headless=true"?
Configuring the Java environment variables
vi ~/.bash_profile
在最后一行加入:
export JAVA_OPTS=-Djava.awt.headless=true
使用最新环境变量
source ~/.bash_profile
Configuring the Java environment variables
vi ~/.bash_profile
在最后一行加入:
export JAVA_OPTS=-Djava.awt.headless=true
使用最新环境变量
source ~/.bash_profile