jenkinsci / jenkinsci/azure-cli-plugin

az not found

Open
#15 2 comments 4 reactions 0 assignees View on GitHub
Dominant language
Java
Stars
5
Forks
18
PR merge metrics
No merged PRs in 30d

Description

Running into an issue where the az executable is not found, even though I have installed it on the worker node (a Windows build machine)

> C:\jenkins\workspace\projname\projname-Backend>exit 0
> Failure: /bin/sh: 1: az: not found
> Build step 'Azure CLI not found' changed build result to FAILURE

Why it's called for /bin/sh on a Windows machine I am not certain. I've installed it on the master (even though it is not the node executing the job) and I have the same results.

Is it related to the CLI plugin literally being called "Azure CLI not found" versus "Azure CLI" ?

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.