Skip to content

Commit f7b871a

Browse files
author
Donald Morton
committed
Add Jenkins Pipeline.
1 parent 23c6bfc commit f7b871a

File tree

1 file changed

+31
-0
lines changed

1 file changed

+31
-0
lines changed

jenkins.groovy

Lines changed: 31 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,31 @@
1+
pipeline
2+
{
3+
agent { label 'linux' }
4+
5+
tools
6+
{
7+
go 'Go'
8+
}
9+
10+
stages
11+
{
12+
stage('Build')
13+
{
14+
steps {
15+
git 'https://github.com/Graylog2/graylog-project-cli.git'
16+
17+
sh "make"
18+
}
19+
20+
post
21+
{
22+
success
23+
{
24+
archiveArtifacts '*.linux'
25+
archiveArtifacts '*.darwin'
26+
}
27+
}
28+
}
29+
}
30+
}
31+

0 commit comments

Comments
 (0)