mirror of
https://gitee.com/spark-store-project/spark-store
synced 2025-01-12 05:08:27 +08:00
33 lines
594 B
Groovy
33 lines
594 B
Groovy
pipeline {
|
|
agent any
|
|
stages {
|
|
stage('build') {
|
|
agent {
|
|
docker {
|
|
image 'jerry979/dtke:5.11.1'
|
|
}
|
|
|
|
}
|
|
steps {
|
|
sh 'mkdir build && cd build && qmake .. && make '
|
|
archiveArtifacts(artifacts: 'build/src/spark-store', allowEmptyArchive: true, defaultExcludes: true)
|
|
}
|
|
}
|
|
|
|
stage('send') {
|
|
agent {
|
|
dockerfile {
|
|
filename '.gitee/Dockerfile'
|
|
}
|
|
|
|
}
|
|
environment {
|
|
gitee_token = credentials('1')
|
|
}
|
|
steps {
|
|
sh "python3 .gitee/callback.py"
|
|
}
|
|
}
|
|
|
|
}
|
|
} |