Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for TEAMCITY_VERSION (0.07 sec)

  1. impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/cisupport/TeamcityCIDetector.java

     */
    public class TeamcityCIDetector implements CIDetector {
        public static final String NAME = "TeamCity";
    
        private static final String TEAMCITY_VERSION = "TEAMCITY_VERSION";
    
        @Override
        public Optional<CIInfo> detectCI() {
            String ciEnv = System.getenv(TEAMCITY_VERSION);
            if (ciEnv != null && !ciEnv.trim().isEmpty()) {
                return Optional.of(new CIInfo() {
                    @Override
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Sun Apr 13 18:50:07 UTC 2025
    - 1.5K bytes
    - Viewed (0)
  2. impl/maven-cli/src/test/java/org/apache/maven/cling/invoker/cisupport/CIDetectorHelperTest.java

    import static org.junit.jupiter.api.Assertions.assertEquals;
    
    public class CIDetectorHelperTest {
        private static final Set<String> ALL =
                Set.of("CIRCLECI", "CI", "WORKSPACE", "GITHUB_ACTIONS", "TEAMCITY_VERSION", "TRAVIS");
    
        @Test
        void none() throws Exception {
            assertEquals("NONE;", runner(Map.of()));
        }
    
        @Test
        void generic() throws Exception {
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Sun Apr 13 18:50:07 UTC 2025
    - 3.4K bytes
    - Viewed (0)
Back to top