PublishMode

enum PublishMode : Enum<PublishMode>

This class is used to describe condition for artifact publishing at the end of the build

Since

2019.1

Entries

Link copied to clipboard
ALWAYS("Always, even if build stop command was issued")

Even if interrupted

Link copied to clipboard
SUCCESSFUL("Only if build status is successful")

Only if successful and not interrupted

Link copied to clipboard
NORMALLY_FINISHED("Even if build fails")

Can be successful or failed, but not interrupted, default

Properties

Link copied to clipboard
val description: String
Link copied to clipboard
val name: String
Link copied to clipboard
val ordinal: Int