Permalink
Switch branches/tags
Nothing to show
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
33 lines (32 sloc) 863 Bytes
apiVersion: v1
kind: Template
metadata:
creationTimestamp: null
name: jenkins-lifecycle
objects:
- apiVersion: v1
kind: BuildConfig
metadata:
name: "jenkins-lifecycle"
spec:
source:
type: "Git"
git:
uri: ${SOURCE_REPOSITORY_URL}
ref: ${SOURCE_REPOSITORY_REF}
strategy:
type:
jenkinsPipelineStrategy:
jenkinsfilePath: jenkins/pipelines/Jenkinsfile
triggers: {}
parameters:
- description: The URL of the repository with your application source code.
displayName: Git Repository URL
name: SOURCE_REPOSITORY_URL
required: true
value: https://github.com/RHsyseng/jenkins-on-openshift.git
- description: Set this to a branch name, tag or other ref of your repository if you
are not using the default branch.
displayName: Git Reference
name: SOURCE_REPOSITORY_REF
value: master