Skip to content

Commit

Permalink
Checks whether we are running in TeamCity as CI (#2629)
Browse files Browse the repository at this point in the history
  • Loading branch information
ncordon committed Mar 14, 2022
1 parent 1051406 commit df6838e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test-utils/src/main/java/apoc/util/TestUtil.java
Original file line number Diff line number Diff line change
Expand Up @@ -172,7 +172,7 @@ public static void assumeRunningInCI() {
}

public static boolean isRunningInCI() {
return "true".equals(System.getenv("CI"));
return "true".equals(System.getenv("CI")) || System.getenv("TEAMCITY_VERSION") != null;
}

public static URL getUrlFileName(String filename) {
Expand Down

0 comments on commit df6838e

Please sign in to comment.