-
Notifications
You must be signed in to change notification settings - Fork 36
/
Copy pathJenkinsfile
32 lines (30 loc) · 1016 Bytes
/
Jenkinsfile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
@Library('slack-notification')
import org.gradiant.jenkins.slack.SlackNotifier
pipeline {
agent none
stages {
stage('Tests') {
parallel {
stage('typos') {
agent {
dockerfile {
label 'generic-docker'
additionalBuildArgs '-f https://raw.githubusercontent.com/Normation/rudder-tools/refs/heads/master/ci/typos.Dockerfile'
args '-u 0:0'
}
}
steps {
sh script: 'typos --exclude "*.svg" --exclude "rudder-theme"', label: 'check typos'
}
post {
always {
script {
new SlackNotifier().notifyResult("docs-team")
}
}
}
}
}
}
}
}