rclone/vendor/storj.io/drpc/Jenkinsfile
2020-05-12 15:56:50 +00:00

28 lines
563 B
Groovy

pipeline {
agent {
dockerfile {
filename 'Dockerfile.jenkins'
args '-u root:root --cap-add SYS_PTRACE -v "/tmp/gomod":/go/pkg/mod'
label 'main'
}
}
stages {
stage('Download') {
steps {
checkout scm
sh 'make download'
}
}
stage('Test') {
steps {
sh 'make test'
}
}
stage('Lint') {
steps {
sh 'make lint'
}
}
}
}