From 9833468debcabdf6d025557b17bcfd93171e15d4 Mon Sep 17 00:00:00 2001 From: joey Date: Wed, 3 Apr 2024 10:33:07 +0800 Subject: [PATCH] fix non-config autotest missing cookie header between step --- .../aop/plugins/task/autotest_cookie_keep_after/plugin.go | 4 ---- 1 file changed, 4 deletions(-) diff --git a/internal/tools/pipeline/aop/plugins/task/autotest_cookie_keep_after/plugin.go b/internal/tools/pipeline/aop/plugins/task/autotest_cookie_keep_after/plugin.go index 33d89d853a2..04c7358e34a 100644 --- a/internal/tools/pipeline/aop/plugins/task/autotest_cookie_keep_after/plugin.go +++ b/internal/tools/pipeline/aop/plugins/task/autotest_cookie_keep_after/plugin.go @@ -56,10 +56,6 @@ func (p *provider) Handle(ctx *aoptypes.TuneContext) error { return nil } - if ctx.SDK.Pipeline.Snapshot.Secrets == nil { - return nil - } - // report cookieJar var pbMeta, err = ctx.SDK.Report.MakePBMeta(map[string]interface{}{ apitestsv2.HeaderSetCookie: setCookieJSON,