ium_440058/Jenkinsfile2

23 lines
580 B
Plaintext
Raw Normal View History

2021-03-28 22:05:15 +02:00
pipeline {
agent any
2021-03-28 22:16:50 +02:00
2021-03-28 22:05:15 +02:00
stages {
2021-03-28 22:16:50 +02:00
stage('checkout') {
2021-03-28 22:05:15 +02:00
steps {
2021-03-28 22:16:50 +02:00
git 'https://git.wmi.amu.edu.pl/s440058/ium_440058.git'
2021-03-28 22:05:15 +02:00
copyArtifacts fingerprintArtifacts: true, projectName: 's440058-create-dataset', selector: buildParameter('BUILD_SELECTOR')
}
}
2021-03-28 22:16:50 +02:00
stage('sh: Shell Script') {
steps {
sh 'chmod +x ./bash2.sh'
sh './bash2.sh'
}
}
stage('archiveArtifacts') {
steps {
archiveArtifacts 'courses.txt'
}
}
2021-03-28 22:05:15 +02:00
}
}