Skip to content

Commit 2e600dc

Browse files
committed
ci: fix issue with testing standalone if job status is unstable
1 parent 80a5577 commit 2e600dc

1 file changed

Lines changed: 3 additions & 9 deletions

File tree

Jenkinsfile

Lines changed: 3 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -584,11 +584,9 @@ pipeline {
584584
steps{
585585
sh './contrib/create_mac_distrib.sh'
586586
stash includes: 'dist/*.tar.gz', name: 'APPLE_APPLICATION_X86_64'
587+
archiveArtifacts artifacts: 'dist/*.tar.gz', fingerprint: true
587588
}
588589
post{
589-
success{
590-
archiveArtifacts artifacts: 'dist/*.tar.gz', fingerprint: true
591-
}
592590
cleanup{
593591
sh "${tool(name: 'Default', type: 'git')} clean -dfx"
594592
cleanWs(
@@ -645,11 +643,9 @@ pipeline {
645643
steps{
646644
sh './contrib/create_mac_distrib.sh'
647645
stash includes: 'dist/*.tar.gz', name: 'APPLE_APPLICATION_ARM64'
646+
archiveArtifacts artifacts: 'dist/*.tar.gz', fingerprint: true
648647
}
649648
post{
650-
success{
651-
archiveArtifacts artifacts: 'dist/*.tar.gz', fingerprint: true
652-
}
653649
cleanup{
654650
sh "${tool(name: 'Default', type: 'git')} clean -dfx"
655651
cleanWs(
@@ -715,11 +711,9 @@ pipeline {
715711
bat(script: 'powershell contrib/create_windows_distrib.ps1')
716712
}
717713
stash includes: 'dist/*.zip', name: 'WINDOWS_APPLICATION_X86_64'
714+
archiveArtifacts artifacts: 'dist/*.zip', fingerprint: true
718715
}
719716
post{
720-
success{
721-
archiveArtifacts artifacts: 'dist/*.zip', fingerprint: true
722-
}
723717
cleanup{
724718
cleanWs(
725719
deleteDirs: true,

0 commit comments

Comments
 (0)