ium_434766/copyArtiJenkins/Jenkinsfile
2021-03-28 18:53:57 +02:00

25 lines
614 B
Groovy

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: buildParameter('BUILD_SELECTOR')
}
}
stage('sh: Shell Script') {
steps {
sh 'chmod +x copyArtiJenkins/script2.sh'
sh './copyArtiJenkins/script2.sh'
}
}
stage('archiveArtifacts') {
steps {
archiveArtifacts 'stats.txt'
}
}
}
}