Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Issue #KN-1089 fix: jenkins build fixes for taxonomy and search #1073

Merged
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 1 addition & 2 deletions build/search-service/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
FROM --platform=linux/x86_64 eclipse-temurin:11.0.20.1_1-jdk-focal
RUN apt-get update \
&& apt-get install unzip \
&& apt-get install curl \
&& apt-get install -y unzip curl \
&& adduser --uid 1001 --home /home/sunbird/ --disabled-login sunbird \
&& mkdir -p /home/sunbird \
&& chown -R sunbird:sunbird /home/sunbird
Expand Down
5 changes: 4 additions & 1 deletion build/search-service/Jenkinsfile
Original file line number Diff line number Diff line change
Expand Up @@ -21,11 +21,14 @@ node('build-slave') {
commit_hash = sh(script: 'git rev-parse --short HEAD', returnStdout: true).trim()
build_tag = sh(script: "echo " + params.github_release_tag.split('/')[-1] + "_" + commit_hash + "_" + env.BUILD_NUMBER, returnStdout: true).trim()
echo "build_tag: " + build_tag
cloud_store_group_id = params.CLOUD_STORE_GROUP_ID
cloud_store_artifact_id = params.CLOUD_STORE_ARTIFACT_ID
cloud_store_version = params.CLOUD_STORE_VERSION

stage('Build') {
env.NODE_ENV = "build"
print "Environment will be : ${env.NODE_ENV}"
sh 'mvn clean install -DskipTests=true '
sh 'mvn clean install -DskipTests=true -DCLOUD_STORE_GROUP_ID=' + cloud_store_group_id + ' -DCLOUD_STORE_ARTIFACT_ID=' + cloud_store_artifact_id + ' -DCLOUD_STORE_VERSION=' + cloud_store_version

}

Expand Down
3 changes: 1 addition & 2 deletions build/taxonomy-service/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
FROM --platform=linux/x86_64 eclipse-temurin:11.0.20.1_1-jdk-focal
RUN apt-get update \
&& apt-get install unzip \
&& apt-get install curl \
&& apt-get install -y unzip curl \
&& adduser --uid 1001 --home /home/sunbird/ --disabled-login sunbird \
&& mkdir -p /home/sunbird \
&& chown -R sunbird:sunbird /home/sunbird
Expand Down
Loading