Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
D
demo-infra-jenkins-test
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
1
Issues
1
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
demo
demo-infra-jenkins-test
Commits
7e6880f2
Commit
7e6880f2
authored
Apr 15, 2020
by
João Lino
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Add a test Jenkinsfile to trigger the Jenkins pipeline.
parent
4c39b6dc
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
22 additions
and
0 deletions
+22
-0
Jenkinsfile
Jenkinsfile
+22
-0
No files found.
Jenkinsfile
0 → 100644
View file @
7e6880f2
pipeline
{
environment
{
BRANCH_TO_DEPLOY
=
"master"
}
agent
none
stages
{
stage
(
'Deploy'
)
{
agent
{
label
'docker'
}
when
{
branch
"${BRANCH_TO_DEPLOY}"
}
steps
{
withCredentials
()
{
// Just get helm3 for testing
sh
'wget https://get.helm.sh/helm-v3.0.3-linux-amd64.tar.gz https://get.helm.sh/helm-v3.0.3-linux-amd64.tar.gz.sha256'
}
}
}
}
}
\ 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