Skip to content

Commit eb30f0a

Browse files
committed
fix bundles filenames in Jenkinsfile
Signed-off-by: Andrew Hsu <[email protected]>
1 parent ad29f9e commit eb30f0a

1 file changed

Lines changed: 7 additions & 7 deletions

File tree

Jenkinsfile

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -366,9 +366,9 @@ pipeline {
366366
'''
367367

368368
sh '''
369-
echo "Creating s390x-bundles.tar.gz"
369+
echo "Creating s390x-integration-bundles.tar.gz"
370370
# exclude overlay2 directories
371-
find bundles -path '*/root/*overlay2' -prune -o -type f \\( -name '*.log' -o -name '*.prof' \\) -print | xargs tar -czf s390x-bundles.tar.gz
371+
find bundles -path '*/root/*overlay2' -prune -o -type f \\( -name '*.log' -o -name '*.prof' \\) -print | xargs tar -czf s390x-integration-bundles.tar.gz
372372
'''
373373

374374
archiveArtifacts artifacts: 's390x-integration-bundles.tar.gz'
@@ -441,11 +441,11 @@ pipeline {
441441
'''
442442

443443
sh '''
444-
echo "Creating bundles.tar.gz"
445-
find bundles -name '*.log' | xargs tar -czf z-integration-cli-bundles.tar.gz
444+
echo "Creating s390x-integration-cli-bundles.tar.gz"
445+
find bundles -path '*/root/*overlay2' -prune -o -type f \\( -name '*.log' -o -name '*.prof' \\) -print | xargs tar -czf s390x-integration-cli-bundles.tar.gz
446446
'''
447447

448-
archiveArtifacts artifacts: 'z-integration-cli-bundles.tar.gz'
448+
archiveArtifacts artifacts: 's390x-integration-cli-bundles.tar.gz'
449449
}
450450
cleanup {
451451
sh 'make clean'
@@ -600,8 +600,8 @@ pipeline {
600600
'''
601601

602602
sh '''
603-
echo "Creating bundles.tar.gz"
604-
find bundles -name '*.log' | xargs tar -czf powerpc-integration-cli-bundles.tar.gz
603+
echo "Creating powerpc-integration-cli-bundles.tar.gz"
604+
find bundles -path '*/root/*overlay2' -prune -o -type f \\( -name '*.log' -o -name '*.prof' \\) -print | xargs tar -czf powerpc-integration-cli-bundles.tar.gz
605605
'''
606606

607607
archiveArtifacts artifacts: 'powerpc-integration-cli-bundles.tar.gz'

0 commit comments

Comments
 (0)