Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 10 of 185 for detector (0.05 seconds)

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

    import org.apache.maven.api.cli.cisupport.CIInfo;
    
    /**
     * CI detector helper: it uses service discovery to discover {@link CIDetector}s. If resulting list has more than
     * one element, it will remove the {@link GenericCIDetector} result, assuming a more specific one is also present.
     */
    public final class CIDetectorHelper {
        private CIDetectorHelper() {}
    
        public static List<CIInfo> detectCI() {
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Sun Apr 13 18:50:07 GMT 2025
    - 1.9K bytes
    - Click Count (0)
  2. .github/workflows/detect-conflicts.yml

    name: "Conflict detector"
    on:
      push:
      pull_request_target:
        types: [synchronize]
    
    jobs:
      main:
        permissions:
          contents: read
          pull-requests: write
        runs-on: ubuntu-latest
        steps:
          - name: Check if PRs have merge conflicts
            uses: eps1lon/actions-label-merge-conflict@v3
            with:
              dirtyLabel: "conflicts"
              repoToken: "${{ secrets.GITHUB_TOKEN }}"
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Fri Sep 05 08:33:44 GMT 2025
    - 499 bytes
    - Click Count (0)
  3. impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/cisupport/GenericCIDetector.java

     * detector result IF there are also any other returned via discovered services.
     */
    public class GenericCIDetector implements CIDetector {
        public static final String NAME = "Generic";
    
        private static final String CI = "CI";
    
        @Override
        public Optional<CIInfo> detectCI() {
            String ciEnv = System.getenv(CI);
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Sun Apr 13 18:50:07 GMT 2025
    - 1.9K bytes
    - Click Count (0)
  4. impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/cisupport/CIDetector.java

    import org.apache.maven.api.cli.cisupport.CIInfo;
    
    /**
     * Service interface to detect CI system process runs on, if any.
     *
     * @since 4.0.0
     */
    public interface CIDetector {
        /**
         * Returns non-empty optional with CI information, if CI is detected, empty otherwise.
         */
        Optional<CIInfo> detectCI();
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Sun Apr 13 18:50:07 GMT 2025
    - 1.2K bytes
    - Click Count (0)
  5. impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/BaseParser.java

        }
    
        @Nullable
        protected CIInfo detectCI(LocalContext context) {
            List<CIInfo> detected = CIDetectorHelper.detectCI();
            if (detected.isEmpty()) {
                return null;
            } else if (detected.size() > 1) {
                // warn
                context.parserRequest
                        .logger()
                        .warn("Multiple CI systems detected: "
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Fri Oct 10 07:39:11 GMT 2025
    - 25.5K bytes
    - Click Count (0)
  6. impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/cisupport/CircleCIDetector.java

    import org.apache.maven.api.cli.cisupport.CIInfo;
    
    /**
     * Circle CI support.
     */
    public class CircleCIDetector implements CIDetector {
        public static final String NAME = "CircleCI";
    
        private static final String CIRCLECI = "CIRCLECI";
    
        @Override
        public Optional<CIInfo> detectCI() {
            String ciEnv = System.getenv(CIRCLECI);
            if ("true".equals(ciEnv)) {
                return Optional.of(new CIInfo() {
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Sun Apr 13 18:50:07 GMT 2025
    - 1.5K bytes
    - Click Count (0)
  7. impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/cisupport/JenkinsCIDetector.java

    import org.apache.maven.api.cli.cisupport.CIInfo;
    
    /**
     * Jenkins CI support.
     */
    public class JenkinsCIDetector implements CIDetector {
        public static final String NAME = "Jenkins";
    
        private static final String WORKSPACE = "WORKSPACE";
    
        @Override
        public Optional<CIInfo> detectCI() {
            String workspace = System.getenv(WORKSPACE);
            if (workspace != null && !workspace.trim().isEmpty()) {
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Sun Apr 13 18:50:07 GMT 2025
    - 1.5K bytes
    - Click Count (0)
  8. misc/ios/detect.go

    // Use of this source code is governed by a BSD-style
    // license that can be found in the LICENSE file.
    
    //go:build ignore
    
    // detect attempts to autodetect the correct
    // values of the environment variables
    // used by go_ios_exec.
    // detect shells out to ideviceinfo, a third party program that can
    // be obtained by following the instructions at
    // https://github.com/libimobiledevice/libimobiledevice.
    Created: Tue Dec 30 11:13:12 GMT 2025
    - Last Modified: Thu Oct 19 23:33:30 GMT 2023
    - 3.2K bytes
    - Click Count (0)
  9. impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/cisupport/TeamcityCIDetector.java

    import org.apache.maven.api.cli.cisupport.CIInfo;
    
    /**
     * TeamCity CI support.
     */
    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()) {
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Sun Apr 13 18:50:07 GMT 2025
    - 1.5K bytes
    - Click Count (0)
  10. impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/cisupport/GithubCIDetector.java

    /**
     * GitHub CI support.
     */
    public class GithubCIDetector implements CIDetector {
        public static final String NAME = "GitHub";
    
        private static final String GITHUB_ACTIONS = "GITHUB_ACTIONS";
        private static final String RUNNER_DEBUG = "RUNNER_DEBUG";
    
        @Override
        public Optional<CIInfo> detectCI() {
            String ciEnv = System.getenv(GITHUB_ACTIONS);
            if ("true".equals(ciEnv)) {
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Sun Apr 13 18:50:07 GMT 2025
    - 1.7K bytes
    - Click Count (0)
Back to Top