42 lines
838 B
Groovy
42 lines
838 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 'srr.txt'
|
|
archiveArtifacts 'wer.txt'
|
|
}
|
|
}
|
|
stage('Hello') {
|
|
steps {
|
|
echo 'Hello World'
|
|
// sh label:'', script: 'whoami'
|
|
|
|
}
|
|
}
|
|
}
|
|
}
|