add zadanie32

This commit is contained in:
jakubknczny 2021-04-11 12:37:27 +02:00
parent 19b1db0e66
commit eccacfe121

View File

@ -1,21 +1,15 @@
pipeline { pipeline {
agent any agent {
parameters { docker {
buildSelector( image kubakonieczny/ium
defaultSelector: upstream(), }
description: 'Which build to use for copying artifacts',
name: 'BUILD_SELECTOR')
} }
stages { stages {
stage('copy artifacts') { stage('docker') {
steps { steps {
copyArtifacts fingerprintArtifacts: true, projectName: 's470607-create-dataset', selector: buildParameter('BUILD_SELECTOR') sh '''
} ./script.sh >> stats.txt
} '''
stage('stats') {
steps {
sh 'chmod +x ./lab2/dataset-stats.sh'
sh './lab2/dataset-stats.sh'
} }
} }
stage('archive artifacts') { stage('archive artifacts') {