ci: Add template validation to Jenkinsfile
node {
+ stage('Validate templates') {
+ slave {
+ withOpenshift {
+ withGo {
+ inside {
+ checkout scm
+ container(name: 'go') {
+ sh "support/validate-generated-templates.sh"
+ }
+ }
+ }
+ }
+ }
+ }
+
+ stage('Test templates') {
inNamespace(cloud: 'openshift', prefix: 'template-testing') {
- stage 'Test templates'
checkout scm
createEnvironment(
cloud: 'openshift',
@@ -14,3 +29,4 @@ node {
)
}
}
+}
