public class ScpTask extends BaseSshTask<ScpTask,ScpTaskProperties>
authenticationType, host, hostFingerprint, key, passphrase, password, port, sharedCredentials, username
description, requirements, taskEnabled
Constructor and Description |
---|
ScpTask() |
Modifier and Type | Method and Description |
---|---|
protected ScpTaskProperties |
build() |
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.
|
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, hostFingerprint, port, portDefault, username
description, enabled, requirements
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 ScpTaskProperties build()
build
in class Task<ScpTask,ScpTaskProperties>
public static ArtifactItem parseArtifactItemString(String fullName)
fullName
- artifact name with project-plan keysCopyright © 2018 Atlassian Software Systems Pty Ltd. All rights reserved.