ium_s437622/Jenkinsfile

29 lines
759 B
Groovy

pipeline{
agent any
properties([parameters([text(defaultValue: '50', description: 'Number of lines to cutoff', name: 'CUTOFF')])])
stages{
stage('Stage 1'){
steps{
echo 'Hello World!'
}
}
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'
}
}
}
}