Solution to Jenkins build time difference of eight hours

1. Enter in the address bar: [Jenkins access address/script] or [System Management-Execute Script Command] to execute the script command line:

 2. Script command

System.setProperty('org.apache.commons.jelly.tags.fmt.timeZone','Asia/Shanghai')

3. View the results

 

 

Guess you like

Origin blog.csdn.net/piaomiao_/article/details/126347476