24 lines
654 B
Groovy
24 lines
654 B
Groovy
pipeline{
|
|
agent any
|
|
properties([parameters([text(defaultValue: '50', description: 'Number of lines to cutoff', name: 'CUTOFF')])])
|
|
stages{
|
|
stage('checkout: Check out from version control'){
|
|
steps{
|
|
git url: 'https://github.com/jfrogdev/project-examples.git'
|
|
}
|
|
}
|
|
stage('sh: Shell Script'){
|
|
steps{
|
|
./script.sh
|
|
}
|
|
}
|
|
stage('Archive artifacts'){
|
|
steps{
|
|
archiveArtifacts 'test.csv'
|
|
archiveArtifacts 'dev.csv'
|
|
archiveArtifacts 'train.csv'
|
|
}
|
|
}
|
|
}
|
|
}
|