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 {
agent any
agent any
parameters{
buildSelector(
defaultSelector: lastSuccessful(),
description: 'Which build to use for copying artifacts',
name: 'BUILD_SELECTOR'
)
}
stages {
stage('Preparation') {
properties([
parameters([
buildSelector(
defaultSelector: lastSuccessful(),
description: 'Which build to use for copying artifacts',
name: 'BUILD_SELECTOR')
])
])
}
stage('Stage 1') {
steps {
echo 'Checking out...'