Use jenkins to build a bat file, but failed. The bat file includes some visual studio 2019 project, when i build jenkins item, jenkins tell me the licence for visual studio 2019 has expired, and the evaluation period for this product has ended.
If i run the same bat file directly locally, it was success. and license issues are not mentioned.
Some of the contents of the bat file：
cd /d "c:\Program Files (x86)\Microsoft Visual Studio"\2019\Community\VC\Auxiliary\Build
devenv protocol_2019.sln /Build release /Out ./bulid_component_2008.log