Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

Can be ZAPI turned on/off?

Matej Sobota
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
September 25, 2019

Situation overview.

We have JIRA, Bamboo running docker, Zeplin and tests that have ZAPI.

Question:

Can i use some argument in bamboo task that is running these tests to influence ZAPI? Like it will still be in code and everything but it will do nothing if some argument is present. No cycle/execution creation..no step/execution status update etc..

Now we have it in different branch and if i want ZAPI i run branch with and if i do not want i run branch without.

1 answer

1 accepted

0 votes
Answer accepted
Daniel Santos
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
September 26, 2019

Hi @Matej Sobota

I don't use ZAPI or Zeplin, but I'll try to share the information I have to allow you planing your next moves to solve this.

Options I see:

Option 1

  • Use a Bamboo plan or injected variable to configure if you want ZAPI to run or not. Assuming you using ZAPI from in a script you could test that variable to decide if the ZAPI part of the script should run or not.
  • You can use the option run customized to change the plan variables for a specific run only.

Option 2

I hope that can shed some light on some options to deal with this challenge.

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events