Skip to content

Commit

Permalink
Mapping the out/ directory
Browse files Browse the repository at this point in the history
  • Loading branch information
marigostra committed Jun 15, 2024
1 parent a1bdf81 commit fd48054
Show file tree
Hide file tree
Showing 5 changed files with 10 additions and 3 deletions.
4 changes: 2 additions & 2 deletions Jenkinsfile
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ pipeline {

stage('prepare') {
steps {
sh 'rm -rf /out/* && mkdir -p /out/snapshot'
sh 'rm -rf /out/snapshot && mkdir -p /out/snapshot'
dir('base/sounds') {
sh './make'
sh 'cp *.wav ../../luwrain/src/main/resources/org/luwrain/core/sound/'
Expand All @@ -40,7 +40,7 @@ pipeline {
sh './lwr-snapshot /out/snapshot'
}
dir ('out') {
sh 'date > timestamp.txt'
sh 'date > /out/snapshot/timestamp.txt'
}
}
}
Expand Down
2 changes: 1 addition & 1 deletion base
Submodule base updated 1 files
+1 −0 sounds/make
1 change: 1 addition & 0 deletions jenkins-image/.gitignore
Original file line number Diff line number Diff line change
@@ -1,2 +1,3 @@
luwrain-src
out
*.jar
1 change: 1 addition & 0 deletions jenkins-image/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@ ENV MAVEN_HOME /usr/share/maven
ENV MAVEN_CONFIG "$USER_HOME_DIR/.m2"

WORKDIR /data
RUN mkdir /out

WORKDIR /app

Expand Down
5 changes: 5 additions & 0 deletions jenkins-image/docker-compose.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,11 @@ services:
- type: bind
source: ./luwrain-src
target: /var/jenkins_home/workspace/testjobs/
- type: bind
source: ./out
target: /out/


volumes:
src:

0 comments on commit fd48054

Please sign in to comment.