Fix: test
This commit is contained in:
parent
cfee8dd4fe
commit
fa4a90c915
26
Jenkinsfile
vendored
26
Jenkinsfile
vendored
@ -1,30 +1,16 @@
|
||||
node {
|
||||
stage('Preparation') {
|
||||
properties([
|
||||
parameters([
|
||||
string(
|
||||
defaultValue: 'Czesc!',
|
||||
description: 'Tekst do wyświetlenie',
|
||||
name: 'INPUT_TEXT',
|
||||
trim: false
|
||||
)
|
||||
])
|
||||
])
|
||||
}
|
||||
stage('Hello') {
|
||||
//Wypisz wartość parametru w konsoli (To nie jest polecenie bash, tylko groovy!)
|
||||
echo "INPUT_TEXT: ${INPUT_TEXT}"
|
||||
//Wywołaj w konsoli komendę "figlet", która generuje ASCI-art
|
||||
sh "figlet \"${INPUT_TEXT}\" | tee output.txt"
|
||||
|
||||
stage('Start') {
|
||||
echo "Program Started"
|
||||
}
|
||||
|
||||
stage('Clone Git Repository') {
|
||||
git clone 'https://git.wmi.amu.edu.pl/s487187/ium_487187.git/'
|
||||
}
|
||||
|
||||
stage('Goodbye') {
|
||||
echo 'Goodbye!'
|
||||
//Zarchiwizuj wynik
|
||||
stage('End') {
|
||||
echo 'Program ended!'
|
||||
|
||||
archiveArtifacts 'output.txt'
|
||||
}
|
||||
}
|
Loading…
Reference in New Issue
Block a user