ium_487197/Jenkinsfile2

17 lines
604 B
Plaintext
Raw Normal View History

node {
2023-03-26 20:53:05 +02:00
stage('checkout: Check out from version control') {
checkout([$class: 'GitSCM', branches: [[name: '*/master']], extensions: [], userRemoteConfigs: [[credentialsId: 's487197', url: 'https://git.wmi.amu.edu.pl/s487197/ium_487197']]])
}
stage('copyArtifact') {
copyArtifacts fingerprintArtifacts: true, projectName: 's487197-create-dataset', selector: lastSuccessful()
}
stage('Shell Script') {
sh 'chmod u+x ./stats.sh'
2023-03-26 20:51:32 +02:00
sh 'ls'
sh './stats.sh'
}
stage('archiveArtifacts') {
archiveArtifacts artifacts: 'stats.txt'
}
}