test jenkinsfile

jenkinsfile
Daniel Mikula 2023-05-23 07:30:18 +02:00
parent 020a1b8581
commit 5bed9d0b7c
1 changed files with 28 additions and 0 deletions

28
Jenkinsfile vendored Normal file
View File

@ -0,0 +1,28 @@
pipeline {
options {
ansiColor('xterm')
}
// agent {label 'some-slaves'}
parameters {
string(name: 'testParam', defaultValue: 'defaultval', description: 'Enter some value')
}
environment {
AWS_ACCESS_KEY = credentials('AWS_ACCESS_KEY_ID')
AWS_SECRET_KEY = credentials('AWS_SECRET_ACCESS_KEY')
}
stages {
stage('First test') {
steps {
script {
sh """
echo ${params.name}
"""
}
}
}
}
}