Compare commits

..

7 Commits

Author SHA1 Message Date
vincent
257bc88a87 make variable 2023-02-28 21:45:16 +08:00
vincent
04552240e3 try to fix 2023-02-28 21:35:07 +08:00
vincent
2aff8a1ad1 test 2023-02-28 21:24:51 +08:00
vincent
f75f4afb60 fix 2023-02-28 21:23:25 +08:00
vincent
f979964d04 fix 2023-02-28 21:11:50 +08:00
vincent
3507c419b4 fix 2023-02-28 21:00:19 +08:00
vincent
8d55e83239 fix 2023-02-28 20:50:44 +08:00

View File

@@ -1,6 +1,6 @@
imagePrefix = 'scrolltech'
credentialDocker = 'dockerhub'
TAGNAME = ''
pipeline {
agent any
options {
@@ -41,10 +41,13 @@ pipeline {
if (TAGNAME == ""){
return;
}
sh "docker login --username=${dockerUser} --password=${dockerPassword}"
sh "docker manifest inspect scrolltech/bridge:${TAGNAME} > /dev/null"
sh "echo $?"
brigeImageName = "scrolltech/bridge:${TAGNAME}"
sh'''
docker login --username=${dockerUser} --password=${dockerPassword}
echo "${brigeImageName}"
docker manifest inspect "${brigeImageName}" > /dev/null
echo $?
'''
// sh "docker login --username=${dockerUser} --password=${dockerPassword}"
// sh "make -C bridge docker"
// sh "make -C coordinator docker"