diff --git a/Jenkinsfile b/Jenkinsfile deleted file mode 100644 index 4bb974842..000000000 --- a/Jenkinsfile +++ /dev/null @@ -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' - } - } - } -}