s460929-mlworkshops/Jenkinsfile
2020-04-03 12:55:24 +02:00

41 lines
785 B
Groovy

pipeline {
agent any
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("RunScript")
{
steps{
sh label:"", script:"bash ./count.sh"
}
}
stage("Result")
{
steps{
archiveArtifacts 'result.txt'
}
}
stage('Hello') {
steps {
echo 'Hello World'
// sh label:'', script: 'whoami'
}
}
}
}