Skip to content

Commit

Permalink
dummy push 2
Browse files Browse the repository at this point in the history
  • Loading branch information
ashishsingh101 committed Mar 9, 2024
1 parent ab153a4 commit 263aea7
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 7 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/trigger-jenkins.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ jobs:
steps:
-
name: Trigger Jenkins Job
uses: sbitio/trigger-jenkins-job@jenkins
uses: sbitio/trigger-jenkins-job@master
# with:
# JENKINS_USER: ${{ secrets.JENKINS_USER }}
# JENKINS_TOKEN: ${{ secrets.JENKINS_TOKEN }}
Expand Down
9 changes: 3 additions & 6 deletions Jenkinsfile
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,7 @@ def allowedBranches = ["main"]
def uploadedFiles = ""

pipeline {
agent {
label 'asset-store'
}
agent any
environment {
GIT_AUTHOR_NAME = "Jenkins User"
GIT_COMMITTER_NAME = "Jenkins User"
Expand All @@ -16,9 +14,8 @@ pipeline {
steps {
script {
echo "starting s3 push .........................."
def s3Path = "s3:::beckn-frontend-assets/beckn/passculture/user/images/dummy.png"
sh ("aws s3 push ${s3Path}")
// uploadedFiles += "\n${file}" #
def s3Path = "s3://beckn-frontend-assets/beckn/passculture/user/images/dummy.png"
sh ("aws s3 cp beckn/passculture/user/images/dummy2.png ${s3Path}")
}
}
}
Expand Down
File renamed without changes

0 comments on commit 263aea7

Please sign in to comment.