Добавить
Уведомления

Jenkins CI/CD для Go

Jenkins CI/CD для Go # nano /etc/apt/sources.list.d/jenkins.list deb https://pkg.jenkins.io/debian-stable binary/ # wget -q -O - https://pkg.jenkins.io/debian-stable/jenkins.io.key | sudo apt-key add - # apt update # apt install jenkins -y ----------------------------------------------------------------------------- pipeline { agent any tools { go 'go' } environment { GO111MODULE = 'on' } stages { stage('Compile') { steps { sh 'go build /opt/test.go' } } } }

Иконка канала Funny System Administration
68 подписчиков
12+
1 просмотр
3 года назад
12+
1 просмотр
3 года назад

Jenkins CI/CD для Go # nano /etc/apt/sources.list.d/jenkins.list deb https://pkg.jenkins.io/debian-stable binary/ # wget -q -O - https://pkg.jenkins.io/debian-stable/jenkins.io.key | sudo apt-key add - # apt update # apt install jenkins -y ----------------------------------------------------------------------------- pipeline { agent any tools { go 'go' } environment { GO111MODULE = 'on' } stages { stage('Compile') { steps { sh 'go build /opt/test.go' } } } }

, чтобы оставлять комментарии