I have just started testing with buildkite and even though I try to familiarize myself with its code I cannot find a way to solve my problem.
I use this Script Bash to do the job automatically.
But every time I run the build I need to modify these parameters:
SCRIPTROM=" " (Text)
SCRIPTSYNC=" " (Yes or No)
PATCHROMS=" " (Yes or No)
To do it in a more visual and simple way, for when I have to configure the script from the mobile I have made these adjustments in the pipeline.yml
#################################################
steps:
-
label: Android
input: “Build”
fields:-
select: “ROM”
key: SCRIPTROM
hint: “What rom do you want compile? ”
required: false
default: “aicp”
options:- label: “Aex”
value: “aex” - label: “Aokp”
value: “aokp” - label: “Aicp”
value: “aicp”
- label: “Aex”
-
select: “Sync”
key: "SCRIPTSYNC
required: true
default: “no”
options:- label: “Yes”
value: “yes” - label: “No”
value: “no”
- label: “Yes”
-
select: “Patch”
key: “PATCHROMS”
required: true
default: “no”
options:- label: “Yes”
value: “yes” - label: “No”
value: “no”
- label: “Yes”
-
-
command: “/home/jimgsey/script/build.sh”
label: “”
env:
SCRIPTROM: “”
SCRIPTSYNC: “”
########################################################
I would like what I select on that initial screen to correspond to the variables that are executed on the bash script.
Thank you very much for your help and for this wonderful tool.
Regards