run python script
This commit is contained in:
parent
cd386388d5
commit
24ff357672
14
Jenkinsfile
vendored
14
Jenkinsfile
vendored
@ -10,19 +10,15 @@ pipeline {
|
||||
)
|
||||
}
|
||||
stages {
|
||||
stage('Hello') {
|
||||
stage('checkout: Check out from version control') {
|
||||
steps {
|
||||
//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"
|
||||
git branch: 'master',
|
||||
url: 'https://git.wmi.amu.edu.pl/s487182/ium_s487182'
|
||||
}
|
||||
}
|
||||
stage('Goodbye!') {
|
||||
stage('sh: Shell Script') {
|
||||
steps {
|
||||
echo 'Goodbye!'
|
||||
//Zarchiwizuj wynik
|
||||
archiveArtifacts 'output.txt'
|
||||
sh 'python3 create_dataset.py'
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user