ium_434766/copyArtiJenkins/Jenkinsfile

25 lines
598 B
Plaintext
Raw Normal View History

2021-03-26 17:06:07 +01:00
pipeline {
agent any
stages {
stage('checkout') {
steps {
git 'https://git.wmi.amu.edu.pl/s434766/ium_434766.git'
copyArtifacts fingerprintArtifacts: true, projectName: 's434766-create-dataset', selector: lastSuccessful()
}
}
stage('sh: Shell Script') {
steps {
2021-03-26 17:08:56 +01:00
sh 'chmod +x copyArtiJenkins/script2.sh'
sh './copyArtiJenkins/script2.sh'
2021-03-26 17:06:07 +01:00
}
}
stage('archiveArtifacts') {
steps {
archiveArtifacts 'stats.txt'
}
}
}
}