Commit 7bdc1881 authored by tywldx's avatar tywldx

a

parent 0133c5ba
......@@ -331,6 +331,12 @@ admin.get('/get_systems_by_type_for_jenkins/:_type', async function (req, res) {
}
});
// 提供所有项目的所有配置
admin.get('/get_pro_configs', async function (req, res) {
let configs = await getProjectConfigPromise();
res.send(configs.projects);
});
// 给jenkins使用根据类型获取系统名称
admin.get('/get_systems_by_type_for_temp', async function (req, res) {
let configs = await getProjectConfigPromise();
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment