25 lines
566 B
Plaintext
25 lines
566 B
Plaintext
|
|
||
|
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 {
|
||
|
sh 'chmod +x script2.sh'
|
||
|
sh './script2.sh'
|
||
|
}
|
||
|
}
|
||
|
stage('archiveArtifacts') {
|
||
|
steps {
|
||
|
archiveArtifacts 'stats.txt'
|
||
|
}
|
||
|
}
|
||
|
}
|
||
|
}
|