Skip to content

Commit

Permalink
doc: Have jenkins generate build output for viewing
Browse files Browse the repository at this point in the history
Change-Id: I5fd951022c73616aa3b850d8e04b2c72f23a7791
  • Loading branch information
haylinmoore committed Aug 27, 2024
1 parent 793dbe7 commit 8555880
Showing 1 changed file with 20 additions and 0 deletions.
20 changes: 20 additions & 0 deletions Jenkinsfile
Original file line number Diff line number Diff line change
Expand Up @@ -45,5 +45,25 @@ pipeline {
}
}
}

stage('Build and Publish Documentation') {
steps {
container('artools') {
dir("${WORKSPACE}") {
sh "pip install -r requirements.txt"
sh "sphinx-build docsrc _build"

publishHTML (target: [
allowMissing: false,
alwaysLinkToLastBuild: false,
keepAll: true,
reportDir: '_build',
reportFiles: 'index.html',
reportName: 'Documentation'
])
}
}
}
}
}
}

0 comments on commit 8555880

Please sign in to comment.