Skip to content

how to execute bash script to test CI

Hi team, I setup gitlab ci , issue is i want to run a test.sh script when ever new code pushed on gitlab repo, gitlab-ci.yml buildtest: script:

  • mkdir -p /tmp/gilabtest
  • test.sh tags:
  • 'outterrunner1' except:
  • tags type: build

my test.sh is present in code repo path is projectname/scripts/test.sh now how to set yml file so that test.sh will get executed ?