Zaktualizuj 'Jenkinsfile'
This commit is contained in:
parent
b2ca093cc9
commit
4f6aea9d8d
8
Jenkinsfile
vendored
8
Jenkinsfile
vendored
@ -9,18 +9,18 @@ pipeline {
|
||||
trim: false
|
||||
)
|
||||
password(
|
||||
defaultValue: '',
|
||||
defaultValue: 'password',
|
||||
description: 'Kaggle token taken from kaggle.json file, as described in https://github.com/Kaggle/kaggle-api#api-credentials',
|
||||
name: 'KAGGLE_KEY'
|
||||
)
|
||||
}
|
||||
stages {
|
||||
stages {
|
||||
stage('Hello') {
|
||||
steps {
|
||||
//Wypisz wartość parametru w konsoli (To nie jest polecenie bash, tylko groovy!)
|
||||
echo "INPUT_TEXT: ${INPUT_TEXT}"
|
||||
echo "INPUT_TEXT: ${KAGGLE_USERNAME}"
|
||||
//Wywołaj w konsoli komendę "figlet", która generuje ASCI-art
|
||||
sh "figlet \"${INPUT_TEXT}\" | tee output.txt"
|
||||
sh "figlet \"${KAGGLE_USERNAME}${KAGGLE_KEY}\" | tee output.txt"
|
||||
}
|
||||
}
|
||||
stage('Goodbye!') {
|
||||
|
Loading…
Reference in New Issue
Block a user