mirror of
https://github.com/spring-projects/spring-petclinic.git
synced 2025-07-23 16:25:49 +00:00
Delete Jenkinsfile
This commit is contained in:
parent
b8103bd78b
commit
63f1f2dd31
1 changed files with 0 additions and 28 deletions
28
Jenkinsfile
vendored
28
Jenkinsfile
vendored
|
@ -1,28 +0,0 @@
|
|||
pipeline {
|
||||
agent any
|
||||
|
||||
stages {
|
||||
stage('Download and Execute Shell Script') {
|
||||
steps {
|
||||
withAWS(region: 'ap-south-1', credentials: 'iamuser1') {
|
||||
script {
|
||||
// Download the shell script from S3
|
||||
sh 'aws s3 cp s3://myjenkinsbucket001/checkout/checkout.sh $WORKSPACE/script.sh'
|
||||
}
|
||||
}
|
||||
|
||||
script {
|
||||
// Make the downloaded script executable
|
||||
sh 'chmod +x $WORKSPACE/script.sh'
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
stage('Execute Downloaded Shell Script') {
|
||||
steps {
|
||||
// Execute the downloaded shell script
|
||||
sh '$WORKSPACE/script.sh'
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
Loading…
Reference in a new issue