From c41821054cf8010317f9fbe649e060677fb081cb Mon Sep 17 00:00:00 2001 From: SSingh5845 <157567589+SSingh5845@users.noreply.github.com> Date: Tue, 19 Nov 2024 16:31:55 +0530 Subject: [PATCH] Create ci.yml --- .github/workflows/ci.yml | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) create mode 100644 .github/workflows/ci.yml diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml new file mode 100644 index 0000000..8205991 --- /dev/null +++ b/.github/workflows/ci.yml @@ -0,0 +1,21 @@ +name: CI + +on: + pull_request: + branches: + - master + +jobs: + build: + runs-on: ubuntu-latest + + steps: + - name: Checkout code + uses: actions/checkout@v2 + + - name: Trigger Jenkins Job + uses: appleboy/jenkins-action@v0.0.1 + with: + url: 'http://localhost:8080/job/target_build/' + user: ${{ secrets.JENKINS_USER }} + token: ${{ secrets.JENKINS_API_TOKEN }}