Create Deploy stage for master branch #12
18
Jenkinsfile
vendored
18
Jenkinsfile
vendored
@@ -37,19 +37,21 @@ pipeline {
|
|||||||
sshPublisher(
|
sshPublisher(
|
||||||
publishers: [
|
publishers: [
|
||||||
sshPublisherDesc(
|
sshPublisherDesc(
|
||||||
configName: 'droplet-ssh',
|
configName: 'droplet-ssh',
|
||||||
transfers: [
|
transfers: [
|
||||||
sshTransfer(
|
sshTransfer(
|
||||||
sourceFiles: 'dist/Homepage/**',
|
sourceFiles: 'dist/Homepage/**',
|
||||||
remoteDirectory: '/home/cameron/docker/homepage/html',
|
remoteDirectory: '/home/cameron/docker/homepage/html',
|
||||||
execCommand: 'echo Finished'
|
execCommand: 'echo Finished'
|
||||||
)
|
)
|
||||||
]
|
]
|
||||||
|
)
|
||||||
]
|
]
|
||||||
)
|
)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
post {
|
post {
|
||||||
always {
|
always {
|
||||||
archiveArtifacts artifacts: 'dist/Homepage/**', fingerprint: true
|
archiveArtifacts artifacts: 'dist/Homepage/**', fingerprint: true
|
||||||
|
|||||||
Reference in New Issue
Block a user