Skip to content

Commit

Permalink
Fixes #22563: Improve HTML doc of methods (#4724)
Browse files Browse the repository at this point in the history
  • Loading branch information
amousset committed Mar 30, 2023
1 parent 81c5771 commit b3a5aa9
Show file tree
Hide file tree
Showing 20 changed files with 996 additions and 956 deletions.
37 changes: 37 additions & 0 deletions Jenkinsfile
Original file line number Diff line number Diff line change
Expand Up @@ -442,6 +442,43 @@ pipeline {
}
}
}
stage('policies') {
agent {
dockerfile {
filename 'policies/Dockerfile'
additionalBuildArgs "--build-arg USER_ID=${env.JENKINS_UID} --build-arg RUDDER_VER=${env.RUDDER_VERSION}-nightly"
// mount cache
args '-v /srv/cache/cargo:/usr/local/cargo/registry -v /srv/cache/sccache:/home/jenkins/.cache/sccache'
}
}
steps {
catchError(buildResult: 'SUCCESS', stageResult: 'FAILURE') {
dir('policies') {
dir('target/repos') {
dir('ncf') {
git url: 'https://github.com/normation/ncf.git'
}
dir('dsc') {
git url: 'https://github.com/normation/rudder-agent-windows.git',
credentialsId: '17ec2097-d10e-4db5-b727-91a80832d99d'
}
}
sh script: 'make docs', label: 'policies lib doc'
withCredentials([sshUserPrivateKey(credentialsId: 'f15029d3-ef1d-4642-be7d-362bf7141e63', keyFileVariable: 'KEY_FILE', passphraseVariable: '', usernameVariable: 'KEY_USER')]) {
sh script: 'rsync -avz -e "ssh -o StrictHostKeyChecking=no -i${KEY_FILE} -p${SSH_PORT}" target/doc/book/ ${KEY_USER}@${HOST_DOCS}:/var/www-docs/techniques/${RUDDER_VERSION}', label: 'publish methods docs'
}
}
}
}
post {
failure {
script {
failedBuild = true
notifier.notifyResult("rust-team")
}
}
}
}
}
}
stage('End') {
Expand Down
Loading

0 comments on commit b3a5aa9

Please sign in to comment.