jfrog / jfrog/jfrog-cli-security

JFrog CLI Task with dynamic command list

Open
#436 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

question
Dominant language
Go
Stars
13
Forks
50
Avg merge
3d 48m
Merged PRs (30d)
26

Description

We are automating our build process using JFrog Tasks, in Azure Devops Pipelines.

We are having issue in achieving dynamic commands. Using script, we can build different arficats and wants to use CLI task to run JFrog command to scan and push them to artifactory.

Due to mutliline commands and how its processing in JFrog Task, we are facing issues.

##[error]Error: Command failed: /azp/_work/_tool/jf/2.62.1/x64/jf -version \n jf docker scan

Is there any way to pass dynamic jf commands and execute the command successfully?

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reproducing the Azure DevOps JFrog Task invocation with the multiline dynamic command list and the displayed jf -version and jf docker scan error. Determine whether the task or CLI is responsible, then document the expected command-passing behavior and a reproducible test case.

Written by the indexing model from the issue text.

Assessment

Domain
ci-cd, cli
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.