2020-04-03 11:21:41 +02:00
|
|
|
pipeline {
|
|
|
|
agent any
|
|
|
|
|
|
|
|
stages {
|
2020-04-03 12:37:18 +02:00
|
|
|
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()
|
|
|
|
}
|
|
|
|
}
|
2020-04-03 12:52:31 +02:00
|
|
|
|
2020-04-03 13:09:31 +02:00
|
|
|
stage("Script")
|
2020-04-03 12:52:31 +02:00
|
|
|
{
|
|
|
|
steps{
|
2020-04-03 12:55:24 +02:00
|
|
|
sh label:"", script:"bash ./count.sh"
|
2020-04-03 12:52:31 +02:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
stage("Result")
|
|
|
|
{
|
|
|
|
steps{
|
|
|
|
archiveArtifacts 'result.txt'
|
|
|
|
}
|
|
|
|
}
|
2020-04-03 11:21:41 +02:00
|
|
|
stage('Hello') {
|
|
|
|
steps {
|
|
|
|
echo 'Hello World'
|
2020-04-03 12:18:45 +02:00
|
|
|
// sh label:'', script: 'whoami'
|
|
|
|
|
2020-04-03 11:21:41 +02:00
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|