Skip to content

Commit

Permalink
Issue Sunbird-coKreat#1 fix : Update Jenkinsfiles and Dockerfiles
Browse files Browse the repository at this point in the history
  • Loading branch information
Manojvv committed Sep 8, 2017
1 parent c69b71a commit 16ca70e
Show file tree
Hide file tree
Showing 6 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion Dockerfile.Build
Original file line number Diff line number Diff line change
Expand Up @@ -24,4 +24,4 @@ RUN bower cache clean
RUN bower install /opt/player/bower.json --force
RUN gulp
WORKDIR /opt/player
CMD ["zip", "-r", "player-dist.zip", "dist"]
CMD ["zip", "-r", "player-dist.zip", "dist"]
2 changes: 1 addition & 1 deletion Jenkinsfile
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ node('build-slave') {
echo 'Push to Repo'
dir('.') {
sh 'ARTIFACT_LABEL=bronze ./dockerPushToRepo.sh'
sh './src/metadata.sh > metadata.json'
sh './src/app/metadata.sh > metadata.json'
sh 'cat metadata.json'
archive includes: "metadata.json"
}
Expand Down
2 changes: 1 addition & 1 deletion build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
e () {
echo $( echo ${1} | jq ".${2}" | sed 's/\"//g')
}
m=$(./player/app/metadata.sh)
m=$(./src/app/metadata.sh)

org=$(e "${m}" "org")
name=$(e "${m}" "name")
Expand Down
2 changes: 1 addition & 1 deletion deploy.sh
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
e () {
echo $( echo ${1} | jq ".${2}" | sed 's/\"//g')
}
m=$(./src/metadata.sh)
m=$(./src/app/metadata.sh)

org=$(e "${m}" "org")
name=$(e "${m}" "name")
Expand Down
2 changes: 1 addition & 1 deletion dockerPushToRepo.sh
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
e () {
echo $( echo ${1} | jq ".${2}" | sed 's/\"//g')
}
m=$(./app/metadata.sh)
m=$(./src/app/metadata.sh)

org=$(e "${m}" "org")
hubuser=$(e "${m}" "hubuser")
Expand Down
2 changes: 1 addition & 1 deletion src/package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "player",
"author": "sunbird",
"version": "0.0.6",
"version": "0.0.7",
"private": true,
"devDependencies": {
"better-console": "^1.0.0",
Expand Down

0 comments on commit 16ca70e

Please sign in to comment.