diff --git a/cicd/jobs/e2e.jenkins b/cicd/jobs/e2e.jenkins new file mode 100644 index 00000000..e1cc35f3 --- /dev/null +++ b/cicd/jobs/e2e.jenkins @@ -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') + } + } +} \ No newline at end of file diff --git a/cicd/pipelines/e2e.jenkins b/cicd/pipelines/e2e.jenkins new file mode 100644 index 00000000..29e33fc2 --- /dev/null +++ b/cicd/pipelines/e2e.jenkins @@ -0,0 +1,3 @@ +#!/usr/bin/env groovy + +println "It's working !!!" \ No newline at end of file