Skip to content

Commit 63ca05f

Browse files
committed
Try to install juliaup in jenkins instead of docker
1 parent f7bca6a commit 63ca05f

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

jenkins/Dockerfile

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -10,8 +10,4 @@ RUN apt-get update && \
1010
&& \
1111
apt-get clean && \
1212
rm -rf /var/lib/apt/lists/*
13-
14-
ARG JULIA=1.6
15-
RUN curl -fsSL https://install.julialang.org | sh -s -- --path /usr/local/.juliaup --yes
16-
RUN /usr/local/.juliaup/bin/juliaup add ${JULIA}
17-
RUN /usr/local/.juliaup/bin/juliaup default ${JULIA}
13+

jenkins/Jenkinsfile

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,7 @@ pipeline {
2727
}
2828
steps {
2929
sh '''
30+
curl -fsSL https://install.julialang.org | sh -s -- --path /usr/local/.juliaup --yes;
3031
/usr/local/.juliaup/bin/juliaup add lts;
3132
/usr/local/.juliaup/bin/juliaup default lts;
3233
'''
@@ -55,6 +56,7 @@ pipeline {
5556
}
5657
steps {
5758
sh '''
59+
curl -fsSL https://install.julialang.org | sh -s -- --path /usr/local/.juliaup --yes;
5860
/usr/local/.juliaup/bin/juliaup add 1;
5961
/usr/local/.juliaup/bin/juliaup default 1;
6062
'''
@@ -83,6 +85,7 @@ pipeline {
8385
}
8486
steps {
8587
sh '''
88+
curl -fsSL https://install.julialang.org | sh -s -- --path /usr/local/.juliaup --yes;
8689
/usr/local/.juliaup/bin/juliaup add lts;
8790
/usr/local/.juliaup/bin/juliaup default lts;
8891
'''
@@ -111,6 +114,7 @@ pipeline {
111114
}
112115
steps {
113116
sh '''
117+
curl -fsSL https://install.julialang.org | sh -s -- --path /usr/local/.juliaup --yes;
114118
/usr/local/.juliaup/bin/juliaup add 1;
115119
/usr/local/.juliaup/bin/juliaup default 1;
116120
'''

0 commit comments

Comments
 (0)