5484cb7079
* ci: add Jenkins and Docker file for PR and doc builds * Fixing waku-bindings dependacy definitions * Add post cleanup and musl-dev to Jenkinsfile * Add go to the Dockerfile for ci * GOCACHE set to tmp for ci builds * Use slim-bullseye docker image for ci builds * Update ci/Jenkinsfile.docs Co-authored-by: Jakub <i+github@always.fail> * Add image version and env vars for docs build * Remove duplicated environment section * Add missing rust dependencies * Split jenkins file into linux and macos targets * Removing github actions for PR checks * Add explicit versions to the shell.nix dependencies * Add jenkins libs required for nix * Use default rust-bin version that includes clippy and fmt * Add readme to ci folder Co-authored-by: Jakub <i+github@always.fail>
41 lines
687 B
Plaintext
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'
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|