You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
However the task will run the command in sh which does not support source. It works by using . which is POSIX and not bash (and some other shell) specific.
Describe the bug
The documentation describes how to use a Python virtualenv with the
JFrogPip@1
Azure DevOps task: https://github.com/jfrog/jfrog-azure-devops-extension?tab=readme-ov-file#JFrog-Pip-TaskThe variable
virtualEnvActivation
should contain a command to source the activation script.However the task will run the command in
sh
which does not supportsource
. It works by using.
which is POSIX and not bash (and some other shell) specific.https://nodejs.org/api/child_process.html#child_processexecsynccommand-options
child_process.execSync(command[, options])
Current behavior
Reproduction steps
Run the JFrogPip@1 task in Azure DevOps using a venv with
virtualEnvActivation
as described in the documentation.Expected behavior
No response
Azure DevOps extension name and version
JFrogPip@1
JFrog CLI version
JFrog CLI version: 2.56.1
Operating system type and version
Debian 12
JFrog Artifactory version (if relevant)
No response
JFrog Xray version (if relevant)
No response
JFrog Distribution version (if relevant)
No response
The text was updated successfully, but these errors were encountered: