Add Git trigger
This commit is contained in:
parent
be0e247d2f
commit
089503e349
14
Jenkinsfile
vendored
14
Jenkinsfile
vendored
@ -1,8 +1,20 @@
|
||||
node {
|
||||
def img
|
||||
stage('Preparation') { // for display purposes
|
||||
stage("Properties"){
|
||||
properties([
|
||||
[$class: 'GogsTrigger'],
|
||||
pipelineTriggers([pollSCM('')])
|
||||
])
|
||||
}
|
||||
|
||||
stage("Checkout"){
|
||||
git 'https://git.wmi.amu.edu.pl/tzietkiewicz/ium-helloworld.git'
|
||||
}
|
||||
|
||||
stage('Environment') { // for display purposes
|
||||
img = docker.build('ium-helloworld')
|
||||
}
|
||||
|
||||
stage('Train') {
|
||||
img.inside('-v /tmp/mlruns:/tmp/mlruns -v /mlruns:/mlruns ') {
|
||||
sh 'ls -l /tmp/mlruns'
|
||||
|
Loading…
Reference in New Issue
Block a user