github.com/jaylevin/jenkins-library@v1.230.4/pkg/gcs/targetFolderHandler.go (about)

     1  package gcs
     2  
     3  import "path"
     4  
     5  // GetTargetFolder calculates the target folder in GCS bucket
     6  func GetTargetFolder(folderPath string, stepResultType string, subFolder string) string {
     7  	return path.Join(folderPath, stepResultType, subFolder)
     8  }