Start work on publish

This commit is contained in:
Jim Nicholson 2024-02-26 10:58:32 -08:00
parent 93b081bd17
commit 9a5a52f2aa
2 changed files with 6 additions and 0 deletions

View File

@ -8,6 +8,7 @@ void call(Map config = [:], String packageName, Closure body = { }) {
stage(runConfig.stepName) {
printBanner(runConfig.stepName)
echo "Info: Publishing ${packageName}"
publishToNexus(runConfig, packageName)
body()
}
}

View File

@ -0,0 +1,5 @@
void call(Map config = [:], String packageName) {
publishURL = [ config.nexusBase, config.nexusRepository, config.nexusPath, packageName ].join('/')
echo "Info: ${publishURL}"
}