add Jenkinsfile and update prminitives

This commit is contained in:
2021-02-12 12:35:14 +01:00
parent 90c540fb4f
commit f7bedb8ccb
2 changed files with 60 additions and 3 deletions
Vendored
+24
View File
@@ -0,0 +1,24 @@
pipeline {
agent none
stages {
stage("Setup") {
agent any
steps {
sh 'pip install sphinx'
}
}
stage("Build") {
agent any
steps {
sh 'make -C docs html'
}
}
stage("Deploy") {
agent any
steps {
sh '/bin/rm -rf /var/www/html/docs/solidLib/* || echo ""'
sh 'rsync -a ./docs/_build/html/* /var/www/html/docs/solidLib/'
}
}
}
}