mirror of
https://github.com/SAP/jenkins-library.git
synced 2025-03-03 15:02:35 +02:00
Update deprecation message (#1656)
This commit is contained in:
parent
702664645c
commit
50b2a2d6fc
@ -107,7 +107,7 @@ func (c *Config) copyStepAliasConfig(stepName string, stepAliases []Alias) {
|
||||
for _, stepAlias := range stepAliases {
|
||||
if c.Steps[stepAlias.Name] != nil {
|
||||
if stepAlias.Deprecated {
|
||||
log.Entry().WithField("package", "SAP/jenkins-library/pkg/config").Warningf("DEPRECATION NOTICE: old step configuration used for step '%v'. Please switch to '%v'!", stepAlias.Name, stepName)
|
||||
log.Entry().WithField("package", "SAP/jenkins-library/pkg/config").Warningf("DEPRECATION NOTICE: step configuration available for deprecated step '%v'. Please remove or move configuration to step '%v'!", stepAlias.Name, stepName)
|
||||
}
|
||||
for paramName, paramValue := range c.Steps[stepAlias.Name] {
|
||||
if c.Steps[stepName] == nil {
|
||||
|
Loading…
x
Reference in New Issue
Block a user