Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

deploy should return success when filtering artifact result in empty list #54

Closed
alanjaouen opened this issue Apr 29, 2024 · 0 comments · Fixed by #64
Closed

deploy should return success when filtering artifact result in empty list #54

alanjaouen opened this issue Apr 29, 2024 · 0 comments · Fixed by #64
Assignees
Labels
bug Something isn't working
Milestone

Comments

@alanjaouen
Copy link

Describe the bug
deploy should return success when filtering artifact with a realese definition result in empty list

To Reproduce
Steps to reproduce the behavior:

  • generate an artifact in artifacts folder
  • use deploy command with a releaseconfig which do not contain this artifact

Expected behavior
The command should return 0, allowing process to continue

Screenshots

💻W2022-012 📂aviv_platform_crm_salesforce on  qol via  v18.18.2 took 7s
❯_ ❯ npx sfp deploy -o test-eqbfcjpscsnp@example.com --releaseconfig=releases/definitions/be.yml
------------------------------------------------------------------------------------------
sfp  -- ❤️ by flxbl.io ❤️ -Version:38.4.1 -Release:April 24
------------------------------------------------------------------------------------------
command: install
Skip artifacts if already installed: false
Artifact Directory: artifacts
Target Environment: test-eqbfcjpscsnp@example.com
Filter according to: releases/definitions/be.yml
------------------------------------------------------------------------------------------
Filtering packages to be deployed based on release config releases/definitions/be.yml
Error: No artifacts from project config to be deployed
------------------------------------------------------------------------------------------
0 artifacts installed in 00:00:09.682 with {0} errors
------------------------------------------------------------------------------------------

💻W2022-012 📂aviv_platform_crm_salesforce on  qol via  v18.18.2 took 14s
❯_ ❯ echo $?
False

Platform Details (please complete the following information):

  • OS: windows
  • Version [e.g. CLI Version eg: 1.6.6] 38.4.1
  • Salesforce CLI(sfdx cli) Version: @salesforce/cli/2.38.7
  • CI Platform:

Additional context
Add any other context about the problem here.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants