mirror of
https://github.com/scm-manager/scm-manager.git
synced 2026-01-06 23:52:12 +01:00
Disable chromatic (#1801)
This commit is contained in:
5
Jenkinsfile
vendored
5
Jenkinsfile
vendored
@@ -213,6 +213,11 @@ void isBuildSuccess() {
|
||||
}
|
||||
|
||||
void withCheckEnvironment(Closure<Void> closure) {
|
||||
// surround call withChromaticEnvironment to enable chromatic analyzation
|
||||
closure.call()
|
||||
}
|
||||
|
||||
void withChromaticEnvironment(Closure<Void> closure) {
|
||||
// apply chromatic environment only if we are on a pr build or on the develop branch
|
||||
if (env.CHANGE_ID || env.BRANCH_NAME == 'develop') {
|
||||
withCredentials([
|
||||
|
||||
Reference in New Issue
Block a user