Jenkinsfile.

This commit is contained in:
Maciej Prill 2022-10-24 08:46:26 +02:00
parent 7ea51f6ded
commit c3751d1ba2

17
Jenkinsfile vendored
View File

@ -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
)
]
)
}
}
}
}