# "Building remotely" should always be in the build console output
- publisher:
    name: 'tripleo-upstream-release-node'
    publishers:
        - post-tasks:
            - matches:
                - log-text: Building remotely
              script:
                !include-raw:
                    - scripts/cico-node-done-from-ansible.sh

# "Building remotely" shows up regardless of job status,
# So this publisher should always run.
- publisher:
    name: 'tripleo-upstream-collect-logs'
    publishers:
        - post-tasks:
            - matches:
                - log-text: Building remotely
              script:
                !include-raw:
                    - scripts/tripleo-upstream-collect-logs.sh

- publisher:
    name: 'tripleo-upstream-dlrn-report'
    publishers:
        - post-tasks:
            - matches:
                - log-text: Container build and upload failed
              script: |
                  pushd $WORKSPACE/ci-config/jenkins/jobs
                    export DLRNAPI_USER="ciuser"
                    export SUCCESS="false"
                    bash -ex scripts/tripleo-upstream-dlrn-report.sh
                  popd
        - post-tasks:
            - matches:
                - log-text: Container build and upload succeeded
              run-if-job-successful: true
              script: |
                pushd $WORKSPACE/ci-config/jenkins/jobs
                  export DLRNAPI_USER="ciuser"
                  export SUCCESS="true"
                  bash -ex scripts/tripleo-upstream-dlrn-report.sh
                popd

# "Building remotely" should always be in the build console output
- publisher:
    name: 'tripleo-upstream-release-node'
    publishers:
        - post-tasks:
            - matches:
                - log-text: Building remotely
              script:
                !include-raw:
                    - scripts/cico-node-done-from-ansible.sh

# "Building remotely" shows up regardless of job status,
# So this publisher should always run.
- publisher:
    name: 'tripleo-upstream-collect-logs'
    publishers:
        - post-tasks:
            - matches:
                - log-text: Building remotely
              script:
                !include-raw:
                    - scripts/tripleo-upstream-collect-logs.sh

- publisher:
    name: 'tripleo-upstream-dlrn-report'
    publishers:
        - post-tasks:
            - matches:
                - log-text: Container build and upload failed
              script: |
                  pushd $WORKSPACE/ci-config/jenkins-v2/jobs
                    export DLRNAPI_USER="ciuser"
                    export SUCCESS="false"
                    bash -ex scripts/tripleo-upstream-dlrn-report.sh
                  popd
        - post-tasks:
            - matches:
                - log-text: Container build and upload succeeded
              run-if-job-successful: true
              script: |
                pushd $WORKSPACE/ci-config/jenkins-v2/jobs
                  export DLRNAPI_USER="ciuser"
                  export SUCCESS="true"
                  bash -ex scripts/tripleo-upstream-dlrn-report.sh
                popd

Fix reference for jenkins jobs directory in ppc jobs
Fix reference for jenkins jobs directory in ppc jobs

It was still pointing to legacy jenkins directory
which is now removed, so let's switch to jenkins-v2.

Change-Id: If3507c51583b82e21c99653350ea4a863a3964f1
