mirror of
https://github.com/PepperDash/PepperDashCore.git
synced 2026-02-15 20:54:46 +00:00
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:
18
.github/workflows/main.yml
vendored
18
.github/workflows/main.yml
vendored
@@ -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}}
|
||||||
|
|||||||
Reference in New Issue
Block a user