| My properties file looks this: /secret/secrets.properties
I can 100% ensure there is a this file in my slave node that is managed by the Kubernetes plugin, which means, every trigger will start an entirely new slave node in place Here's how my Jenkinsfile looks like:
pipeline {
stages {
stage("Hello") {
steps {
sh '''
pwd
echo "Hello World"
ls /secret
echo "The latest version is: ${VERSION}"
'''
}
}
}
}
|