Merge pull request 'Fix deploy path and cleanup old deployment before copying' (#13) from feature/fix-deploy-directory into master
All checks were successful
Core Repos/Homepage/pipeline/head This commit is unstable
All checks were successful
Core Repos/Homepage/pipeline/head This commit is unstable
Reviewed-on: #13
This commit was merged in pull request #13.
This commit is contained in:
4
Jenkinsfile
vendored
4
Jenkinsfile
vendored
@@ -39,9 +39,11 @@ pipeline {
|
|||||||
sshPublisherDesc(
|
sshPublisherDesc(
|
||||||
configName: 'droplet-ssh',
|
configName: 'droplet-ssh',
|
||||||
transfers: [
|
transfers: [
|
||||||
|
sshTransfer(execCommand: 'rm -r html/*'),
|
||||||
sshTransfer(
|
sshTransfer(
|
||||||
sourceFiles: 'dist/Homepage/**',
|
sourceFiles: 'dist/Homepage/**',
|
||||||
remoteDirectory: '/home/cameron/docker/homepage/html',
|
removePrefix: 'dist/Homepage',
|
||||||
|
remoteDirectory: 'html',
|
||||||
execCommand: 'echo Finished'
|
execCommand: 'echo Finished'
|
||||||
)
|
)
|
||||||
]
|
]
|
||||||
|
|||||||
Reference in New Issue
Block a user