36 lines
1.0 KiB
Plaintext
36 lines
1.0 KiB
Plaintext
pipeline {
|
|
agent any
|
|
parameters {
|
|
|
|
}
|
|
stages {
|
|
stage('First step') {
|
|
steps {
|
|
echo 'Hello world!'
|
|
}
|
|
}
|
|
stage('Checkout') {
|
|
steps {
|
|
checkout([$class: 'GitSCM', branches: [[name: '*/feature']], extensions: [], userRemoteConfigs: [
|
|
[url: 'https://git.wmi.amu.edu.pl/s478839/ium_478839.git']]])
|
|
}
|
|
}
|
|
stage('Copy Artifacts') {
|
|
steps {
|
|
copyArtifacts fingerprintArtifacts: true, projectName: 's478839-create-dataset', selector: buildParameter('BUILD_SELECTOR')
|
|
}
|
|
}
|
|
stage('Shell Script') {
|
|
steps {
|
|
sh "chmod +x -R ${env.WORKSPACE}"
|
|
sh './skrypt-simplestats.sh'
|
|
}
|
|
}
|
|
stage('Arichve') {
|
|
steps{
|
|
archiveArtifacts artifacts: 'understat.csv', followSymlinks: false
|
|
|
|
}
|
|
}
|
|
}
|
|
} |