Add Jenkins job for e2e tests purpose

This commit is contained in:
Tomasz Sęk 2019-09-03 19:22:35 +02:00
parent 73c00a08ac
commit 1c147e1899
No known key found for this signature in database
GPG Key ID: DC356D23F6A644D0
2 changed files with 34 additions and 0 deletions

31
cicd/jobs/e2e.jenkins Normal file
View File

@ -0,0 +1,31 @@
#!/usr/bin/env groovy
pipelineJob('e2e-jenkins-operator') {
displayName('Dummy job to e2e testing')
logRotator {
numToKeep(10)
daysToKeep(30)
}
configure { project ->
project / 'properties' / 'org.jenkinsci.plugins.workflow.job.properties.DurabilityHintJobProperty' {
hint('PERFORMANCE_OPTIMIZED')
}
}
definition {
cpsScm {
scm {
git {
remote {
url('https://github.com/jenkinsci/kubernetes-operator.git')
credentials('jenkins-operator')
}
branches('*/master')
}
}
scriptPath('cicd/pipelines/e2e.jenkins')
}
}
}

View File

@ -0,0 +1,3 @@
#!/usr/bin/env groovy
println "It's working !!!"