Do not display project url for temporary projects.
This commit is contained in:
parent
3db287d98b
commit
0e3604638b
2 changed files with 5 additions and 3 deletions
|
@ -34,7 +34,7 @@ package net.thauvin.erik.kobalt.plugin.versioneye
|
|||
import com.beust.kobalt.AsciiArt
|
||||
import com.beust.kobalt.misc.log
|
||||
|
||||
open class Utils {
|
||||
open class Utils private constructor() {
|
||||
companion object {
|
||||
// Non-colors failure
|
||||
fun alt(failed: Boolean): String {
|
||||
|
|
|
@ -374,8 +374,10 @@ class VersionEyePlugin @Inject constructor(val configActor: ConfigActor<VersionE
|
|||
Utils.log(securityInfo, verbose)
|
||||
|
||||
// Show project url
|
||||
val baseUrl = if (config.baseUrl.endsWith('/')) config.baseUrl else config.baseUrl + '/'
|
||||
log(1, " View more at: ${baseUrl}user/projects/$projectKey")
|
||||
if (!config.temp) {
|
||||
val baseUrl = if (config.baseUrl.endsWith('/')) config.baseUrl else config.baseUrl + '/'
|
||||
log(1, " View more at: ${baseUrl}user/projects/$projectKey")
|
||||
}
|
||||
}
|
||||
|
||||
// Task failure
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue