Skip to content

Commit 4f1756c

Browse files
committed
fix target_stash value
Signed-off-by: Oksana Salyk <oksana.salyk@hpe.com>
1 parent 1afa072 commit 4f1756c

File tree

1 file changed

+1
-7
lines changed

1 file changed

+1
-7
lines changed

vars/unitTest.groovy

Lines changed: 1 addition & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -149,19 +149,13 @@ Map call(Map config = [:]) {
149149
inst_repos: config.get('inst_repos', ''),
150150
inst_rpms: inst_rpms)
151151
// image_version-compiler-build_type
152-
String target_stash = ${image_version}
152+
String target_stash = image_version
153153
target_stash += '-' + ${stage_info['compiler']}
154154
if (stage_info['build_type']) {
155155
target_stash += '-' + stage_info['build_type']
156156
}
157157
println("target_stash = ${target_stash}")
158158

159-
println "DEBUG: config.image_version = ${config.get('image_version', '')}"
160-
println "DEBUG: stage_info.ci_target = ${stage_info['ci_target']}"
161-
println "DEBUG: stage_info.distro_version = ${stage_info['distro_version']}"
162-
println "DEBUG: wyliczone image_version = ${(stage_info['ci_target'] =~ /([a-z]+)(.*)/)[0][1] + stage_info['distro_version']}"
163-
println "DEBUG: final image_version = ${image_version}"
164-
165159
List stashes = []
166160
if (config['stashes']) {
167161
stashes = config['stashes']

0 commit comments

Comments
 (0)