Skip to content

Commit

Permalink
SRE-2736: propagate Allow-unstable-test to CI_ALLOW_UNSTABLE_TEST
Browse files Browse the repository at this point in the history
Propagate the value of Allow-unstable-test commit pragma to
CI_ALLOW_UNSTABLE_TEST parameter of package downstream build.

Signed-off-by: Tomasz Gromadzki <[email protected]>
  • Loading branch information
grom72 committed Jan 14, 2025
1 parent 19e2837 commit 9737ae2
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion vars/packageBuildingPipelineDAOSTest.groovy
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
#!/usr/bin/groovy
/* groovylint-disable DuplicateMapLiteral, DuplicateStringLiteral, NestedBlockDepth, VariableName */
/* Copyright (C) 2019-2024 Intel Corporation
* Copyright (C) 2025 Hewlett Packard Enterprise Development LP
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
Expand Down Expand Up @@ -809,7 +810,9 @@ void call(Map pipeline_args) {
!('leap15' in distros)),
booleanParam(name: 'CI_DEB_Ubuntu20_NOBUILD',
value: pipeline_args.get('skip-build', true) ||
!('ubuntu20.04' in distros))
!('ubuntu20.04' in distros)),
booleanParam(name: 'CI_ALLOW_UNSTABLE_TEST',
value: cachedCommitPragma('Allow-unstable-test').toLowerCase() == 'true')
]
} //steps
post {
Expand Down

0 comments on commit 9737ae2

Please sign in to comment.