Add Jenkinsfile
這個提交存在於:
父節點
128e9ba59f
當前提交
971d6db14d
共有 1 個檔案被更改,包括 17 行新增 和 0 行删除
17
Jenkinsfile
vendored
一般檔案
17
Jenkinsfile
vendored
一般檔案
|
|
@ -0,0 +1,17 @@
|
|||
pipeline {
|
||||
agent none
|
||||
stages {
|
||||
stage('Build') {
|
||||
agent {
|
||||
docker {
|
||||
image 'python:2-alpine'
|
||||
}
|
||||
}
|
||||
steps {
|
||||
sh 'python -m py_compile sources/add2vals.py sources/calc.py'
|
||||
stash(name: 'compiled-results', includes: 'sources/*.py*')
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
載入中…
新增問題並參考