add zadanie32
This commit is contained in:
parent
19b1db0e66
commit
eccacfe121
@ -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') {
|
||||||
|
Loading…
Reference in New Issue
Block a user