- SC1000 $ is not used specially and should therefore be escaped.
- SC1001 This
\owill be a regular 'o' in this context. - SC1003 Want to escape a single quote? echo 'This is how it'\''s done'.
- SC1004 This backslash+linefeed is literal. Break outside single quotes if you just want to break the line.
- SC1007 Remove space after = if trying to assign a value (or for empty string, use var='' ... ).
- SC1008 This shebang was unrecognized. ShellCheck only supports sh/bash/dash/ksh. Add a 'shell' directive to specify.
- SC1009 The mentioned parser error was in ...
- SC1010 Use semicolo
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # wsl Help | |
| wsl --help | |
| # Check WSL status | |
| wsl --status | |
| # Check WSL version | |
| wsl --version | |
| # Update WSL |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| yay -S --asdeps $(pacman -Qqo '/usr/lib/perl5/5.30') |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| FROM root as root | |
| FROM geant4 as geant4 | |
| FROM get-texat as get-texat | |
| FROM ubuntu:19.10 | |
| SHELL ["/bin/bash", "-c"] | |
| RUN apt-get update | |
| RUN apt-get install -y --no-install-recommends git wget build-essential cmake binutils libx11-dev libxft-dev libxext-dev libpng-dev libjpeg-dev libxpm-dev libgsl-dev python3.8-dev libxerces-c-dev libxerces-c-dev libxmu-dev libexpat1-dev freeglut3 freeglut3-dev mesa-utils |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| FROM ubuntu:19.10 | |
| SHELL ["/bin/bash", "-c"] | |
| RUN mkdir /usr/src/geant4 | |
| WORKDIR /usr/src/geant4 | |
| RUN apt-get update | |
| RUN apt-get install -y --no-install-recommends aria2 wget build-essential binutils cmake libxerces-c-dev libxmu-dev libexpat1-dev freeglut3 freeglut3-dev mesa-utils | |
| ## Download ROOT |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| FROM ubuntu:19.10 | |
| SHELL ["/bin/bash", "-c"] | |
| RUN mkdir /usr/src/root | |
| WORKDIR /usr/src/root | |
| RUN apt-get update | |
| RUN apt-get install -y aria2 git wget build-essential binutils libx11-dev libxft-dev libxext-dev libpng-dev libjpeg-dev libxpm-dev cmake libgsl-dev python3.8-dev | |
| ## Download ROOT |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # For a more realistic simulation see https://stackoverflow.com/questions/50165079/mocking-jenkins-pipeline-steps | |
| def readFile( Map args ) { | |
| def file = args.file | |
| def encoding = args.file ?: 'UTF-8' | |
| return new File( file ).text | |
| } | |
| def sh( String command ) { |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| stages { | |
| stage("Test changeset") { | |
| when { | |
| changeset "**/Jenkinsfile" | |
| } | |
| steps { | |
| echo("changeset works") | |
| } | |
| } |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # MASTER PRE-REQS | |
| # Install docker, docker-compose | |
| # mkdir -p ~/{jenkins,jnlp_slave} | |
| # master | |
| # docker run -d \ | |
| # -u root \ | |
| # --name=jenkins \ | |
| # -e TZ=America/Denver \ |
NewerOlder