For example if run 1 is pending approval and run 2 is triggered, then run 1 should be rejected.
Is there a way in JFrog Pipelines to automatically reject steps of a previous run which are still pending approval?
70 Views Asked by Vivek Kodira At
1
There are 1 best solutions below
Related Questions in JFROG-PIPELINES
- Unable to download Artifactory using file specs from Jfrog via Jenkins pipelines
- Is there a way to configure a JFrog pipelines step that will only run for specific branches like master?
- JFrog Pipeline step fails with the error "Node failure"
- Pipeline step is failing with "fatal: reference is not a tree: 679e2fc3c2590f7dbaf64534a325ac60b4dc8689"
- Pipeline sync is failing with error: "Failed to sync hook with err: Webhook creation failed with err: postHook returned error 422"
- Is there a way in JFrog Pipelines to automatically reject steps of a previous run which are still pending approval?
- Where can I find the list of available runtime images for JFrog Pipelines?
- Jfrog Pipelines - Step failing with "All resource versions are not fetched"
- How can we limit a user to see and run only specific JFrog Pipelines?
- Unable to pull docker image in Jfrog pipelines build nodes
- Jfrog pipelines source sync is stuck in "Sync in progress" state
- JFROG pipelines Windows static node throws "check_win_containers_enabled : Windows Containers must be enabled" error on adding
- Jfrog pipeline embedded pipeline parent step is failing if one of the step in the embedded pipeline is skipped
- JFrog Pipelines does not come up after an upgrade
- How to scale Artifactory for 2000-3000 users?
Trending Questions
- UIImageView Frame Doesn't Reflect Constraints
- Is it possible to use adb commands to click on a view by finding its ID?
- How to create a new web character symbol recognizable by html/javascript?
- Why isn't my CSS3 animation smooth in Google Chrome (but very smooth on other browsers)?
- Heap Gives Page Fault
- Connect ffmpeg to Visual Studio 2008
- Both Object- and ValueAnimator jumps when Duration is set above API LvL 24
- How to avoid default initialization of objects in std::vector?
- second argument of the command line arguments in a format other than char** argv or char* argv[]
- How to improve efficiency of algorithm which generates next lexicographic permutation?
- Navigating to the another actvity app getting crash in android
- How to read the particular message format in android and store in sqlite database?
- Resetting inventory status after order is cancelled
- Efficiently compute powers of X in SSE/AVX
- Insert into an external database using ajax and php : POST 500 (Internal Server Error)
Popular Questions
- How do I undo the most recent local commits in Git?
- How can I remove a specific item from an array in JavaScript?
- How do I delete a Git branch locally and remotely?
- Find all files containing a specific text (string) on Linux?
- How do I revert a Git repository to a previous commit?
- How do I create an HTML button that acts like a link?
- How do I check out a remote Git branch?
- How do I force "git pull" to overwrite local files?
- How do I list all files of a directory?
- How to check whether a string contains a substring in JavaScript?
- How do I redirect to another webpage?
- How can I iterate over rows in a Pandas DataFrame?
- How do I convert a String to an int in Java?
- Does Python have a string 'contains' substring method?
- How do I check if a string contains a specific word?
The "Pending Approval" status comes specifically from the Approval Gates feature.
While you can't specifically reject a "pending approval" step when a new run is triggered, there is a very similar functionality that you can get by configuring the "cancelPendingRunsOn" flag in the GitRepo resource.
The idea with this flag is that you can have run 1 be cancelled when run 2 is triggered by commit or pull request from that repository. I think this gets you very close to the behavior you're asking about.
Here's a yml example for that setting: