public class ScpTask extends BaseSshTask<ScpTask,ScpTaskProperties>
authenticationType, hostFingerprint, hosts, key, passphrase, password, port, sharedCredentials, username
conditions, description, requirements, taskEnabled
Constructor and Description |
---|
ScpTask() |
Modifier and Type | Method and Description |
---|---|
protected @NotNull ScpTaskProperties |
build() |
boolean |
equals(Object o) |
ScpTask |
fromArtifact(Artifact artifact)
Deprecated.
since Bamboo 6.1.0, use
fromArtifact(ArtifactItem) |
ScpTask |
fromArtifact(ArtifactItem artifactItem)
Artifact to copy.
|
ScpTask |
fromArtifact(String artifactName)
Deprecated.
since Bamboo 6.1.0, use
fromArtifact(ArtifactItem) |
ScpTask |
fromLocalPath(String localPath)
The local path (relative to the Bamboo working directory) to the files you want to copy.
|
ScpTask |
fromLocalPath(String localPath,
boolean antStyle)
The local path (relative to the Bamboo working directory) to the files you want to copy.
|
int |
hashCode() |
static ArtifactItem |
parseArtifactItemString(String fullName)
Convert a full artifact name "PROJECT-PLAN: artifact" or a short artifact name "artifact" into an ArtifactItem.
|
ScpTask |
toRemotePath(String remotePath)
The path to the destination directory on the remote server.
|
authenticateWithKey, authenticateWithKey, authenticateWithKeyWithPassphrase, authenticateWithKeyWithPassphrase, authenticateWithPassword, authenticateWithSshSharedCredentials, authenticateWithUsernamePasswordSharedCredentials, host, host, hostFingerprint, port, portDefault, username
conditions, description, enabled, requirements, toString
public ScpTask fromLocalPath(String localPath)
fromLocalPath(String, boolean)
to turn on Ant-style pattern matching.public ScpTask fromLocalPath(String localPath, boolean antStyle)
@Deprecated public ScpTask fromArtifact(String artifactName)
fromArtifact(ArtifactItem)
@Deprecated public ScpTask fromArtifact(Artifact artifact)
fromArtifact(ArtifactItem)
public ScpTask fromArtifact(ArtifactItem artifactItem)
artifactItem
- specifies which downloaded artifact shall be copiedpublic ScpTask toRemotePath(String remotePath)
@NotNull protected @NotNull ScpTaskProperties build()
build
in class Task<ScpTask,ScpTaskProperties>
public static ArtifactItem parseArtifactItemString(String fullName)
fullName
- artifact name with project-plan keyspublic boolean equals(Object o)
equals
in class BaseSshTask<ScpTask,ScpTaskProperties>
public int hashCode()
hashCode
in class BaseSshTask<ScpTask,ScpTaskProperties>
Copyright © 2022 Atlassian Software Systems Pty Ltd. All rights reserved.