Delete Jenkinsfile

This commit is contained in:
saisrinisrinivas 2023-07-05 10:21:48 +05:30 committed by GitHub
parent b8103bd78b
commit 63f1f2dd31
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

28
Jenkinsfile vendored
View file

@ -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'
}
}
}
}