From 258546d13ce93aa0599e5b257998ba33013579aa Mon Sep 17 00:00:00 2001 From: Jim Nicholson Date: Tue, 13 Feb 2024 02:48:45 -0800 Subject: [PATCH] Don't go unstable if no version can be determined --- vars/findVersionFromNexusRepo.groovy | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/vars/findVersionFromNexusRepo.groovy b/vars/findVersionFromNexusRepo.groovy index 3d136df..7e23883 100644 --- a/vars/findVersionFromNexusRepo.groovy +++ b/vars/findVersionFromNexusRepo.groovy @@ -56,8 +56,8 @@ Map call(Map config = [:], Map queryParams = [:]) { version = latest.version } } else { - version = '0.0.1' - unstable('No matching assets found, assuming this is the first version') + version = '0.0.0' + echo 'INFO: No matching assets found, assuming this is the first version.' } return version }