Jenkinsfile

This commit is contained in:
Kornelia Girejko 2022-03-28 11:28:32 +02:00
parent f3cd6eae87
commit 2481268b00

9
Jenkinsfile vendored
View File

@ -1,5 +1,7 @@
pipeline { pipeline {
agent any agent {
docker { image 'ubuntu:latest' }
}
parameters { parameters {
string( string(
@ -29,6 +31,11 @@ pipeline {
} }
stages { stages {
stage('Test') {
steps {
sh 'cat /etc/issue'
}
}
stage('First') { stage('First') {
steps { steps {
withEnv(["KAGGLE_USERNAME=${params.KAGGLE_USERNAME}","KAGGLE_KEY=${params.KAGGLE_KEY}" ]) { withEnv(["KAGGLE_USERNAME=${params.KAGGLE_USERNAME}","KAGGLE_KEY=${params.KAGGLE_KEY}" ]) {