Skip to content

Commit b3c8580

Browse files
authored
SRE-2736 test: propagate Allow-unstable-test to CI_ALLOW_UNSTABLE_TEST (#455)
Propagate the value of the Allow-unstable-test commit pragma to CI_ALLOW_UNSTABLE_TEST parameter of package downstream build. Signed-off-by: Tomasz Gromadzki <[email protected]>
1 parent 19e2837 commit b3c8580

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

vars/packageBuildingPipelineDAOSTest.groovy

+4-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
#!/usr/bin/groovy
22
/* groovylint-disable DuplicateMapLiteral, DuplicateStringLiteral, NestedBlockDepth, VariableName */
33
/* Copyright (C) 2019-2024 Intel Corporation
4+
* Copyright (C) 2025 Hewlett Packard Enterprise Development LP
45
* All rights reserved.
56
*
67
* Redistribution and use in source and binary forms, with or without
@@ -809,7 +810,9 @@ void call(Map pipeline_args) {
809810
!('leap15' in distros)),
810811
booleanParam(name: 'CI_DEB_Ubuntu20_NOBUILD',
811812
value: pipeline_args.get('skip-build', true) ||
812-
!('ubuntu20.04' in distros))
813+
!('ubuntu20.04' in distros)),
814+
booleanParam(name: 'CI_ALLOW_UNSTABLE_TEST',
815+
value: cachedCommitPragma('Allow-unstable-test').toLowerCase() == 'true')
813816
]
814817
} //steps
815818
post {

0 commit comments

Comments
 (0)