Update 'Jenkinsfile1'

This commit is contained in:
Kacper Dudzic 2022-03-25 22:38:14 +01:00
parent 7603e15e80
commit 03dcb3a287

View File

@ -1,16 +1,13 @@
pipeline { pipeline {
agent any agent any
stages { parameters{
stage('Preparation') {
properties([
parameters([
buildSelector( buildSelector(
defaultSelector: lastSuccessful(), defaultSelector: lastSuccessful(),
description: 'Which build to use for copying artifacts', description: 'Which build to use for copying artifacts',
name: 'BUILD_SELECTOR') name: 'BUILD_SELECTOR'
]) )
])
} }
stages {
stage('Stage 1') { stage('Stage 1') {
steps { steps {
echo 'Checking out...' echo 'Checking out...'