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