Uploaded image for project: 'camunda BPM'
  1. camunda BPM
  2. CAM-7273

As a developer, I can inspect WAS / WLS server logs from CI

    Details

      Description

      AT
      • Store WAS / WLS server logs as build artifacts for easier inspection in case of failures

        Activity

        Hide
        christopher.zell Christopher Zell added a comment - - edited

        Hey I think the following line is wrong
        https://github.com/camunda-ci/jenkins-job-dsl-seed-jobs/blob/fc28ed15bca6b2da839a8e17fed0d4f9af0fae05/jobs/ci/ee/webapp_IT.dsl#L27

        should be

        cp ${WLS_DOMAIN_HOME}/servers/AdminServer/logs/*.* ${WORKSPACE}/wls-logs}
        

        See this log:
        https://hq2.camunda.com/jenkins/ci/view/7.7/job/7.7-EE-engine-IT-weblogic-12R2-postgresql-94/14/console

        11:29:40 cp: cannot stat ‘/home/camunda/oracle/domains/base_domain//home/camunda/oracle/domains/base_domain/servers/AdminServer/logs/*.*’: No such file or directory
        

        How it is possible to access the logs ? For example for this failing job https://hq2.camunda.com/jenkins/ci/view/7.7/job/7.7-EE-engine-IT-XA-websphere-85-postgresql-94/15/console

        Show
        christopher.zell Christopher Zell added a comment - - edited Hey I think the following line is wrong https://github.com/camunda-ci/jenkins-job-dsl-seed-jobs/blob/fc28ed15bca6b2da839a8e17fed0d4f9af0fae05/jobs/ci/ee/webapp_IT.dsl#L27 should be cp ${WLS_DOMAIN_HOME}/servers/AdminServer/logs/*.* ${WORKSPACE}/wls-logs} See this log: https://hq2.camunda.com/jenkins/ci/view/7.7/job/7.7-EE-engine-IT-weblogic-12R2-postgresql-94/14/console 11:29:40 cp: cannot stat ‘/home/camunda/oracle/domains/base_domain //home/camunda/oracle/domains/base_domain/servers/AdminServer/logs/*.*’: No such file or directory How it is possible to access the logs ? For example for this failing job https://hq2.camunda.com/jenkins/ci/view/7.7/job/7.7-EE-engine-IT-XA-websphere-85-postgresql-94/15/console

          People

          • Assignee:
            Unassigned
            Reporter:
            lipphardt Christian Lipphardt
          • Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development