s460929-mlworkshops/Jenkinsfile
2020-04-03 13:25:09 +02:00

41 lines
799 B
Groovy

pipeline {
agent { dockerfile true }
stages {
stage('Githubcheck')
{
steps{
git 'https://git.wmi.amu.edu.pl/s460929/s460929-mlworkshops.git'
}
}
stage("CopyArtifacts")
{
steps{
copyArtifacts fingerprintArtifacts: true, projectName: 'ASR-eval', selector: lastSuccessful()
}
}
stage("Script")
{
steps{
sh label:"", script:"bash ./count.sh"
}
}
stage("Result")
{
steps{
archiveArtifacts 'result.txt'
}
}
stage('Hello') {
steps {
echo 'Hello World'
// sh label:'', script: 'whoami'
}
}
}
}