Skip to content

Using artifactory with Renovate does not provide json metadata #7971

Discussion options

You must be logged in to vote

After lots of trial and error, I was able to get this working! Thanks for the help.

Jenkinsfile:

pipeline {
  agent any
  environment {
    PATH="/home/user/.yarn/bin:/usr/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:$PATH"
    RENOVATE_CONFIG_FILE="renovate-config.js"
    RENOVATE_TOKEN=credentials("XXX")
    GITHUB_COM_TOKEN=credentials("XXX")
    ARTIFACTORY = credentials("artifactory")
  }
  triggers {
    cron('@hourly')
  }
  stages {
    stage('Renovate') {
      agent {
        dockerfile { }
      }

      steps {
        sh "renovate"
      }
    }
  }
}

renovate-config.js:

module.exports = {
  packageRules: [
    {
      packageNames: ['your', 'artifactory', '…

Replies: 2 comments 2 replies

Comment options

You must be logged in to vote
2 replies
@bavedarnow
Comment options

@viceice
Comment options

Comment options

You must be logged in to vote
0 replies
Answer selected by viceice
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
3 participants