Commit 6228b4bc by wutong

elastic-jobCD/CI

parent adb8a7ed
...@@ -24,8 +24,10 @@ RUN mvn install -DskipTests -f /elastic-job-lite/pom.xml \ ...@@ -24,8 +24,10 @@ RUN mvn install -DskipTests -f /elastic-job-lite/pom.xml \
# 删除console压缩包 # 删除console压缩包
&& rm -rf /elastic-job-lite-console-${VERSION}.tar.gz && rm -rf /elastic-job-lite-console-${VERSION}.tar.gz
ADD entrypoint.sh entrypoint.sh
ADD /elastic-job-lite/entrypoint.sh entrypoint.sh
RUN chmod a+x /entrypoint.sh RUN chmod a+x /entrypoint.sh
ENTRYPOINT /entrypoint.sh ENTRYPOINT /entrypoint.sh
...@@ -14,7 +14,8 @@ ...@@ -14,7 +14,8 @@
<artifactId>elastic-job-lite-core</artifactId> <artifactId>elastic-job-lite-core</artifactId>
<version>${project.parent.version}</version> <version>${project.parent.version}</version>
</dependency> </dependency>
<dependency> <dependency>
<groupId>org.springframework</groupId> <groupId>org.springframework</groupId>
<artifactId>spring-context</artifactId> <artifactId>spring-context</artifactId>
......
...@@ -5,4 +5,5 @@ sed -i "s/root.password=root/root.password=${ROOT_PASSWORD}/g" elastic-job-lite- ...@@ -5,4 +5,5 @@ sed -i "s/root.password=root/root.password=${ROOT_PASSWORD}/g" elastic-job-lite-
sed -i "s/guest.username=guest/guest.username=${GUEST_USERNAME}/g" elastic-job-lite-console-${VERSION}/conf/auth.properties sed -i "s/guest.username=guest/guest.username=${GUEST_USERNAME}/g" elastic-job-lite-console-${VERSION}/conf/auth.properties
sed -i "s/guest.password=guest/guest.password=${GUEST_PASSWORD}/g" elastic-job-lite-console-${VERSION}/conf/auth.properties sed -i "s/guest.password=guest/guest.password=${GUEST_PASSWORD}/g" elastic-job-lite-console-${VERSION}/conf/auth.properties
elastic-job-lite-console-${VERSION}/bin/start.sh
\ No newline at end of file elastic-job-lite-console-${VERSION}/bin/start.sh
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment