Sha256: 24e2fb5ed9d1ce1ae6c0dd467f01222fd66f22b6d6c94e579f7432bdc1d2d524
Contents?: true
Size: 545 Bytes
Versions: 23
Compression:
Stored size: 545 Bytes
Contents
pipeline { agent any options { buildDiscarder logRotator(daysToKeepStr: '5', numToKeepStr: '10') } stages { stage('Ruby Gem Push') { environment { GEM_HOST_API_KEY = credentials('rubygems-apikey') } steps { sh ''' DOCKER_CMD="docker run --rm -v $PWD:/opt -w /opt -e GEM_HOST_API_KEY -e BUILD_NUMBER -u 999 ruby:3.0" $DOCKER_CMD gem build iapi-idlc-sdk-pfm.gemspec -o iapi-idlc-sdk-pfm.gem $DOCKER_CMD gem push iapi-idlc-sdk-pfm.gem ''' } } } }
Version data entries
23 entries across 23 versions & 1 rubygems