Add initial Jenkinsfile
This commit is contained in:
부모
128e9ba59f
커밋
901bd0c491
1개의 변경된 파일과 16개의 추가작업 그리고 0개의 파일을 삭제
16
Jenkinsfile
vendored
Normal file
16
Jenkinsfile
vendored
Normal file
|
@ -0,0 +1,16 @@
|
|||
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*')
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
불러오는 중…
Reference in a new issue