nomos-node/ci/Jenkinsfile.docs

41 lines
687 B
Plaintext

pipeline {
agent {
dockerfile {
label 'linux'
dir 'ci'
}
}
options {
disableConcurrentBuilds()
buildDiscarder(logRotator(
numToKeepStr: '20',
daysToKeepStr: '30',
))
}
environment {
GIT_COMMITTER_NAME = 'status-im-auto'
GIT_COMMITTER_EMAIL = 'auto@status.im'
GIT_SSH_COMMAND = 'ssh -o StrictHostKeyChecking=no'
GOPATH = '/tmp/go'
GOCACHE = '/tmp/'
}
stages {
stage('Build') {
steps {
sh 'cargo doc --no-deps'
}
}
stage('Publish') {
steps {
sshagent(credentials: ['status-im-auto-ssh']) {
sh 'ghp-import -p target/doc'
}
}
}
}
}