Add Jenkins job for e2e tests purpose
This commit is contained in:
parent
73c00a08ac
commit
1c147e1899
|
|
@ -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')
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
@ -0,0 +1,3 @@
|
|||
#!/usr/bin/env groovy
|
||||
|
||||
println "It's working !!!"
|
||||
Loading…
Reference in New Issue