We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f317ec8 commit c5ec3abCopy full SHA for c5ec3ab
Jenkinsfile
@@ -0,0 +1,36 @@
1
+pipeline {
2
+ agent none
3
+
4
+ environment {
5
+ SYSDIG_MONITOR_API_TOKEN = credentials('tech-marketing-token-monitor-lab')
6
+ SYSDIG_SECURE_API_TOKEN = credentials('tech-marketing-token-secure-lab')
7
+ GOCACHE="/tmp/go-build"
8
+ }
9
10
+ stages {
11
+ stage('Check code') {
12
+ agent {
13
+ docker {
14
+ image "commitsar/commitsar"
15
16
17
+ steps {
18
+ warnError('Conventional Commits not being followed') {
19
+ sh "commitsar"
20
21
22
23
+ stage('Tests') {
24
25
26
+ image "golang:1.13"
27
28
29
30
+ sh "make test"
31
+ sh "make testacc"
32
33
34
35
+}
36
0 commit comments