Jenkinsfile.
This commit is contained in:
parent
7ea51f6ded
commit
c3751d1ba2
17
Jenkinsfile
vendored
17
Jenkinsfile
vendored
@ -19,7 +19,7 @@ pipeline {
|
||||
sh 'npm run build'
|
||||
}
|
||||
}
|
||||
stage('SSH-publish') {
|
||||
stage('SSH-publish-transfer') {
|
||||
steps {
|
||||
sshPublisher(
|
||||
continueOnError: false,
|
||||
@ -37,6 +37,21 @@ pipeline {
|
||||
)
|
||||
}
|
||||
}
|
||||
stage('SSH-publish-permissions') {
|
||||
steps {
|
||||
sshPublisher(
|
||||
continueOnError: false,
|
||||
failOnError: true,
|
||||
publishers: [
|
||||
sshPublisherDesc(
|
||||
configName: "mprill-gonito-front-dev",
|
||||
transfers: [sshTransfer(execCommand: 'chmod o+rX public_html')],
|
||||
verbose: true
|
||||
)
|
||||
]
|
||||
)
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user