Commit a2bd8d73 authored by RamaRao's avatar RamaRao

add deployment job

parent 6ab5e48c
job("school-deployment-to-pcf") {
scm {
git {
remote {
url 'https://github.com/gajendrularamarao/school.git'
}
branch("master")
extensions {
wipeOutWorkspace()
}
}
}
triggers {
githubPush()
}
steps {
gradle('clean build')
}
pushToCloudFoundry(
target: 'https://api.run.pivotal.io',
organization: 'org-school',
cloudSpace: 'development',
credentialsId: 'rgajendrula@nisum.com',
manifestChoice: [manifestFile: 'manifest.yml']
)
}
\ No newline at end of file
...@@ -43,6 +43,7 @@ listView('School_jobs') { ...@@ -43,6 +43,7 @@ listView('School_jobs') {
jobs { jobs {
name('school-main-build') name('school-main-build')
name('school-GitHub-Pull-Request-Builder') name('school-GitHub-Pull-Request-Builder')
name('school-deployment-to-pcf')
} }
} }
\ No newline at end of file
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment