diff --git a/jenkins-jobs/pipelines/connector_oracle_matrix_pipeline.groovy b/jenkins-jobs/pipelines/connector_oracle_matrix_pipeline.groovy
index 5cccbee50..1a828cdbe 100644
--- a/jenkins-jobs/pipelines/connector_oracle_matrix_pipeline.groovy
+++ b/jenkins-jobs/pipelines/connector_oracle_matrix_pipeline.groovy
@@ -79,10 +79,9 @@ pipeline {
sh '''
set -x
- ORACLE_ARTIFACT_VERSION=$(cat ${WORKSPACE}/debezium/pom.xml | grep "^ .*$" | awk -F'[><]' '{print $3}')
+ ORACLE_ARTIFACT_VERSION=$(cat ${WORKSPACE}/debezium/pom.xml | grep "^[[:space:]]*.*$" | awk -F'[><]' '{print $3}')
ORACLE_ARTIFACT_DIR="${HOME}/oracle-libs/${ORACLE_ARTIFACT_VERSION}.0"
-
- mvn org.apache.maven.plugins:maven-dependency-plugin:2.8:get -Dartifact=io.apicurio:apicurio-registry-distro-connect-converter:${APICURIO_ARTIFACT_VERSION}:zip
+
cd ${ORACLE_ARTIFACT_DIR}
mvn install:install-file -DgroupId=com.oracle.instantclient -DartifactId=ojdbc8 -Dversion=${ORACLE_ARTIFACT_VERSION} -Dpackaging=jar -Dfile=ojdbc8.jar
mvn install:install-file -DgroupId=com.oracle.instantclient -DartifactId=xstreams -Dversion=${ORACLE_ARTIFACT_VERSION} -Dpackaging=jar -Dfile=xstreams.jar
diff --git a/jenkins-jobs/pipelines/upstream_artifact_server_prepare_pipeline.groovy b/jenkins-jobs/pipelines/upstream_artifact_server_prepare_pipeline.groovy
index c2f112001..2a9e71163 100644
--- a/jenkins-jobs/pipelines/upstream_artifact_server_prepare_pipeline.groovy
+++ b/jenkins-jobs/pipelines/upstream_artifact_server_prepare_pipeline.groovy
@@ -49,7 +49,7 @@ pipeline {
]) {
sh '''
set -x
- ORACLE_ARTIFACT_VERSION=$(cat ${WORKSPACE}/debezium/pom.xml | grep "^ .*$" | awk -F'[><]' '{print $3}')
+ ORACLE_ARTIFACT_VERSION=$(cat ${WORKSPACE}/debezium/pom.xml | grep "^[[:space:]]*.*$" | awk -F'[><]' '{print $3}')
ORACLE_ARTIFACT_DIR="${HOME}/oracle-libs/${ORACLE_ARTIFACT_VERSION}.0"
mvn org.apache.maven.plugins:maven-dependency-plugin:2.8:get \\
diff --git a/jenkins-jobs/pipelines/upstream_kafka_connect_prepare_pipeline.groovy b/jenkins-jobs/pipelines/upstream_kafka_connect_prepare_pipeline.groovy
index 77c6e335a..265a95520 100644
--- a/jenkins-jobs/pipelines/upstream_kafka_connect_prepare_pipeline.groovy
+++ b/jenkins-jobs/pipelines/upstream_kafka_connect_prepare_pipeline.groovy
@@ -49,7 +49,7 @@ pipeline {
]) {
sh '''
set -x
- ORACLE_ARTIFACT_VERSION=$(cat ${WORKSPACE}/debezium/pom.xml | grep "^ .*$" | awk -F'[><]' '{print $3}')
+ ORACLE_ARTIFACT_VERSION=$(cat ${WORKSPACE}/debezium/pom.xml | grep "^[[:space:]]*.*$" | awk -F'[><]' '{print $3}')
ORACLE_ARTIFACT_DIR="${HOME}/oracle-libs/${ORACLE_ARTIFACT_VERSION}.0"
mvn org.apache.maven.plugins:maven-dependency-plugin:2.8:get \\