Uploaded image for project: 'Jenkins'
  1. Jenkins
  2. JENKINS-63542

since jenkins version 2.242 -> defined maven profile is ignored the first time it is built on the day

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Critical Critical
    • maven-plugin
    • None

      The first building of the day is always built with the wrong profile. There are three profiles on the Jenkins system. Development, test and productive.

      The first build always builds the "prod-server" profile! This is critical because the productive database is also accessed!

      The subsequent builds will be built with the correct profiles.

      Dev
      -T 1C clean install -P dev-server -DskipTests -Dmaven.wagon.http.ssl.insecure = true -Dmaven.wagon.http.ssl.allowall = true

      test
      -T 1C clean install -P test-server -DskipTests -Dmaven.wagon.http.ssl.insecure = true -Dmaven.wagon.http.ssl.allowall = true

      Prod
      -T 1C clean install -P prod-server -DskipTests -Dmaven.wagon.http.ssl.insecure = true -Dmaven.wagon.http.ssl.allowall = true

            Unassigned Unassigned
            steff Steven Hachel
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated: