-
Notifications
You must be signed in to change notification settings - Fork 25
/
Copy pathJenkinsfile
47 lines (46 loc) · 1.07 KB
/
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
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
pipeline {
agent {
docker {
image 'kunickiaj/chart-testing'
args '--user root:root'
}
}
stages {
stage('checkout') {
steps {
checkout(
[
$class: 'GitSCM',
branches: [
[
name: '$GERRIT_BRANCH'
]
],
doGenerateSubmoduleConfigurations: false,
extensions: [
[
$class: 'BuildChooserSetting',
buildChooser: [
$class: 'GerritTriggerBuildChooser'
]
]
],
submoduleCfg: [],
userRemoteConfigs: [
[
credentialsId: 'a7eecc22-353e-499e-bfa0-754e69fb197a',
refspec: '$GERRIT_REFSPEC',
url: 'ssh://streamsets-ci@review.streamsets.net:29418/helm-charts'
]
]
]
)
}
}
stage('lint') {
steps {
sh "#!/bin/sh\nct lint --chart-dirs . --validate-maintainers=false --debug"
}
}
}
}