jenkinsci / jenkinsci/azure-cli-plugin

Job execution won't terminate with --debug option

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

Description

Since Azure errors aren't always so verbose, I've decided to give the user the possibility to trigger runs with --debug option enabled.
I'm running the following command in Jenkins using the azure-cli-plugin:

`azureCLI commands: [[exportVariablesString: '', script: "az group deployment create --name jenkins-ci-deployment --resource-group ${resource_group_name} --template-file ${arm_file_path} --parameters ${parameters_file_path} ${debug_command}"]], principalCredentialId: env.subscription`

I've noticed that when debug is enabled, even if the deployment correctly terminates, the only way to stop the job is to manually abort it.

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.