mirror of
https://github.com/SAP/jenkins-library.git
synced 2025-03-05 15:15:44 +02:00
Fix: Avoid newline at end of timestamp in mtaBuild step (#2044)
This commit is contained in:
parent
fa17611a59
commit
83deefd645
@ -308,7 +308,7 @@ func setTimeStamp(mtaYamlFile string, p piperutils.FileUtils) error {
|
||||
|
||||
func getTimestamp() string {
|
||||
t := time.Now()
|
||||
return fmt.Sprintf("%d%02d%02d%02d%02d%02d\n", t.Year(), t.Month(), t.Day(), t.Hour(), t.Minute(), t.Second())
|
||||
return fmt.Sprintf("%d%02d%02d%02d%02d%02d", t.Year(), t.Month(), t.Day(), t.Hour(), t.Minute(), t.Second())
|
||||
}
|
||||
|
||||
func createMtaYamlFile(mtaYamlFile, applicationName string, p piperutils.FileUtils) error {
|
||||
|
Loading…
x
Reference in New Issue
Block a user