mirror of
https://github.com/SAP/jenkins-library.git
synced 2025-01-28 05:47:08 +02:00
disable trust engine lookup on missing token (#5196)
This commit is contained in:
parent
6d22b09ab3
commit
53838c0ecc
@ -56,7 +56,7 @@ func (c *Config) setTrustEngineConfiguration(hookConfig map[string]interface{})
|
||||
}
|
||||
|
||||
if len(c.trustEngineConfiguration.Token) == 0 {
|
||||
log.Entry().Debug("no Trust Engine token found")
|
||||
return errors.New("no Trust Engine token found and envvar is empty")
|
||||
}
|
||||
return nil
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user