Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Args ¶
type Args struct {
Source string `json:"source"` // artifact filename glob
Regexp string `json:"regexp"` // parses artifact filenames to artifacts
Debug bool `json:"debug"` // debug output
}
Args is the drone-mvn specific arguments. If there are multiple matches to Source, ArtifactRegexp must be defined.
type Artifact ¶
type Artifact struct {
GroupID string `json:"group"` // e.g. org.springframework
ArtifactID string `json:"artifact"` // e.g. spring-core
Version string `json:"version"` // e.g. 4.1.3.RELEASE
Classifier string `json:"classifier"` // e.g. sources, javadoc, <the empty string>...
Extension string `json:"extension"` // e.g. jar, .tar.gz, .zip
// contains filtered or unexported fields
}
Artifact is a target Maven artifact.
type GPG ¶
type GPG struct {
PrivateKey string `json:"gpg_private_key"` // private key
Passphrase string `json:"gpg_passphrase"` // private key passphrase (optional)
}
GPG holds the GnuPG key information used for signing releases.
type GpgCmd ¶
type GpgCmd struct {
GPG GPG
PublicRing string
SecretRing string
SecretKeyID string
Quiet bool
// contains filtered or unexported fields
}
GpgCmd wraps the GnuPG command line util to create a temporary keychain for
type Maven ¶
type Maven struct {
Repository // maven repository
Artifact // artifact
GPG // signing information
Args // drone-mvn specific options
// contains filtered or unexported fields
}
Maven is a composed struct which forms the configration of the drone-mvn drone plugin.
func (*Maven) WorkspacePath ¶
type Repository ¶
type Repository struct {
Username string `json:"username"`
Password string `json:"password"`
URL string `json:"url"`
}
Repository is a target Maven repository configuration
Click to show internal directories.
Click to hide internal directories.