Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to write a web based GUI for a bash script?

I have a bash script on a server which is used to build a software project and then runs some scripts over it. Right now I need to access it via ssh and call it with a syntax like this: ./buildscript.sh branch_name it then pulls the code from git and builds the branch given as the parameter.
What I want is to make this easier accessible via a web GUI where I might see a dropdown list of available branches and a button to start the build process.
My question is with which technology can I achieve something like this? And how to start maybe?

Im grateful for any hints or tips! Thanks!

like image 564
p0fi Avatar asked Dec 14 '25 08:12

p0fi


1 Answers

You can look into continuous integration tools such as Jenkins (or others) which provide the ability to kick off builds, tests, and deployments either in response to certain events or on demand.

The tools do take some effort to set up, so you'll have to decide whether the the extra complexity is worth it for what you want to accomplish.

like image 134
cyang Avatar answered Dec 16 '25 23:12

cyang



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!