Update 'Jenkinsfile1'

This commit is contained in:
Kacper Dudzic 2022-03-25 21:14:09 +01:00
parent aedbdcc072
commit 23218ef22c

View File

@ -1,23 +1,23 @@
pipeline { pipeline {
agent any agent any
stages { stages {
stage('Preparation') { stage('Preparation') {
properties([ properties([
parameters([ parameters([
buildSelector( buildSelector(
defaultSelector: lastSuccessful(), defaultSelector: lastSuccessful(),
description: 'Which build to use for copying artifacts', description: 'Which build to use for copying artifacts',
name: 'BUILD_SELECTOR') name: 'BUILD_SELECTOR')
]) ])
]) ])
} }
stage('Stage 1') { stage('Stage 1') {
steps { 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']]]) 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') copyArtifacts fingerprintArtifacts: true, projectName: 's449288-create-dataset', selector: buildParameter('BUILD_SELECTOR')
sh './statystyki.sh' sh './statystyki.sh lego_sets.train.csv'
} }
} }
} }
} }