Jenkinsfile_2 Update
This commit is contained in:
parent
128d212ef5
commit
0894533570
@ -1,7 +1,18 @@
|
|||||||
pipeline {
|
pipeline {
|
||||||
agent any
|
agent any
|
||||||
//Definijuemy parametry, ktore bedzie mozna podac podczas wywolywania zadania
|
//Definijuemy parametry, ktore bedzie mozna podac podczas wywolywania zadania
|
||||||
|
parameters {
|
||||||
|
buildSelector (
|
||||||
|
name: 'BUILD_SELECTOR',
|
||||||
|
defaultValue: lastSuccessful(),
|
||||||
|
description: 'Which build to use for copying artifacts?',
|
||||||
|
)
|
||||||
|
}
|
||||||
stages {
|
stages {
|
||||||
|
stage('Load Artifact') {
|
||||||
|
steps {
|
||||||
|
copyArtifacts fingerprintArtifacts: true, projectName: 's452627-create-dataset', selector: buildParameter('BUILD_SELECTOR')
|
||||||
|
}
|
||||||
stage('Run Script') {
|
stage('Run Script') {
|
||||||
steps {
|
steps {
|
||||||
script {
|
script {
|
||||||
|
Loading…
Reference in New Issue
Block a user