Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
J
jenkins-shared-library-example
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
Muhammad Tehami
jenkins-shared-library-example
Commits
87d0ef64
Commit
87d0ef64
authored
May 29, 2020
by
Muhammad Tehami
💡
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Remove stage block
parent
24c6b223
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
11 deletions
+3
-11
build.groovy
vars/build.groovy
+2
-6
checkout.groovy
vars/checkout.groovy
+1
-5
No files found.
vars/build.groovy
View file @
87d0ef64
def
call
(
String
buildDirectory
)
{
stage
(
'Build'
)
{
steps
{
dir
(
buildDirectory
)
{
sh
'mvn clean install'
}
}
}
}
\ No newline at end of file
vars/checkout.groovy
View file @
87d0ef64
#
!
/usr/
bin
/
env
groovy
def
call
(
body
)
{
stage
(
'Checkout SCM'
)
{
steps
{
checkout
scm
}
}
return
this
}
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