forked from braintree/braintree_java
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathJenkinsfile
More file actions
40 lines (34 loc) · 703 Bytes
/
Jenkinsfile
File metadata and controls
40 lines (34 loc) · 703 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
#!groovy
def FAILED_STAGE
pipeline {
agent none
environment {
REPO_NAME = "braintree-java"
SLACK_CHANNEL = "#auto-team-sdk-builds"
}
stages {
stage("Audit") {
parallel {
// Runs a static code analysis scan and posts results to the PayPal Polaris server
stage("CodeQL") {
agent {
node {
label ""
customWorkspace "workspace/${REPO_NAME}"
}
}
steps {
codeQLv2(maven: true)
}
post {
failure {
script {
FAILED_STAGE = env.STAGE_NAME
}
}
}
}
}
}
}
}