Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
F
fedci-pipelines
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
RamaRao Gajendrula
fedci-pipelines
Commits
8acda611
Commit
8acda611
authored
Feb 14, 2020
by
RamaRao
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
change script for school job
parent
21e90ba3
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
22 additions
and
34 deletions
+22
-34
job_school_main_build.groovy
school-main-build/job_school_main_build.groovy
+22
-34
No files found.
school-main-build/job_school_main_build.groovy
View file @
8acda611
def
gitUrl
=
"https://github.com/gajendrularamarao/fedci-pipelines.git"
job
(
'school--main-build'
)
{
job
(
'school--main-build'
)
{
description
"Builds MyProject from master branch."
description
"Builds MyProject from master branch."
parameters
{
parameters
{
stringParam
(
'COMMIT'
,
'HEAD'
,
'Commit to build'
)
stringParam
(
'COMMIT'
,
'HEAD'
,
'Commit to build'
)
}
}
logRotator
{
numToKeep
(
15
)
}
scm
{
scm
{
git
{
git
{
remote
{
remote
{
url
gitUrl
.
url
'https://github.com/gajendrularamarao/school.git'
}
}
branch
(
"origin/master"
)
branch
(
"master"
)
}
extensions
{
extensions
{
wipeOutWorkspace
()
wipeOutWorkspace
()
localBranch
master
}
}
}
steps
{
gradle
{
useWrapper
(
true
)
makeExecutable
(
true
)
tasks
(
'clean build'
)
switches
(
'-g . --no-daemon'
)
fromRootBuildScriptDir
(
true
)
}
}
}
}
triggers
{
triggers
{
scm
(
'* * * * *'
)
{
githubPush
()
ignorePostCommitHooks
()
}
}
steps
{
gradle
(
'clean build'
)
}
}
}
}
listView
(
'School_jobs'
)
{
listView
(
'School_jobs'
)
{
columns
{
columns
{
status
()
status
()
...
@@ -53,7 +41,7 @@ listView('School_jobs') {
...
@@ -53,7 +41,7 @@ listView('School_jobs') {
buildButton
()
buildButton
()
}
}
jobs
{
jobs
{
name
(
'school-
-
main-build'
)
name
(
'school-main-build'
)
}
}
}
}
\ No newline at end of file
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment