Skip to content

Commit

Permalink
Upload generated documentation
Browse files Browse the repository at this point in the history
  • Loading branch information
sjoelund committed Apr 4, 2019
1 parent c1d8a52 commit 6c9b69c
Showing 1 changed file with 20 additions and 0 deletions.
20 changes: 20 additions & 0 deletions Jenkinsfile
Expand Up @@ -417,6 +417,26 @@ pipeline {
sshPublisher(publishers: [sshPublisherDesc(configName: 'ModelicaComplianceReports', transfers: [sshTransfer(sourceFiles: 'compliance-*html')])])
}
}
stage('upload-doc') {
agent {
docker {
image 'docker.openmodelica.org/build-deps:v1.13'
label 'linux'
alwaysPull true
}
}
when {
not {
changeRequest()
}
}
steps {
unstash 'usersguide'
sh 'tar xJf OpenModelicaUsersGuide-${tagName()}.tar.xz'
sh 'mv OpenModelicaUsersGuide ${tagName()}'
sshPublisher(publishers: [sshPublisherDesc(configName: 'OpenModelicaUsersGuide', transfers: [sshTransfer(sourceFiles: 'OpenModelicaUsersGuide-${tagName()},${tagName()}')])])
}
}
}
}
}
Expand Down

0 comments on commit 6c9b69c

Please sign in to comment.