So that DS 3.1.0 depends on DWO 0.15.2, it's needed to update DWO 0.14 to DWO 0.15.2 in update-ds before update of DS from 3.0.0 to 3.1.0.
Possible solution:
stage("Update DWO") {
steps {
script {
echo "Update DWO CatalogSource"
String dwoCatalogSource = openshiftUtil.applyDwoOsbsCatalogSource(ocpVersion.toString(), "fast")
dwoUtil.updateDwo(dwoCatalogSource, "fast")
}
}
}