run python script
This commit is contained in:
parent
cd386388d5
commit
24ff357672
14
Jenkinsfile
vendored
14
Jenkinsfile
vendored
@ -10,19 +10,15 @@ pipeline {
|
|||||||
)
|
)
|
||||||
}
|
}
|
||||||
stages {
|
stages {
|
||||||
stage('Hello') {
|
stage('checkout: Check out from version control') {
|
||||||
steps {
|
steps {
|
||||||
//Wypisz wartość parametru w konsoli (To nie jest polecenie bash, tylko groovy!)
|
git branch: 'master',
|
||||||
echo "INPUT_TEXT: ${INPUT_TEXT}"
|
url: 'https://git.wmi.amu.edu.pl/s487182/ium_s487182'
|
||||||
//Wywołaj w konsoli komendę "figlet", która generuje ASCI-art
|
|
||||||
sh "figlet \"${INPUT_TEXT}\" | tee output.txt"
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
stage('Goodbye!') {
|
stage('sh: Shell Script') {
|
||||||
steps {
|
steps {
|
||||||
echo 'Goodbye!'
|
sh 'python3 create_dataset.py'
|
||||||
//Zarchiwizuj wynik
|
|
||||||
archiveArtifacts 'output.txt'
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user