fix: refs #5483 Jenkinsfile fixes
gitea/salix/pipeline/head This commit looks good Details

This commit is contained in:
Juan Ferrer 2024-01-30 19:30:26 +01:00
parent 624f61465a
commit 17c9054155
1 changed files with 2 additions and 1 deletions

3
Jenkinsfile vendored
View File

@ -156,7 +156,8 @@ pipeline {
}
always {
script {
if (!['master', 'test'].contains(env.BRANCH_NAME)) {
if (env.RUN_SOURCE == 'git'
&& !['master', 'test'].contains(env.BRANCH_NAME)) {
try {
junit 'junitresults.xml'
junit 'junit.xml'