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

    • 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

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

          Steven Hachel created issue -
          Steven Hachel made changes -
          Assignee New: Steven Hachel [ steff ]
          Steven Hachel made changes -
          Assignee Original: Steven Hachel [ steff ]
          Steven Hachel made changes -
          Environment New: java.runtime.name: OpenJDK Runtime Environment
          java.runtime.version: 1.8.0_242-b06
          tomcat: tomcat8
          CATALINA_OPTS: -Xms1024m -Xmx1024m -DJENKINS_HOME=/home/ticketuser/.jenkins/ -Xmx1G

          Linux:
          Distributor ID: Debian
          Description: Debian GNU/Linux 8.11 (jessie)
          Release: 8.11
          Codename: jessie

          CPU: 8
          RAM: 8GB
          Steven Hachel made changes -
          Status Original: Open [ 1 ] New: In Progress [ 3 ]
          Steven Hachel made changes -
          Status Original: In Progress [ 3 ] New: Open [ 1 ]

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

              Created:
              Updated: