Skip to content

Pipeline task logs only available for the first stage #35

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
rossbuggins opened this issue Apr 9, 2024 · 3 comments
Closed

Pipeline task logs only available for the first stage #35

rossbuggins opened this issue Apr 9, 2024 · 3 comments
Assignees
Labels
bug Something isn't working
Milestone

Comments

@rossbuggins
Copy link

On multistage yaml pipelines we can only see the tasks for the first (build) stage, they are not shown for the deploy stages

@tiz-sharp
Copy link
Contributor

Hi @rossbuggins, @bonddim

Thanks for reporting this issue! 🚀 To investigate further, we need a few more details:

  • Are you experiencing this behavior with all multistage YAML pipelines, or just specific ones?
  • Could you share a sample pipeline YAML definition (or a simplified version) where the issue occurs?
    Let us know, and we’ll be happy to look into it!
    Thanks for your support. 🔍🚀

PurpleSoft Team

@bonddim
Copy link

bonddim commented Feb 7, 2025

Hi @tiz-sharp ,
This behavior is experienced with deployment jobs only.

app version: 3.1.0 for iOS

Examples:

two simple jobs (works as expected)
pool:
  vmImage: ubuntu-latest

jobs:
  - job: Build
    steps:
      - checkout: none
      - script: echo "Building..."
        displayName: "Building..."

  - job: DependentJob
    dependsOn: Build
    steps:
      - checkout: none
      - script: echo "Some Job..."
        displayName: "echo..."

Image

multi-stage
pool:
  vmImage: ubuntu-latest

stages:
  - stage: CI
    jobs:
      - job: Build
        steps:
          - checkout: none
          - script: echo "Building..."
            displayName: "Building..."

  - stage: CD
    jobs:
      - deployment: Deploy
        environment: sandbox
        strategy:
          runOnce:
            deploy:
              steps:
                - script: echo "Deploying..."
                  displayName: "Deploying..."

Image

multi-job
pool:
  vmImage: ubuntu-latest

jobs:
  - job: Build
    steps:
      - checkout: none
      - script: echo "Building..."
        displayName: "Building..."

  - deployment: Deploy
    environment: sandbox
    dependsOn: Build
    strategy:
      runOnce:
        deploy:
          steps:
            - script: echo "Deploying..."
              displayName: "Deploying..."

Image

multi-stage with simple job after deployment
pool:
  vmImage: ubuntu-latest

stages:
  - stage: CI
    jobs:
      - job: Build
        steps:
          - script: echo "Building..."
            displayName: "Building..."

  - stage: CD
    jobs:
      - deployment: Deploy
        environment: sandbox
        strategy:
          runOnce:
            deploy:
              steps:
                - script: echo "Deploying..."
                  displayName: "Deploying..."
      - job: PostDeploy
        dependsOn: Deploy
        steps:
          - checkout: none
          - script: echo "Post-deploying..."
            displayName: "Post-deploying..."

Image

@sstasi95 sstasi95 self-assigned this Mar 7, 2025
@sstasi95 sstasi95 added the bug Something isn't working label Mar 7, 2025
@sstasi95 sstasi95 added this to the 3.4.0 milestone Mar 7, 2025
@sstasi95
Copy link
Contributor

sstasi95 commented Mar 7, 2025

Will be released next week

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

4 participants