Zaktualizuj 'Jenkinsfile'
This commit is contained in:
parent
b2ca093cc9
commit
4f6aea9d8d
6
Jenkinsfile
vendored
6
Jenkinsfile
vendored
@ -9,7 +9,7 @@ pipeline {
|
|||||||
trim: false
|
trim: false
|
||||||
)
|
)
|
||||||
password(
|
password(
|
||||||
defaultValue: '',
|
defaultValue: 'password',
|
||||||
description: 'Kaggle token taken from kaggle.json file, as described in https://github.com/Kaggle/kaggle-api#api-credentials',
|
description: 'Kaggle token taken from kaggle.json file, as described in https://github.com/Kaggle/kaggle-api#api-credentials',
|
||||||
name: 'KAGGLE_KEY'
|
name: 'KAGGLE_KEY'
|
||||||
)
|
)
|
||||||
@ -18,9 +18,9 @@ pipeline {
|
|||||||
stage('Hello') {
|
stage('Hello') {
|
||||||
steps {
|
steps {
|
||||||
//Wypisz wartość parametru w konsoli (To nie jest polecenie bash, tylko groovy!)
|
//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
|
//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!') {
|
stage('Goodbye!') {
|
||||||
|
Loading…
Reference in New Issue
Block a user