Skip to content

Commit 5bd1f9b

Browse files
committed
Merge branch 'JenkinsAssertGitUnchanged' into 'master'
jenkins: check for changed files after running ant clean jenkins - do not abort logs and reports See merge request exedio/cope!1522
2 parents 742a1be + fb93bbc commit 5bd1f9b

1 file changed

Lines changed: 3 additions & 0 deletions

File tree

Jenkinsfile

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -89,6 +89,7 @@ try
8989
}
9090
sh "docker logs " + c.id + " &> apache.log"
9191
archiveArtifacts 'apache.log'
92+
shSilent("rm -f apache.log")
9293
}
9394
}
9495

@@ -111,6 +112,8 @@ try
111112
'tomcat/logs/*,' +
112113
'build/testtmpdir'
113114
)
115+
assertGitUnchanged()
116+
114117
if (isRelease || env.BRANCH_NAME.contains("archiveSuccessArtifacts"))
115118
archiveArtifacts fingerprint: true, artifacts: 'build/success/*'
116119
plot(

0 commit comments

Comments
 (0)