Intellipaat Back

Explore Courses Blog Tutorials Interview Questions
0 votes
2 views
in Azure by (7k points)

I tried to run a simple c++ Azure pipeline on a self-hosted windows computer

This is what I face

##[warning]An image label with the label Weltgeist does not exist.

,##[error]The remote provider was unable to process the request.

Pool: Azure Pipelines

Image: Weltgeist

Started: Today at 10:16 p.m.

Duration: 14m 23s

1 Answer

0 votes
by (31.9k points)

Try as below:

trigger:

- master

pool:

  name: Default

  demands:

   - agent.name -equals Weltgeist

steps:

- script: |

    mkdir build

    g++ -o ./build/hello-world.exe ./src/hello-world.cpp

  displayName: 'Run a build script'

- script: |

    cd build

    hello-world.exe

    cd ..

  displayName: 'Run Display task'

- script: |

    rm -r build

  displayName: 'Clean task'

Want to become Azure Developer, check out this Microsoft Azure Training.

31k questions

32.8k answers

501 comments

693 users

Browse Categories

...