-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathJenkinsfile
36 lines (31 loc) · 863 Bytes
/
Jenkinsfile
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
println env.JOB_NAME
println env.BUILD_NUMBER
build_ok = true
fail_stage = ""
pipeline {
agent { label 'ubuntu_linux' }
options {
durabilityHint 'PERFORMANCE_OPTIMIZED'
timeout(time:16, unit: 'HOURS')
timestamps()
}
environment {
def NUMBER = sh(script: "expr ${env.BUILD_NUMBER}", returnStdout: true).trim()
def TIMESTEMP = sh(script: "date +%s", returnStdout: true).trim()
def DATESTEMP = sh(script: "date +\"%Y-%m-%d\"", returnStdout: true).trim()
}
stages {
stage("Tools") {
steps {
echo '+++ Tolls start +++'
echo '--- Tolls finish ---'
}
}
stage("LLVM-git-monorepo") {
steps {
echo '+++ LLVM-git-monorepo start+++'
echo '--- LLVM-git-monorepo finish ---'
}
}
}
}