-
Bug
-
Resolution: Unresolved
-
Minor
-
None
We want to use the azureWebAppPublish step in our jenkins file for a multibranch pipeline build.
We have our build agents configured to find the git assembly in "c:\Program..."
The azureWebAppPublish plugin however seems to ignore this Setting and fails with
java.io.IOException: Cannot run program "/usr/bin/git"
Our step is like this:
steps { azureWebAppPublish appName: 'FOO', azureCredentialsId: 'FOO', filePath: '**', publishType: 'file', resourceGroup: 'FOO', sourceDirectory: 'artifacts/'}
The plugin does use the configured git when used via the UI and work as expected, only as pipeline build and in a jenkins file it ignores the config.
Thx & BR Matthias
[JENKINS-57082] Azure Deployment in Jenkins pipeline ignores Git config and searches for Linux git command
Description |
Original:
We want to use the azureWebAppPublish step in our jenkins file for a multibranch pipeline build. We have our build agents configured to find the git assembly in "c:\Program..." The azureWebAppPublish plugin however seems to ignore this Setting and fails with {quote}{{java.io.IOException: Cannot run program "/usr/bin/git"}} {quote} Our step is like this: {quote}steps { azureWebAppPublish appName: 'FOO', azureCredentialsId: 'FOO', filePath: '**', publishType: 'file', resourceGroup: 'FOO', sourceDirectory: 'artifacts/' } {quote} The plugin *does use* the configured git *when configured via the UI* and work as expected, only as pipeline build and in a jenkins file it ignores the config. Thx & BR Matthias |
New:
We want to use the azureWebAppPublish step in our jenkins file for a multibranch pipeline build. We have our build agents configured to find the git assembly in "c:\Program..." The azureWebAppPublish plugin however seems to ignore this Setting and fails with {quote}{{java.io.IOException: Cannot run program "/usr/bin/git"}} {quote} Our step is like this: {quote}steps \{ azureWebAppPublish appName: 'FOO', azureCredentialsId: 'FOO', filePath: '**', publishType: 'file', resourceGroup: 'FOO', sourceDirectory: 'artifacts/'} {quote} The plugin *does use* the configured git *when configured via the UI* and work as expected, only as pipeline build and in a jenkins file it ignores the config. Thx & BR Matthias |
Description |
Original:
We want to use the azureWebAppPublish step in our jenkins file for a multibranch pipeline build. We have our build agents configured to find the git assembly in "c:\Program..." The azureWebAppPublish plugin however seems to ignore this Setting and fails with {quote}{{java.io.IOException: Cannot run program "/usr/bin/git"}} {quote} Our step is like this: {quote}steps \{ azureWebAppPublish appName: 'FOO', azureCredentialsId: 'FOO', filePath: '**', publishType: 'file', resourceGroup: 'FOO', sourceDirectory: 'artifacts/'} {quote} The plugin *does use* the configured git *when configured via the UI* and work as expected, only as pipeline build and in a jenkins file it ignores the config. Thx & BR Matthias |
New:
We want to use the azureWebAppPublish step in our jenkins file for a multibranch pipeline build. We have our build agents configured to find the git assembly in "c:\Program..." The azureWebAppPublish plugin however seems to ignore this Setting and fails with {quote}{{java.io.IOException: Cannot run program "/usr/bin/git"}} {quote} Our step is like this: {quote}steps \{ azureWebAppPublish appName: 'FOO', azureCredentialsId: 'FOO', filePath: '**', publishType: 'file', resourceGroup: 'FOO', sourceDirectory: 'artifacts/'} {quote} The plugin *does use* the configured git *when used via the UI* and work as expected, only as pipeline build and in a jenkins file it ignores the config. Thx & BR Matthias |
Assignee | Original: Azure DevOps [ azure_devops ] | New: Jie Shen [ jieshe ] |
Status | Original: Open [ 1 ] | New: In Progress [ 3 ] |