我在Docker上有一个正在运行的jboss / wildfly映像,我使用此命令运行它
docker run -p 8006:8006 -p 9990:9990 -it jboss/wildfly /opt/jboss/wildfly/bin/standalone.sh -b 0.0.0.0 -bmanagement 0.0.0.0
,我可以成功登录。 我需要从Jenkins Pipeline角度了解在此容器上部署应用程序的步骤 这是我的管道
pipeline{
agent any
stages{
// start of stage : build
stage('build'){
// start of running steps inside one stage
steps{
// invoke command to build with maven
bat 'mvn clean install'
}
}
// start of deploy state
stage('deploy') {
// define step to run
steps {
???????????????????????????????????????
}
}
}
}