2
0
mirror of https://github.com/meganz/MEGAcmd synced 2025-08-30 13:27:44 +00:00

Run chmod in the post block.

This commit is contained in:
Vibhav Pant
2023-11-21 18:14:29 +05:30
parent d753a011df
commit 6e5fb5a9fc

View File

@@ -140,12 +140,6 @@ pipeline {
} }
} }
} }
stage("Fix test-results permissions"){
steps{
sh "chmod -R 777 ${megacmd_sources_workspace}/test-results"
}
}
} }
post{ post{
@@ -168,6 +162,7 @@ pipeline {
updateGitlabCommitStatus(name: 'Build linux', state: 'failed') updateGitlabCommitStatus(name: 'Build linux', state: 'failed')
} }
} }
sh "chmod -R 777 ${megacmd_sources_workspace}/test-results"
junit "**/test-results/*.xml" junit "**/test-results/*.xml"
archiveArtifacts artifacts: "**/test-results/megacmd-*-tests-asan-report.*" archiveArtifacts artifacts: "**/test-results/megacmd-*-tests-asan-report.*"
} }