41 lines
782 B
Groovy
41 lines
782 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("Script")
|
|
{
|
|
steps{
|
|
sh label:"", script:"bash ./count.sh"
|
|
}
|
|
}
|
|
|
|
stage("Result")
|
|
{
|
|
steps{
|
|
archiveArtifacts 'result.txt'
|
|
}
|
|
}
|
|
stage('Hello') {
|
|
steps {
|
|
echo 'Hello World'
|
|
// sh label:'', script: 'whoami'
|
|
|
|
}
|
|
}
|
|
}
|
|
}
|