This file contains 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
import static org.junit.Assert.*; | |
import org.junit.Test; | |
public class FizzBuzz01Test { | |
@Test | |
public void test() { | |
fail("Not yet implemented"); | |
} |
This file contains 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
public class FizzBuzz01 { | |
} |
This file contains 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
C:\Users\Chairat\jenkinsdemo>docker rm jenkinsdata | |
jenkinsdata |
This file contains 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
C:\Users\Chairat\jenkinsdemo>docker run -d --volumes-from jenkinsdata --name jenkins2 -p 8081:8080 jenkins:1.651.3 | |
e278421128ace35288e36de382d3902a7d813eb417a0ad3497d6e856e604054b |
This file contains 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
C:\Users\Chairat\jenkinsdemo>docker run --rm --volumes-from jenkinsdata -v C:\Users\Chairat\jenkinsdemo:/backup ubuntu bash -c "cd /var && tar xvf /backup/jenkins_home.tar --strip 1" |
This file contains 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
CONTAINER ID IMAGE COMMAND CREATED STATUS PORTS NAMES | |
d6f6b6e82592 ubuntu "/bin/bash" 7 days ago Exited (0) 3 seconds ago jenkinsdata | |
ad139a52c20e jenkins:1.651.3 "/bin/tini -- /usr/lo" 9 days ago Exited (143) 40 minutes ago jenkinsdemo | |
612835a9bf7f mariadb:10.1.17 "docker-entrypoint.sh" 9 days ago Exited (0) 40 minutes ago mariadb |
This file contains 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
C:\Users\Chairat\jenkinsdemo>docker run -v /var/jenkins_home --name jenkinsdata ubuntu /bin/bash |
This file contains 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
C:\Users\Chairat\jenkinsdemo>docker run --rm --volumes-from jenkinsdemo -v C:\Users\Chairat\jenkinsdemo:/backup ubuntu tar cvf /backup/jenkins_home.tar /var/jenkins_home |
This file contains 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
C:\Users\Chairat\Git\demo-git>git status | |
On branch master | |
Your branch is up-to-date with 'origin/master'. | |
nothing to commit, working tree clean |
This file contains 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
C:\Users\Chairat\Git\demo-git>git pull | |
Updating 43ac65a..d8ba137 | |
Fast-forward | |
File 1.txt | 2 +- | |
File 2.txt | 4 ++-- | |
2 files changed, 3 insertions(+), 3 deletions(-) |