Skip to content

Commit

Permalink
fix: add trigger pipeline
Browse files Browse the repository at this point in the history
  • Loading branch information
jstrachan committed Feb 24, 2020
1 parent 1158971 commit 22b854e
Show file tree
Hide file tree
Showing 2 changed files with 35 additions and 0 deletions.
19 changes: 19 additions & 0 deletions packs/jenkinsfilerunner/pipeline.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
extends:
import: classic
file: pipeline.yaml
agent:
label: jenkins-go
container: gcr.io/jenkinsxio/builder-go
pipelines:
release:
build:
steps:
- name: run
image: jenkins4eval/jenkinsfile-runner
sh: /app/bin/jenkinsfile-runner-launcher -w /app/jenkins -p /usr/share/jenkins/ref/plugins -f /workspace/source --runWorkspace /workspace/build
pullRequest:
build:
steps:
- name: run
image: jenkins4eval/jenkinsfile-runner
sh: /app/bin/jenkinsfile-runner-launcher -w /app/jenkins -p /usr/share/jenkins/ref/plugins -f /workspace/source --runWorkspace /workspace/build
16 changes: 16 additions & 0 deletions packs/trigger-jenkins/pipeline.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
agent:
label: jenkins-go
container: go
pipelines:
pullRequest:
build:
steps:
- sh: tp
name: build
image: gcr.io/jstrachan-multicluster/trigger-pipeline:v3
release:
build:
steps:
- sh: tp
name: build
image: gcr.io/jstrachan-multicluster/trigger-pipeline:v3

0 comments on commit 22b854e

Please sign in to comment.