cicd-java-spring-boot/Jenkinsfile

20 lines
422 B
Plaintext
Raw Normal View History

2023-02-01 09:17:31 +00:00
podTemplate(containers: [
containerTemplate(
name: 'jnlp',
image: 'jenkins/inbound-agent:latest'
)
]) {
2023-02-01 08:34:23 +00:00
2023-02-01 09:17:31 +00:00
node(POD_LABEL) {
stage('Get a project') {
container('jnlp') {
stage('Shell Execution') {
sh '''
echo "Hello! I am executing shell"
'''
2023-02-01 08:18:35 +00:00
}
}
2023-02-01 07:26:49 +00:00
}
2023-02-01 08:18:35 +00:00
2023-01-31 13:42:28 +00:00
}
}