24 lines
488 B
Plaintext
24 lines
488 B
Plaintext
pipeline {
|
|
agent {
|
|
docker {
|
|
image 'maciejczajka'
|
|
}
|
|
}
|
|
parameters {
|
|
string(
|
|
defaultValue: 'input_example.json',
|
|
description: 'Input file name',
|
|
name: 'INPUT',
|
|
trim: false
|
|
)
|
|
}
|
|
|
|
stages {
|
|
stage('Script') {
|
|
steps {
|
|
copyArtifacts projectName: 's444356-training/main', selector: lastSuccessful()
|
|
sh 'python3 ./predict.py $INPUT'
|
|
}
|
|
}
|
|
}
|
|
} |