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