Merge pull request #15 from PepperDash/feature/add-jenkins-action

added working Action and added Issue templates that weren't on Dev…
This commit is contained in:
Neil Dorin
2020-02-28 08:51:37 -07:00
committed by GitHub

View File

@@ -1,20 +1,20 @@
name: Build Branch name: Build Non-Release Branch
on: on:
push: push:
branches: branches:
- feature/* - feature/*
- bugfix/* - bugfix/*
- hotfix/*
jobs: jobs:
build: build:
name: Build name: Build
runs-on: self-hosted runs-on: self-hosted
steps: steps:
- name: Trigger Jenkins Job - run: Invoke-WebRequest -URI "http://localhost:8080/job/PepperDash%20Core%20Branch%20Builds/build?token=$($Env:projectToken)" -Headers @{Authorization = "Basic $([System.Convert]::ToBase64String([System.Text.Encoding]::ASCII.GetBytes("ndorin:$($Env:token)")))"} -Method POST -UseBasicParsing
uses: appleboy/jenkins-action@0.0.1 env:
with:
url: "http://localhost:8080"
user: "ndorin"
token: ${{ secrets.TOKEN }} token: ${{ secrets.TOKEN }}
job: "PepperDash Core Branch Builds" projectToken: ${{ secrets.PROJECTTOKEN}}