修改cid回调接口

This commit is contained in:
junleea 2025-09-20 14:21:32 +08:00
parent d02cceb775
commit 0edba050c3
1 changed files with 0 additions and 5 deletions

View File

@ -252,11 +252,6 @@ func RunShell(username, url, script string, id, authID int) {
name := strs[len(strs)-1] name := strs[len(strs)-1]
names := strings.Split(name, ".") names := strings.Split(name, ".")
name = names[0] name = names[0]
now := time.Now()
var cid_running proto.CIDRunning
cid_running.ID = id
cid_running.AuthID = authID
cid_running.StartTime = now
//脚本内容,不同用户的持续集成、部署目录不同 //脚本内容,不同用户的持续集成、部署目录不同
scriptContent := ` scriptContent := `
echo "start" echo "start"