mirror of
https://github.com/rclone/rclone.git
synced 2024-12-12 02:02:02 +01:00
28 lines
563 B
Plaintext
28 lines
563 B
Plaintext
|
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'
|
||
|
}
|
||
|
}
|
||
|
}
|
||
|
}
|