mirror of
https://github.com/rclone/rclone.git
synced 2024-11-30 04:15:26 +01:00
28 lines
563 B
Groovy
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'
|
|
}
|
|
}
|
|
}
|
|
}
|