Change position of flutter upgrade back and chown flutter dir
Some checks failed
andreas-personal/jenkins-with-docker/pipeline/head There was a failure building this commit
Some checks failed
andreas-personal/jenkins-with-docker/pipeline/head There was a failure building this commit
This commit is contained in:
parent
c17fc388d4
commit
27f6226722
11
Dockerfile
11
Dockerfile
@ -36,10 +36,13 @@ RUN git config --global --add safe.directory /usr/local/flutter
|
||||
|
||||
ENV PATH="/usr/local/flutter/bin:/usr/local/flutter/bin/cache/dart-sdk/bin:${PATH}"
|
||||
|
||||
RUN flutter doctor -v
|
||||
RUN flutter channel master
|
||||
RUN flutter upgrade
|
||||
RUN chown -R jenkins:jenkins /usr/local/flutter
|
||||
|
||||
# Install jenkins plugins
|
||||
USER jenkins
|
||||
RUN jenkins-plugin-cli --plugins "blueocean docker-workflow"
|
||||
RUN jenkins-plugin-cli --plugins "blueocean docker-workflow"
|
||||
|
||||
# Run flutter doctor and upgrade
|
||||
RUN flutter doctor -v
|
||||
RUN flutter channel master
|
||||
RUN flutter upgrade
|
||||
|
Loading…
x
Reference in New Issue
Block a user