2021-03-24 12:59:23 +01:00
|
|
|
pipeline{
|
|
|
|
agent any
|
2021-03-28 13:58:35 +02:00
|
|
|
properties([parameters([text(defaultValue: '50', description: 'Number of lines to cutoff', name: 'CUTOFF')])])
|
2021-03-24 12:59:23 +01:00
|
|
|
stages{
|
|
|
|
stage('Stage 1'){
|
|
|
|
steps{
|
|
|
|
echo 'Hello World!'
|
2021-03-28 13:58:35 +02:00
|
|
|
}
|
|
|
|
}
|
|
|
|
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'
|
2021-03-24 12:59:23 +01:00
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|