Back

Explore Courses Blog Tutorials Interview Questions
0 votes
1 view
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.

Welcome to Intellipaat Community. Get your technical queries answered by top developers!

28.4k questions

29.7k answers

500 comments

94.7k users

Browse Categories

...