Commit 8acda611 authored by RamaRao's avatar RamaRao

change script for school job

parent 21e90ba3
def gitUrl = "https://github.com/gajendrularamarao/fedci-pipelines.git"
job('school--main-build') {
description "Builds MyProject from master branch."
description "Builds MyProject from master branch."
parameters {
stringParam('COMMIT', 'HEAD', 'Commit to build')
}
logRotator {
numToKeep(15)
}
scm {
git {
remote {
url gitUrl.
}
branch("origin/master")
}
extensions {
scm {
git {
remote {
url 'https://github.com/gajendrularamarao/school.git'
}
branch("master")
extensions {
wipeOutWorkspace()
localBranch master
}
}
steps {
gradle {
useWrapper(true)
makeExecutable(true)
tasks('clean build')
switches('-g . --no-daemon')
fromRootBuildScriptDir(true)
}
}
}
triggers {
scm('* * * * *') {
ignorePostCommitHooks()
githubPush()
}
}
steps {
gradle('clean build')
}
}
listView('School_jobs') {
columns {
......@@ -53,7 +41,7 @@ listView('School_jobs') {
buildButton()
}
jobs {
name('school--main-build')
name('school-main-build')
}
}
\ 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