What about Jenkins and lavavel continuous integration project configuration files?

Jenkins and lavavel continuous integration project. What about the variables of env?

when doing project integration, there is a problem. The configuration of the development environment and the test environment to connect to the database is different, so when integrating, write these variables into the .env file.

I hope that every time I add a new task and add these variables to the Jenkins task, Jenkins can help me replace the corresponding values in the .env file (I have used other integration tools, which are implemented in this way).

now I can"t find where to set these variables, or do I want to install another plug-in?

,.env,:
echo "DB_HOST=>"127.0.0.1"
      DB_USER_NAME"=>YOUR USERNAME" 
     > //.env

but this is not easy to maintain, and even worse: for projects like react, their configuration goes like this:
defines these under config.js

var baseApi ="sever"

.

what I want is that variables can be configured freely, and Jenkins helps me replace the corresponding values in the configuration file.

May.24,2022
MySQL Query : SELECT * FROM `codeshelper`.`v9_news` WHERE status=99 AND catid='6' ORDER BY rand() LIMIT 5
MySQL Error : Disk full (/tmp/#sql-temptable-64f5-1b37414-2c087.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
MySQL Errno : 1021
Message : Disk full (/tmp/#sql-temptable-64f5-1b37414-2c087.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
Need Help?