Upload files to ''

This commit is contained in:
Kacper Dudzic 2022-03-25 21:06:44 +01:00
parent d6d5419142
commit 4a162a6575

23
Jenkinsfile1 Normal file
View File

@ -0,0 +1,23 @@
pipeline {
agent any
stages {
stage('Preparation') {
properties([
parameters([
buildSelector(
defaultSelector: lastSuccessful(),
description: 'Which build to use for copying artifacts',
name: 'BUILD_SELECTOR')
])
])
}
stage('Stage 1') {
steps {
checkout([$class: 'GitSCM', branches: [[name: '*/master']], extensions: [], userRemoteConfigs: [[credentialsId: 'f695fe86-8cca-47f7-a546-d3bfd1059fd4', url: 'https://git.wmi.amu.edu.pl/s449288/ium_s449288.git']]])
copyArtifacts fingerprintArtifacts: true, projectName: 's449288-create-dataset', selector: buildParameter('BUILD_SELECTOR')
sh './statystyki.sh'
}
}
}
}