Jenkinsfile statystyki
This commit is contained in:
parent
00b4f2fc99
commit
cc8bee3a19
@ -1,17 +1,15 @@
|
||||
pipeline {
|
||||
agent any
|
||||
|
||||
parameters{
|
||||
buildSelector(
|
||||
defaultSelector: lastSuccessful(),
|
||||
description: 'Which build to use for copying artifacts',
|
||||
name: 'BUILD_SELECTOR')
|
||||
}
|
||||
|
||||
stages {
|
||||
stage('First') {
|
||||
steps {
|
||||
checkout([$class: 'GitSCM', branches: [[name: '*/master']], extensions: [], userRemoteConfigs: [[url: 'https://git.wmi.amu.edu.pl/s478815/ium_478815.git']]])
|
||||
}
|
||||
}
|
||||
stage('CopyArtifacts') {
|
||||
steps {
|
||||
copyArtifacts fingerprintArtifacts: true, projectName: 's478815-create-datasets', selector: buildParameter('BUILD_SELECTOR')
|
||||
copyArtifacts fingerprintArtifacts: true, projectName: 's478815-create-dataset', selector: lastSuccessful()
|
||||
sh "chmod +x -R ${env.WORKSPACE}"
|
||||
sh './skrypt_stats.sh'
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user