diff --git a/.ci/jenkins/Jenkinsfile.e2e.cluster b/.ci/jenkins/Jenkinsfile.e2e.cluster index 49476a3fc..d498d9c74 100644 --- a/.ci/jenkins/Jenkinsfile.e2e.cluster +++ b/.ci/jenkins/Jenkinsfile.e2e.cluster @@ -18,7 +18,7 @@ pipeline { options { timeout(time: 3, unit: 'HOURS') timestamps() - }p/kind-logs/ + } stages { stage('Setup pipeline') { @@ -155,6 +155,7 @@ String getOperatorVersion() { void setupCluster() { switch (getClusterName()) { case kindClusterPlatform: + installKind() setupKind() break case openshiftClusterPlatform: @@ -165,6 +166,10 @@ void setupCluster() { } } +void installKind() { + return sh(script: "command -v kind >/dev/null || go install sigs.k8s.io/kind@${KIND_VERSION}", returnStdout: true).trim() +} + void setupKind() { // Start kind kind.start()