mirror of
https://github.com/rclone/rclone.git
synced 2024-12-14 03:01:16 +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'
|
||
|
}
|
||
|
}
|
||
|
}
|
||
|
}
|